fuel-core-storage 0.48.2

Storage types and primitives used by Fuel core protocol.
Documentation
//! The module contains implementations and tests for the `SealedBlockConsensus` table.

use crate::{
    blueprint::plain::Plain,
    codec::{
        postcard::Postcard,
        primitive::Primitive,
    },
    column::Column,
    structured_storage::TableWithBlueprint,
    tables::SealedBlockConsensus,
};

impl TableWithBlueprint for SealedBlockConsensus {
    type Blueprint = Plain<Primitive<4>, Postcard>;
    type Column = Column;

    fn column() -> Column {
        Column::FuelBlockConsensus
    }
}

#[cfg(test)]
crate::basic_storage_tests!(
    SealedBlockConsensus,
    <SealedBlockConsensus as crate::Mappable>::Key::default(),
    <SealedBlockConsensus as crate::Mappable>::Value::default()
);