chore(db): modify state transition docs (#515)

This commit is contained in:
Roman Krasiuk
2022-12-20 11:31:23 +02:00
committed by GitHub
parent 82cd84eca7
commit c68a850c70
2 changed files with 40 additions and 23 deletions

View File

@ -232,12 +232,12 @@ table!(
/// }
/// ```
///
( AccountHistory ) ShardedKey<Address> | TxNumberList
( AccountHistory ) ShardedKey<Address> | TransitionList
);
table!(
/// Stores pointers to transactions that changed each storage key.
( StorageHistory ) AddressStorageKey | TxNumberList
( StorageHistory ) AddressStorageKey | TransitionList
);
dupsort!(
@ -275,7 +275,7 @@ table!(
/// Alias Types
/// List with transaction numbers.
pub type TxNumberList = IntegerList;
pub type TransitionList = IntegerList;
/// Encoded stage id.
pub type StageId = Vec<u8>;