Skip to content

params: return AmsterdamTime from ChainConfig.Timestamp#35293

Open
cuiweixie wants to merge 1 commit into
ethereum:masterfrom
cuiweixie:params-config-amsterdam-timestamp
Open

params: return AmsterdamTime from ChainConfig.Timestamp#35293
cuiweixie wants to merge 1 commit into
ethereum:masterfrom
cuiweixie:params-config-amsterdam-timestamp

Conversation

@cuiweixie

Copy link
Copy Markdown
Contributor

Summary

  • Add the missing forks.Amsterdam case to ChainConfig.Timestamp.
  • Callers can now look up the Amsterdam fork activation time.

Test plan

  • go test -short ./params/

The Amsterdam fork was missing from the Timestamp switch, so callers
could not look up its activation time via forks.Amsterdam.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant