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

Changed L1 db index from u8 to String #2098

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PoulavBhowmick03
Copy link

Motivation

Changing the L1 DB index from u8 to String, in crates/storage/utils.rs

Description

Enums ChainDataIndex and SnapStateIndex are used as a set of keys to store general information in the database. Currently, those indexes are implemented as u8, but we want them to be strings instead.

Closes #2078

@PoulavBhowmick03 PoulavBhowmick03 requested a review from a team as a code owner February 27, 2025 06:25
@PoulavBhowmick03
Copy link
Author

@Oppen @fkrause98 Can you PTAL

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.

L1: change the database indexes to be strings instead of u8
1 participant