staking

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 48 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

type PrecompileTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL