gov

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 43 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

This section is empty.

Variables

View Source
var (

	// TestProposalMsgs are msgs used on a proposal.
	TestProposalMsgs = []sdk.Msg{
		banktypes.NewMsgSend(govAcct, addr, sdk.NewCoins(sdk.NewCoin(testconstants.ExampleAttoDenom, math.NewInt(1000)))),
	}
)

Functions

func TestPrecompileIntegrationTestSuite

func TestPrecompileIntegrationTestSuite(t *testing.T, create network.CreateEvmApp, options ...network.ConfigOption)

Types

type CallsData

type CallsData struct {
	// contains filtered or unexported fields
}

CallsData is a helper struct to hold the addresses and ABIs for the different contract instances used in the integration tests.

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

func (s *PrecompileTestSuite) SetupTest()

func (*PrecompileTestSuite) TestGetDeposit

func (s *PrecompileTestSuite) TestGetDeposit()

func (*PrecompileTestSuite) TestGetDeposits

func (s *PrecompileTestSuite) TestGetDeposits()

func (*PrecompileTestSuite) TestGetParams

func (s *PrecompileTestSuite) TestGetParams()

func (*PrecompileTestSuite) TestGetProposal

func (s *PrecompileTestSuite) TestGetProposal()

func (*PrecompileTestSuite) TestGetProposals

func (s *PrecompileTestSuite) TestGetProposals()

func (*PrecompileTestSuite) TestGetTallyResult

func (s *PrecompileTestSuite) TestGetTallyResult()

func (*PrecompileTestSuite) TestGetVote

func (s *PrecompileTestSuite) TestGetVote()

func (*PrecompileTestSuite) TestGetVotes

func (s *PrecompileTestSuite) TestGetVotes()

func (*PrecompileTestSuite) TestIsTransaction

func (s *PrecompileTestSuite) TestIsTransaction()

func (*PrecompileTestSuite) TestRun

func (s *PrecompileTestSuite) TestRun()

TestRun tests the precompile's Run method.

func (*PrecompileTestSuite) TestVote

func (s *PrecompileTestSuite) TestVote()

func (*PrecompileTestSuite) TestVoteEvent

func (s *PrecompileTestSuite) TestVoteEvent()

func (*PrecompileTestSuite) TestVoteWeighted

func (s *PrecompileTestSuite) TestVoteWeighted()

func (*PrecompileTestSuite) TestVoteWeightedEvent

func (s *PrecompileTestSuite) TestVoteWeightedEvent()

Jump to

Keyboard shortcuts

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