package
0.3.0
Repository: https://github.com/crossfichain/crossfi-node.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators.
Package nullify provides methods to init nil values structs for test assertion.
No description provided by the author
Copyright 2022 Evmos Foundation This file is part of the Evmos Network packages.

# Functions

BroadcastTxBytes encodes a transaction and calls DeliverTx on the app.
CheckEthTx checks a Ethereum tx for a given set of msgs.
CheckEthTxResponse checks that the transaction was executed successfully.
CheckTx checks a cosmos tx for a given set of msgs.
Commit commits a block at a given time.
Delegate delivers a delegate tx.
DeliverEthTx generates and broadcasts a Cosmos Tx populated with MsgEthereumTx messages.
DeliverTx delivers a cosmos tx for a given set of msgs.
DeployContract deploys a contract with the provided private key, compiled contract data and constructor arguments.
DeployContractWithFactory deploys a contract using a contract factory with the provided factoryAddress.
FundAccount is a utility function that funds an account by minting and sending the coins to the address.
FundAccountWithBaseDenom is a utility function that uses the FundAccount function to fund an account with the default Evmos denomination.
FundModuleAccount is a utility function that funds a module account by minting and sending the coins to the address.
GetTotalDelegationRewards returns the total delegation rewards that are currently outstanding for the given address.
NewHeader creates a new Tendermint header for testing purposes.
NewStateDB returns a new StateDB for testing purposes.
NextFn is a no-op function that returns the context and no error in order to mock the next function in the AnteHandler chain.
PrepareAccountsForDelegationRewards prepares the test suite for testing to withdraw delegation rewards.
SubmitProposal delivers a submit proposal tx for a given gov content.
ValidateAnteForMsgs is a helper function, which takes in an AnteDecorator as well as 1 or more messages, builds a transaction containing these messages, and returns any error that the AnteHandler might return.
Vote delivers a vote tx with the VoteOption "yes".