Documentation
¶
Index ¶
- Variables
- func EthSetup(isCheckTx bool, ...) *chainapp.EverLast
- func EthSetupWithDB(isCheckTx bool, ...) *chainapp.EverLast
- func GenesisStateWithValSet(chainApp *chainapp.EverLast, genesisState chainapp.GenesisState, ...) chainapp.GenesisState
- func NewTestGenesisState(codec codec.Codec) chainapp.GenesisState
- func Setup(isCheckTx bool, feemarketGenesis *feemarkettypes.GenesisState, chainID string) *chainapp.EverLast
- func SetupTestingApp(chainID string) func() (ibctesting.TestingApp, map[string]json.RawMessage)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConsensusParams = &tmproto.ConsensusParams{ Block: &tmproto.BlockParams{ MaxBytes: 200000, MaxGas: -1, }, Evidence: &tmproto.EvidenceParams{ MaxAgeNumBlocks: 302400, MaxAgeDuration: 504 * time.Hour, MaxBytes: 10000, }, Validator: &tmproto.ValidatorParams{ PubKeyTypes: []string{ cmttypes.ABCIPubKeyTypeEd25519, }, }, }
DefaultConsensusParams defines the default CometBFT consensus params used in EverLast testing.
View Source
var DefaultTestingAppInit func(chainId string) func() (ibctesting.TestingApp, map[string]json.RawMessage) = SetupTestingApp
DefaultTestingAppInit defines the IBC application used for testing
Functions ¶
func EthSetup ¶
func EthSetup(isCheckTx bool, patchGenesis func(*chainapp.EverLast, chainapp.GenesisState) chainapp.GenesisState) *chainapp.EverLast
EthSetup initializes a new EverLast app. A Nop logger is set in EverLast app.
func EthSetupWithDB ¶
func EthSetupWithDB(isCheckTx bool, patchGenesis func(*chainapp.EverLast, chainapp.GenesisState) chainapp.GenesisState, db sdkdb.DB) *chainapp.EverLast
EthSetupWithDB initializes a new EverLast app. A Nop logger is set in EverLast app.
func GenesisStateWithValSet ¶
func GenesisStateWithValSet(chainApp *chainapp.EverLast, genesisState chainapp.GenesisState, valSet *cmttypes.ValidatorSet, genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance, ) chainapp.GenesisState
func NewTestGenesisState ¶
func NewTestGenesisState(codec codec.Codec) chainapp.GenesisState
NewTestGenesisState generate genesis state with single validator
func Setup ¶
func Setup( isCheckTx bool, feemarketGenesis *feemarkettypes.GenesisState, chainID string, ) *chainapp.EverLast
Setup initializes a new EverLast. A Nop logger is set in EverLast.
func SetupTestingApp ¶
func SetupTestingApp(chainID string) func() (ibctesting.TestingApp, map[string]json.RawMessage)
SetupTestingApp initializes the IBC-go testing application
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.