package
3.0.0-rc0
Repository: https://github.com/celestiaorg/celestia-app.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AddAccount mimics the cli addAccount command, providing an account with an allocation of to "token" and "tia" tokens in the genesis state.
AddDeterministicValidatorToGenesis adds a set of five validators to the genesis.
CreateTestEnv creates the keeper testing environment for Blobstream.
CreateTestEnvWithoutBlobstreamKeysInit creates the keeper testing environment for Blobstream.
No description provided by the author
No description provided by the author
ExecuteBlobstreamHeights executes the end exclusive range of heights specified by beginHeight and endHeight along with the Blobstream abci.EndBlocker on each one of them.
ExecuteBlobstreamHeightsWithTime executes the end exclusive range of heights specified by beginHeight and endHeight along with the Blobstream abci.EndBlocker on each one of them.
GenesisStateWithSingleValidator initializes GenesisState with a single validator and genesis accounts that also act as delegators.
InitialiseTestAppWithGenesis initializes the provided app with the provided genesis.
MakeTestCodec creates a legacy amino codec for testing.
MakeTestMarshaler creates a proto codec for use in testing.
NewDefaultGenesisState generates the default state for the application.
NewTestApp creates a new app instance with an empty memDB and a no-op logger.
NewTestAppWithGenesisSet initializes a new app with genesis accounts and returns the testApp, validator set and keyring.
NewTestAppWithGenesisSetAndMaxSquareSize initializes a new app with genesis accounts and a specific max square size and returns the testApp, validator set and keyring.
No description provided by the author
No description provided by the author
RandBlobTxsWithAccounts will create random blob transactions using the provided configuration.
RandBlobTxsWithManualSequence will create random blob transactions using the provided configuration.
No description provided by the author
SendTxsWithAccounts will create a send transaction per account provided, and send all funds to the "toAccount".
SendTxsWithAccounts will create a send transaction per account provided.
SetupDeterministicGenesisState sets genesis on initialized testApp with the provided arguments.
SetupFiveValChain does all the initialization for a 5 Validator chain using the keys here.
SetupTestAppWithGenesisValSet initializes a new app with a validator set and genesis accounts that also act as delegators.
No description provided by the author
No description provided by the author
SetupTestChain sets up a test environment with the provided validator voting weights.
# Constants
No description provided by the author
# Variables
AccAddrs holds the sdk.AccAddresses.
AccPrivKeys generate secp256k1 pubkeys to be used for account pub keys.
AccPubKeys holds the pub keys for the account keys.
ConsPrivKeys generate ed25519 ConsPrivKeys to be used for validator operator keys.
ConsPubKeys holds the consensus public keys to be used for validator operator keys.
EVMAddrs holds etheruem addresses.
HardcodedConsensusPrivKeys.
FixedMnemonics is a set of fixed mnemonics for testing.
No description provided by the author
No description provided by the author
InitCoins holds the number of coins to initialize an account with.
InitTokens holds the number of tokens to initialize an account with.
ModuleBasics is a mock module basic manager for testing.
StakingAmount holds the staking power to start a validator with.
TestingStakeParams is a set of staking params for testing.
ValAddrs holds the sdk.ValAddresses.
# Structs
No description provided by the author
TestInput stores the various keepers required to test Blobstream.