Skip to content

fix(sequencer): update app state to latest committed before starting round#673

Merged
noot merged 3 commits intomainfrom
noot/sequencer-state
Jan 8, 2024
Merged

fix(sequencer): update app state to latest committed before starting round#673
noot merged 3 commits intomainfrom
noot/sequencer-state

Conversation

@noot
Copy link
Contributor

@noot noot commented Jan 3, 2024

Summary

update's the sequencer app state to latest committed before starting a round. if the previous round's data was committed, this effectively does nothing.

Background

this is a bug; since we execute txs during prepare/process proposal, this updates the app StateDelta, which was not reset in case of the proposal failing to be committed. this results in a bad state.

Changes

  • update app state to latest committed before starting round during prepare/process proposal

Testing

should be tested on devnet

@github-actions github-actions bot added the sequencer pertaining to the astria-sequencer crate label Jan 3, 2024
@noot noot merged commit bdd7ee4 into main Jan 8, 2024
@noot noot deleted the noot/sequencer-state branch January 8, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sequencer pertaining to the astria-sequencer crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants