Skip to content

Commit

Permalink
Merge pull request #2433 from AleoHQ/feat/aborted-transmissions-map
Browse files Browse the repository at this point in the history
[Fix] Add `BFTAbortedTransmissionIDsMap`
  • Loading branch information
howardwu committed Apr 16, 2024
2 parents d48f6fb + 69c25a8 commit da3d78a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ledger/store/src/helpers/rocksdb/internal/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ impl From<MapID> for u16 {
#[repr(u16)]
pub enum BFTMap {
Transmissions = DataID::BFTTransmissionsMap as u16,
AbortedTransmissionIDs = DataID::BFTAbortedTransmissionIDsMap as u16,
}

/// The RocksDB map prefix for block-related entries.
Expand Down Expand Up @@ -291,6 +292,10 @@ enum DataID {
ProgramIDMap,
KeyValueMap,

// TODO (raychu86): Move this up to the BFT section.
// BFT
BFTAbortedTransmissionIDsMap,

// Testing
#[cfg(test)]
Test,
Expand Down

0 comments on commit da3d78a

Please sign in to comment.