Skip to content

Commit

Permalink
update help description and fork table
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalpharush committed Jan 19, 2022
1 parent fa76024 commit cae3e75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyevmasm/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def main():
"--fork",
default=DEFAULT_FORK,
type=str,
help="Fork, default: byzantium. "
"Possible: frontier, homestead, tangerine_whistle, spurious_dragon, byzantium, constantinople, serenity. "
help="Fork, default: london. "
"Possible: frontier, homestead, tangerine_whistle, spurious_dragon, byzantium, constantinople, istanbul, london, serenity. "
"Also an unsigned block number is accepted to select the fork.",
)

Expand Down
5 changes: 3 additions & 2 deletions pyevmasm/evmasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1041,8 +1041,9 @@ def block_to_fork(block_number):
4370000: "byzantium",
# 7280000: "constantinople", # Same Block as petersburg, commented to avoid conflicts
7280000: "petersburg",
9999999: "serenity", # to be replaced after Serenity launch
12965000: "london"
9069000: "istanbul",
12965000: "london",
99999999: "serenity" # to be replaced after Serenity launch
}
fork_names = list(forks_by_block.values())
fork_blocks = list(forks_by_block.keys())
Expand Down

0 comments on commit cae3e75

Please sign in to comment.