hive: fixes mapper.jq related to DAO fork
hive always set 'HIVE_FORK_DAO_VOTE' to '1'. set 'daoForkSupport' to 'true' if only 'HIVE_FORK_DAO_BLOCK' is set by hive, not depends only on 'HIVE_FORK_DAO_VOTE'. This is because 'nimbus-eth1' internal is different compared to 'geth'.
This commit is contained in:
parent
b02095a45a
commit
cc1034aecf
|
@ -54,7 +54,7 @@ def to_bool:
|
||||||
"chainId": env.HIVE_CHAIN_ID|to_int,
|
"chainId": env.HIVE_CHAIN_ID|to_int,
|
||||||
"homesteadBlock": env.HIVE_FORK_HOMESTEAD|to_int,
|
"homesteadBlock": env.HIVE_FORK_HOMESTEAD|to_int,
|
||||||
"daoForkBlock": env.HIVE_FORK_DAO_BLOCK|to_int,
|
"daoForkBlock": env.HIVE_FORK_DAO_BLOCK|to_int,
|
||||||
"daoForkSupport": env.HIVE_FORK_DAO_VOTE|to_bool,
|
"daoForkSupport": (if env.HIVE_FORK_DAO_BLOCK then env.HIVE_FORK_DAO_VOTE|to_bool else null end),
|
||||||
"eip150Block": env.HIVE_FORK_TANGERINE|to_int,
|
"eip150Block": env.HIVE_FORK_TANGERINE|to_int,
|
||||||
"eip155Block": env.HIVE_FORK_SPURIOUS|to_int,
|
"eip155Block": env.HIVE_FORK_SPURIOUS|to_int,
|
||||||
"eip158Block": env.HIVE_FORK_SPURIOUS|to_int,
|
"eip158Block": env.HIVE_FORK_SPURIOUS|to_int,
|
||||||
|
|
Loading…
Reference in New Issue