Documentation
¶
Index ¶
- Constants
- type IntegrationTestSuite
- func (s *IntegrationTestSuite) FundAccount(addr sdk.AccAddress, amount sdkmath.Int, denom string)
- func (s *IntegrationTestSuite) GetAllBalances(addr sdk.AccAddress) sdk.Coins
- func (s *IntegrationTestSuite) SetupTest()
- func (s *IntegrationTestSuite) SetupTestWithChainID(chainID testconstants.ChainID)
- func (s *IntegrationTestSuite) TestBasicSetupAndReadiness()
- func (s *IntegrationTestSuite) TestEVMTransactionComprehensive()
- func (s *IntegrationTestSuite) TestMempoolHeightRequirement()
- func (s *IntegrationTestSuite) TestMempoolInsert()
- func (s *IntegrationTestSuite) TestMempoolIterator()
- func (s *IntegrationTestSuite) TestMempoolRemove()
- func (s *IntegrationTestSuite) TestMempoolSelect()
- func (s *IntegrationTestSuite) TestNonceGappedEVMTransactions()
- func (s *IntegrationTestSuite) TestSelectBy()
- func (s *IntegrationTestSuite) TestTransactionOrdering()
Constants ¶
const (
TxGas = 21000
)
Constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntegrationTestSuite ¶
MempoolIntegrationTestSuite is the base test suite for mempool integration tests. It provides the infrastructure to test mempool behavior without mocks.
func NewMempoolIntegrationTestSuite ¶
func NewMempoolIntegrationTestSuite(create network.CreateEvmApp, options ...network.ConfigOption) *IntegrationTestSuite
NewMempoolIntegrationTestSuite creates a new instance of the test suite.
func (*IntegrationTestSuite) FundAccount ¶
func (s *IntegrationTestSuite) FundAccount(addr sdk.AccAddress, amount sdkmath.Int, denom string)
FundAccount funds an account with a specific amount of a given denomination.
func (*IntegrationTestSuite) GetAllBalances ¶
func (s *IntegrationTestSuite) GetAllBalances(addr sdk.AccAddress) sdk.Coins
GetAllBalances returns all balances for the given account address.
func (*IntegrationTestSuite) SetupTest ¶
func (s *IntegrationTestSuite) SetupTest()
SetupTest initializes the test environment with default settings.
func (*IntegrationTestSuite) SetupTestWithChainID ¶
func (s *IntegrationTestSuite) SetupTestWithChainID(chainID testconstants.ChainID)
SetupTestWithChainID initializes the test environment with a specific chain ID.
func (*IntegrationTestSuite) TestBasicSetupAndReadiness ¶
func (s *IntegrationTestSuite) TestBasicSetupAndReadiness()
TestBasicSetupAndReadiness tests comprehensive mempool initialization and readiness
func (*IntegrationTestSuite) TestEVMTransactionComprehensive ¶
func (s *IntegrationTestSuite) TestEVMTransactionComprehensive()
TestEVMTransactionComprehensive tests comprehensive EVM transaction functionality
func (*IntegrationTestSuite) TestMempoolHeightRequirement ¶
func (s *IntegrationTestSuite) TestMempoolHeightRequirement()
TestMempoolHeightRequirement tests that mempool operations fail before block 2
func (*IntegrationTestSuite) TestMempoolInsert ¶
func (s *IntegrationTestSuite) TestMempoolInsert()
TestMempoolInsert tests transaction insertion into the mempool
func (*IntegrationTestSuite) TestMempoolIterator ¶
func (s *IntegrationTestSuite) TestMempoolIterator()
TestMempoolIterator tests iterator functionality
func (*IntegrationTestSuite) TestMempoolRemove ¶
func (s *IntegrationTestSuite) TestMempoolRemove()
TestMempoolRemove tests transaction removal from the mempool
func (*IntegrationTestSuite) TestMempoolSelect ¶
func (s *IntegrationTestSuite) TestMempoolSelect()
TestMempoolSelect tests transaction selection from the mempool
func (*IntegrationTestSuite) TestNonceGappedEVMTransactions ¶
func (s *IntegrationTestSuite) TestNonceGappedEVMTransactions()
TestNonceGappedEVMTransactions tests the behavior of nonce-gapped EVM transactions and the transition from queued to pending when gaps are filled
func (*IntegrationTestSuite) TestSelectBy ¶
func (s *IntegrationTestSuite) TestSelectBy()
TestSelectBy tests the SelectBy functionality with filters
func (*IntegrationTestSuite) TestTransactionOrdering ¶
func (s *IntegrationTestSuite) TestTransactionOrdering()
TestTransactionOrdering tests transaction ordering based on fees