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.
  • 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

Functions