Skip to content
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

[Storage] Save sequencer last_order to store #763

Closed
jolestar opened this issue Sep 7, 2023 · 1 comment
Closed

[Storage] Save sequencer last_order to store #763

jolestar opened this issue Sep 7, 2023 · 1 comment
Assignees
Labels
skill::rust Need the rust language skill to complete the issue
Milestone

Comments

@jolestar
Copy link
Contributor

jolestar commented Sep 7, 2023

Save the sequencer last_order to store and avoid lost data when rebooting the server.

pub struct SequencerActor {
last_order: u128,
sequencer_key: RoochKeyPair,
rooch_store: RoochStore,
}

Or directly implement the tx order via accumulator. #764

@baichuan3
Copy link
Collaborator

completed via #796

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skill::rust Need the rust language skill to complete the issue
Projects
Status: Done
Development

No branches or pull requests

2 participants