-
Notifications
You must be signed in to change notification settings - Fork 202
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
add new blockchain hooks #6319
add new blockchain hooks #6319
Conversation
can you please add in the PR description links with the other PRS. |
@@ -838,6 +838,13 @@ func (bh *BlockChainHookImpl) updateEpochStartHeader(hdr data.HeaderHandler) err | |||
return nil | |||
} | |||
|
|||
func (bh *BlockChainHookImpl) SetEpochStartHeader(header data.HeaderHandler) { |
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.
missing comment
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.
added comment
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.
should check the start in epoch scenario and VM queries with blocks from latest two epochs
Reasoning behind the pull request
New blockchain hooks added:
Proposed changes
mx-chain-vm-go
mx-chain-vm-common-go
and related modsTesting procedure
Pre-requisites
Related PRs:
LegacyBlockchainHook
mx-chain-vm-v1_2-go mx-chain-vm-v1_3-go mx-chain-vm-v1_4-goBased on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?