Module states
Expand description
State management and tracking. State management and tracking for the EVM.
Modules§
- account_
status - Account status tracking.
- bundle_
account - Bundle account representation.
- bundle_
state - Bundle state management.
- cache
- Cache state implementation.
- cache_
account - Cache account representation.
- changes
- State changeset tracking.
- plain_
account - Plain account representation.
- reverts
- State revert tracking.
- state
- Main state implementation.
- state_
builder - State builder utilities.
- transition_
account - Transition account representation.
- transition_
state - Transition state management.
Structs§
- Account
Revert - Assumption is that Revert can return full state from any future state to any past state.
- Bundle
Account - Account information focused on creating of database changesets and Reverts.
- Bundle
Builder - This builder is used to help to facilitate the initialization of
BundleState
struct - Bundle
State - Bundle state contain only values that got changed
- Cache
Account - Cache account contains plain state that gets updated at every transaction when evm output is applied to CacheState.
- Cache
State - Cache state contains both modified and original values
- Plain
Account - Plain account of StateDatabase.
- Plain
State Reverts - Plain state reverts are used to easily store reverts into database.
- Plain
Storage Changeset - Plain storage changeset.
- Plain
Storage Revert - Plain Storage Revert.
- State
- State of blockchain
- State
Builder - Allows building of State and initializing it with different options.
- State
Changeset accounts
/storages
/contracts
for inclusion into database.- Storage
Slot - This type keeps track of the current value of a storage slot.
- Transition
Account - Account Created when EVM state is merged to cache state. And it is sent to Block state.
- Transition
State - State of accounts in transition between transaction executions.
Enums§
- Account
Status - AccountStatus represents the various states an account can be in after being loaded from the database.
- Original
Values Known - Option for
BundleState
when converting it to the plain state. - Revert
ToSlot - So storage can have multiple types:
Type Aliases§
- DBBox
- Database boxed with a lifetime and Send
- StateDB
Box - More constrained version of State that uses Boxed database with a lifetime
- Storage
With Original Values - This storage represent values that are before block changed.