-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add new fork block and precompile contract for BEP294 and BEP299 #2047
Conversation
* feat: add `generate-proof` to geth cmd * chore: rename variable
# Conflicts: # cmd/geth/blsaccountcmd.go # params/config.go
chore: merge with develop branch
… `verifyDoubleSignEvidence` (#2056)
# Conflicts: # params/config.go
chore: merge with develop branch
# Conflicts: # core/systemcontracts/upgrade.go # params/config.go
chore: merge with develop branch
* fix: adjusted the timing of `UpgradeBuildInSystemContract` * fix review comments * fix review comments * fix review comments * fix review comments * add `UpgradeBuildInSystemContract` to `traceBlock` * add `UpgradeBuildInSystemContract` to `traceBlock` * add `UpgradeBuildInSystemContract` to all trace functions
for idx, tx := range block.Transactions() { | ||
// upgrade build-in system contract before system txs if Feynman is enabled | ||
if beforeSystemTx { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok to move this posa, ok := eth.Engine().(consensus.PoSA)
before the loop?
* fix: adjust the timing of initializing Feynman system contracts * fix test case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check the latest comments
Ottimo. |
Description
This pr is to support
Rationale
See
4. Motivation
in BEP-294, BEP-299,Changes
Notable changes:
verifyDoubleSignEvidence
andsecp256k1SignatureRecover