Documentation
¶
Index ¶
- Constants
- func GenerateBase64PubKey() string
- func TestPrecompileIntegrationTestSuite(t *testing.T, create network.CreateEvmApp, options ...network.ConfigOption)
- type PrecompileTestSuite
- func (s *PrecompileTestSuite) CheckValidatorOutput(valOut staking.ValidatorInfo)
- func (s *PrecompileTestSuite) SetupTest()
- func (s *PrecompileTestSuite) TestCMS()
- func (s *PrecompileTestSuite) TestCancelUnbondingDelegation()
- func (s *PrecompileTestSuite) TestCancelUnbondingDelegationEvent()
- func (s *PrecompileTestSuite) TestCreateValidator()
- func (s *PrecompileTestSuite) TestCreateValidatorEvent()
- func (s *PrecompileTestSuite) TestDelegate()
- func (s *PrecompileTestSuite) TestDelegateEvent()
- func (s *PrecompileTestSuite) TestDelegation()
- func (s *PrecompileTestSuite) TestEditValidator()
- func (s *PrecompileTestSuite) TestEditValidatorEvent()
- func (s *PrecompileTestSuite) TestIsTransaction()
- func (s *PrecompileTestSuite) TestRedelegate()
- func (s *PrecompileTestSuite) TestRedelegateEvent()
- func (s *PrecompileTestSuite) TestRedelegation()
- func (s *PrecompileTestSuite) TestRedelegations()
- func (s *PrecompileTestSuite) TestRequiredGas()
- func (s *PrecompileTestSuite) TestRun()
- func (s *PrecompileTestSuite) TestUnbondEvent()
- func (s *PrecompileTestSuite) TestUnbondingDelegation()
- func (s *PrecompileTestSuite) TestUndelegate()
- func (s *PrecompileTestSuite) TestValidator()
- func (s *PrecompileTestSuite) TestValidators()
Constants ¶
View Source
const InitialTestBalance = 1000000000000000000 // 1 atom
Variables ¶
This section is empty.
Functions ¶
func GenerateBase64PubKey ¶
func GenerateBase64PubKey() string
GenerateBase64PubKey generates the Base64 encoded PubKey associated with a PrivKey generated with the ed25519 algorithm used in CometBFT nodes.
func TestPrecompileIntegrationTestSuite ¶
func TestPrecompileIntegrationTestSuite(t *testing.T, create network.CreateEvmApp, options ...network.ConfigOption)
Types ¶
type PrecompileTestSuite ¶
func NewPrecompileTestSuite ¶
func NewPrecompileTestSuite(create network.CreateEvmApp, options ...network.ConfigOption) *PrecompileTestSuite
func (*PrecompileTestSuite) CheckValidatorOutput ¶
func (s *PrecompileTestSuite) CheckValidatorOutput(valOut staking.ValidatorInfo)
CheckValidatorOutput checks that the given validator output
func (*PrecompileTestSuite) SetupTest ¶
func (s *PrecompileTestSuite) SetupTest()
func (*PrecompileTestSuite) TestCMS ¶
func (s *PrecompileTestSuite) TestCMS()
TestCMS tests the cache multistore writes.
func (*PrecompileTestSuite) TestCancelUnbondingDelegation ¶
func (s *PrecompileTestSuite) TestCancelUnbondingDelegation()
func (*PrecompileTestSuite) TestCancelUnbondingDelegationEvent ¶
func (s *PrecompileTestSuite) TestCancelUnbondingDelegationEvent()
func (*PrecompileTestSuite) TestCreateValidator ¶
func (s *PrecompileTestSuite) TestCreateValidator()
func (*PrecompileTestSuite) TestCreateValidatorEvent ¶
func (s *PrecompileTestSuite) TestCreateValidatorEvent()
func (*PrecompileTestSuite) TestDelegate ¶
func (s *PrecompileTestSuite) TestDelegate()
func (*PrecompileTestSuite) TestDelegateEvent ¶
func (s *PrecompileTestSuite) TestDelegateEvent()
func (*PrecompileTestSuite) TestDelegation ¶
func (s *PrecompileTestSuite) TestDelegation()
func (*PrecompileTestSuite) TestEditValidator ¶
func (s *PrecompileTestSuite) TestEditValidator()
func (*PrecompileTestSuite) TestEditValidatorEvent ¶
func (s *PrecompileTestSuite) TestEditValidatorEvent()
func (*PrecompileTestSuite) TestIsTransaction ¶
func (s *PrecompileTestSuite) TestIsTransaction()
func (*PrecompileTestSuite) TestRedelegate ¶
func (s *PrecompileTestSuite) TestRedelegate()
func (*PrecompileTestSuite) TestRedelegateEvent ¶
func (s *PrecompileTestSuite) TestRedelegateEvent()
func (*PrecompileTestSuite) TestRedelegation ¶
func (s *PrecompileTestSuite) TestRedelegation()
func (*PrecompileTestSuite) TestRedelegations ¶
func (s *PrecompileTestSuite) TestRedelegations()
func (*PrecompileTestSuite) TestRequiredGas ¶
func (s *PrecompileTestSuite) TestRequiredGas()
func (*PrecompileTestSuite) TestRun ¶
func (s *PrecompileTestSuite) TestRun()
TestRun tests the precompile's Run method.
func (*PrecompileTestSuite) TestUnbondEvent ¶
func (s *PrecompileTestSuite) TestUnbondEvent()
func (*PrecompileTestSuite) TestUnbondingDelegation ¶
func (s *PrecompileTestSuite) TestUnbondingDelegation()
func (*PrecompileTestSuite) TestUndelegate ¶
func (s *PrecompileTestSuite) TestUndelegate()
func (*PrecompileTestSuite) TestValidator ¶
func (s *PrecompileTestSuite) TestValidator()
func (*PrecompileTestSuite) TestValidators ¶
func (s *PrecompileTestSuite) TestValidators()
Click to show internal directories.
Click to hide internal directories.