|
@@ -84,6 +84,8 @@ class parity_daemon(openethereum_daemon):
|
|
|
exec_fn = 'parity'
|
|
|
|
|
|
class geth_daemon(ethereum_daemon):
|
|
|
+ # bug in v1.10.17 requires --dev to be omitted to initialize blockchain (devnet_init_bug)
|
|
|
+ # daemon_data = _dd('Geth', 1010017, '1.10.17')
|
|
|
daemon_data = _dd('Geth', 1010014, '1.10.14')
|
|
|
version_pat = r'Geth/v(\d+)\.(\d+)\.(\d+)'
|
|
|
exec_fn = 'geth'
|
|
@@ -93,6 +95,7 @@ class geth_daemon(ethereum_daemon):
|
|
|
'linux': [g.home_dir,'.ethereum','geth'],
|
|
|
'win': [os.getenv('LOCALAPPDATA'),'Geth'] # FIXME
|
|
|
}
|
|
|
+ avail_opts = ('no_daemonize','online','devnet_init_bug')
|
|
|
|
|
|
def init_subclass(self):
|
|
|
self.coind_args = list_gen(
|
|
@@ -104,7 +107,7 @@ class geth_daemon(ethereum_daemon):
|
|
|
['--maxpeers=0', not self.opt.online],
|
|
|
[f'--datadir={self.datadir}', self.non_dfl_datadir],
|
|
|
['--goerli', self.network=='testnet'],
|
|
|
- ['--dev', self.network=='regtest'],
|
|
|
+ ['--dev', self.network=='regtest' and not self.opt.devnet_init_bug],
|
|
|
)
|
|
|
|
|
|
# https://github.com/ledgerwatch/erigon
|