Skip to content

Commit

Permalink
fix: add remaining forks to mapper and rpc-compat suite (#10)
Browse files Browse the repository at this point in the history
* fix: add remaining forks to mapper and rpc-compat suite

* go fmt
  • Loading branch information
Rjected committed Apr 3, 2023
1 parent 636596f commit d369fee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions clients/reth/mapper.jq
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ def to_bool:
"muirGlacierBlock": env.HIVE_FORK_MUIR_GLACIER|to_int,
"berlinBlock": env.HIVE_FORK_BERLIN|to_int,
"londonBlock": env.HIVE_FORK_LONDON|to_int,
"arrowGlacierBlock": env.HIVE_FORK_ARROW_GLACIER|to_int,
"grayGlacierBlock": env.HIVE_FORK_GRAY_GLACIER|to_int,
"terminalTotalDifficulty": env.HIVE_TERMINAL_TOTAL_DIFFICULTY|to_int,
"terminalTotalDifficultyPassed": env.HIVE_TERMINAL_TOTAL_DIFFICULTY_PASSED|to_bool,
"shanghaiTime": env.HIVE_SHANGHAI_TIMESTAMP|to_int,
}|remove_empty
}
4 changes: 2 additions & 2 deletions clients/reth/reth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ set +ex
echo "Loading initial blockchain..."
if [ -f /chain.rlp ]; then
echo "Loading initial blockchain..."
$reth import $FLAGS /chain.rlp
RUST_LOG=info $reth import $FLAGS /chain.rlp
else
echo "Warning: chain.rlp not found."
fi
Expand Down Expand Up @@ -152,4 +152,4 @@ FLAGS="$FLAGS --nat none"

# Launch the main client.
echo "Running reth with flags: $FLAGS"
$reth node $FLAGS
RUST_LOG=info $reth node $FLAGS

0 comments on commit d369fee

Please sign in to comment.