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

Store state in TinyCash rather than rely on Zebra State Service #20

Merged
merged 11 commits into from
Apr 10, 2024

Conversation

willemolding
Copy link
Owner

@willemolding willemolding commented Apr 10, 2024

Part of making the state transition constant sized means moving away from using the Zebra rocksdb as the main source of state. This worked well for the hackathon as it needed minimal protocol changes but for a proper rollup state transition we don't want to use Rocksdb.

This PR moves the minimal required state into the TinyCash struct. Turns out the state needed can actually be very small since there are no re-orgs or forks to worry about.

Closes #12

@willemolding willemolding merged commit dcbdb45 into main Apr 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Milestone 1 - Improved Node Implementation
1 participant