Skip to main content

Module storage

Module storage 

Source
Expand description

In-memory blockchain storage

Structsยง

Blockchain
A simple in-memory blockchain
BlockchainStorage
Stores the blockchain data (blocks, transactions)
InMemoryBlockStates
Represents the complete state of single block
MinedBlockOutcome
Represents the outcome of mining a new block
MinedTransaction
Container type for a mined transaction
MinedTransactionReceipt
Intermediary Anvil representation of a receipt

Constantsยง

DEFAULT_HISTORY_LIMIT
MAX_ON_DISK_HISTORY_LIMIT ๐Ÿ”’
MIN_HISTORY_LIMIT ๐Ÿ”’

Functionsยง

exclude_precompile_calls ๐Ÿ”’
Detaches precompile calls identified during execution from the call graph, as the tracing inspector does when configured to exclude precompile calls.