Skip to content

Commit

Permalink
refactor(rooch-store): rename DA block cursor constant (#2797)
Browse files Browse the repository at this point in the history
Renamed DA_BLOCK_CURSOR_COLUMN_FAMILY_NAME for clarity and consistency within the codebase. This change should make the column family names more intuitive for future maintenance.
  • Loading branch information
popcnt1 authored Oct 21, 2024
1 parent 5867565 commit b3870af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rooch-store/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub const TX_ACCUMULATOR_NODE_COLUMN_FAMILY_NAME: ColumnFamilyName = "transactio
pub const STATE_CHANGE_SET_COLUMN_FAMILY_NAME: ColumnFamilyName = "state_change_set";

pub const DA_BLOCK_SUBMIT_STATE_COLUMN_FAMILY_NAME: ColumnFamilyName = "da_block_submit_state";
pub const DA_BLOCK_CURSOR_COLUMN_FAMILY_NAME: ColumnFamilyName = "da_last_block_number";
pub const DA_BLOCK_CURSOR_COLUMN_FAMILY_NAME: ColumnFamilyName = "da_block_cursor";

///db store use cf_name vec to init
/// Please note that adding a column family needs to be added in vec simultaneously, remember!!
Expand Down

0 comments on commit b3870af

Please sign in to comment.