-
Notifications
You must be signed in to change notification settings - Fork 91
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
chore(sequencer): remove references to outdated ABCI methods #1826
base: main
Are you sure you want to change the base?
Conversation
cdda4c7
to
1662c72
Compare
…_end_block
8b10b28
to
0629d4f
Compare
tbh, I kind of liked the function names |
This PR is stale because it has been open 45 days with no activity. Remove stale label or this PR will be |
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.
looks good now, only a couple smaller comments!
Summary
Renamed
begin_block
andend_block
and replaced their arguments with our own types.Background
The ABCI methods
begin_block
andend_block
, as well as their associated types, were removed as of v0.38. While it is useful for us to have start and end of block hooks for our components to make changes to the state, we should stop using outdated types.Changes
BeginBlock
with proprietary typePrepareStateInfo
.EndBlock
as an argument, since it was not needed.fees
component.Testing
Passing all tests.
Changelogs
No updates needed, I don't think.
Related Issues
closes #1809