package
0.0.2-migrate-evm
Repository: https://github.com/scalarorg/scalar-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewBlockchain returns a faked blockchain with default parameters.
NewCachedMultiStore returns a new CacheMultiStore instance for testing.
NewMultiStore returns a new Multistore instance used for testing.
NewNode creates a new node that can be added to the blockchain.
NewRouter returns a new Router that deals with handler routing.
NewTofnd returns a new Tofnd instance.

# Structs

BlockChain is a fake that emulates the behaviour of a full blockchain network (consensus and message dissemination) for testing.
CachedMultiStore is a simple cached multistore for testing.
MultiStore is a simple multistore used for testing.
Node is a fake that emulates the behaviour of a Cosmos node by retrieving blocks from the network, unpacking the messages and routing them to the correct modules.
Result contains either the result of a successful message execution or the error that occurred.
Router is a fake that is used by the Node to route messages to the correct module handlers.
TestKVStore is a kv store for testing.
Tofnd is a thread-safe fake that emulates the external tofnd process.