Expand description
This module defines the following tables:
Slot Tables:
SlotNumber -> StoredSlot
SlotNumber -> Vec<BatchNumber>
Batch Tables:
BatchNumber -> StoredBatch
BatchHash -> BatchNumber
Tx Tables:
TxNumber -> (TxHash,Tx)
TxHash -> TxNumber
Event Tables:
(EventKey, TxNumber) -> EventNumber
EventNumber -> (EventKey, EventValue)
JMT Tables:
KeyHash -> Key
(Key, Version) -> JmtValue
NodeKey -> Node
Module Accessory State Table:
(ModuleAddress, Key) -> Value
Constants§
- LEDGER_
TABLES - A list of all tables used by the LedgerDB. These tables store rollup “history” - meaning transaction, events, receipts, etc.
- NATIVE_
TABLES - A list of all tables used by the NativeDB. These tables store “accessory” state only accessible from a native execution context, to be used for JSON-RPC and other tooling.
- STATE_
TABLES - A list of all tables used by the StateDB. These tables store rollup state - meaning account balances, nonces, etc.