mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-03 15:55:47 +00:00
update mapper.jq in hive_integration/nimbus
this changes is required due to recent #654. custom genesis and chain config parser are fixed and the genesis fields are grouped into "genesis" field, similar with chain config fields, they are grouped in "config" field.
This commit is contained in:
parent
f2491e6307
commit
911bc0b1c3
@ -38,7 +38,18 @@ def to_bool:
|
||||
;
|
||||
|
||||
# Replace config in input.
|
||||
. + {
|
||||
{
|
||||
"genesis": {
|
||||
"coinbase" : .coinbase,
|
||||
"difficulty" : .difficulty,
|
||||
"extraData" : .extraData,
|
||||
"gasLimit" : .gasLimit,
|
||||
"mixHash" : .mixHash,
|
||||
"nonce" : .nonce,
|
||||
"parentHash" : .parentHash,
|
||||
"timestamp" : .timestamp,
|
||||
"alloc" : .alloc
|
||||
}|remove_empty,
|
||||
"config": {
|
||||
"chainId": env.HIVE_CHAIN_ID|to_int,
|
||||
"homesteadBlock": env.HIVE_FORK_HOMESTEAD|to_int,
|
||||
|
Loading…
x
Reference in New Issue
Block a user