Module era_test_node::node
source · Expand description
In-memory node, that supports forking other networks.
Structs
- Keeps track of a block’s batch number, miniblock number and timestamp. Useful for keeping track of the current context when creating multiple blocks.
- In-memory node, that can be used for local & unit testing. It also supports the option of forking testnet/mainnet. All contents are removed when object is destroyed.
- Defines the configuration parameters for the InMemoryNode.
- Helper struct for InMemoryNode. S - is the Source of the Fork.
- Creates a restorable snapshot for the InMemoryNodeInner. The snapshot contains all the necessary data required to restore the InMemoryNodeInner state to a previous point in time.
- Information about the executed transaction.
Enums
Constants
- L1 Gas Price Scale Factor for gas estimation.
- The factor by which to scale the gasLimit.
- L1 Gas Price.
- The default L2 Gas Price to be used if not supplied via the CLI argument.
- Acceptable gas overestimation limit.
- The maximum number of previous blocks to store the state for.
- Max possible size of an ABI encoded tx (in bytes).
- Timestamp of the first block (if not running in fork mode).
- The zks protocol version.
- Network ID we use for the test node.