Browse Source

support Geth v1.16.3

The MMGen Project 2 months ago
parent
commit
e6851fbbdf
2 changed files with 3 additions and 3 deletions
  1. 2 2
      mmgen/proto/eth/daemon.py
  2. 1 1
      test/cmdtest_d/ethdev.py

+ 2 - 2
mmgen/proto/eth/daemon.py

@@ -93,11 +93,11 @@ class parity_daemon(openethereum_daemon):
 	exec_fn = 'parity'
 
 class geth_daemon(ethereum_daemon):
-	# upgrade to 1.14.0/1.14.6 fails:
+	# v1.14.0 -> ? (v1.15.11 and later OK)
 	#   mempool deadlock in dev mode: "transaction indexing is in progress"
 	#   https://github.com/ethereum/go-ethereum/issues/29475
 	#   offending commit (via git bisect): 0a2f33946b95989e8ce36e72a88138adceab6a23
-	daemon_data = _dd('Geth', 1013015, '1.13.15')
+	daemon_data = _dd('Geth', 1016003, '1.16.3')
 	version_pat = r'Geth/v(\d+)\.(\d+)\.(\d+)'
 	exec_fn = 'geth'
 	use_pidfile = False

+ 1 - 1
test/cmdtest_d/ethdev.py

@@ -850,7 +850,7 @@ class CmdTestEthdev(CmdTestEthdevMethods, CmdTestBase, CmdTestShared):
 				'timestamp': '0x0',
 				'extraData': '0x',
 				'gasLimit': '0xaf79e0',
-				'difficulty': '0x1',
+				'difficulty': '0x0',
 				'mixHash': '0x0000000000000000000000000000000000000000000000000000000000000000',
 				'coinbase': '0x0000000000000000000000000000000000000000',
 				'number': '0x0',