Skip to content

Commit

Permalink
clients/erigon: small fix to mapper jq (ethereum#962)
Browse files Browse the repository at this point in the history
Fix: true instead of 1
  • Loading branch information
somnathb1 authored and Eikix committed Mar 1, 2024
1 parent 1fd74a7 commit b6da011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/erigon/mapper.jq
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def to_bool:
"grayGlacierBlock": env.HIVE_FORK_GRAY_GLACIER|to_int,
"mergeNetsplitBlock": env.HIVE_MERGE_BLOCK_ID|to_int,
"terminalTotalDifficulty": env.HIVE_TERMINAL_TOTAL_DIFFICULTY|to_int,
"terminalTotalDifficultyPassed": (if env.HIVE_TERMINAL_TOTAL_DIFFICULTY_PASSED == null then 1 else env.HIVE_TERMINAL_TOTAL_DIFFICULTY_PASSED|to_bool end),
"terminalTotalDifficultyPassed": (if env.HIVE_TERMINAL_TOTAL_DIFFICULTY_PASSED == null then true else env.HIVE_TERMINAL_TOTAL_DIFFICULTY_PASSED|to_bool end),
"shanghaiTime": env.HIVE_SHANGHAI_TIMESTAMP|to_int,
"cancunTime": env.HIVE_CANCUN_TIMESTAMP|to_int,
}|remove_empty
Expand Down

0 comments on commit b6da011

Please sign in to comment.