Module era_test_node::fork

source ·
Expand description

This file hold tools used for test-forking other networks.

There is ForkStorage (that is a wrapper over InMemoryStorage) And ForkDetails - that parses network address and fork height from arguments.

Structs

  • Holds the information about the original chain.
  • In memory storage, that allows ‘forking’ from other network. If forking is enabled, it reads missing data from remote location. S - is a struct that is used for source of the fork.

Enums

Traits

  • Trait that provides necessary data when forking a remote chain. The method signatures are similar to methods from ETHNamespace and ZKNamespace.

Functions