testhelpers

package
v0.116.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 21 Imported by: 1 module, 4 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 TestXXXMCMSSigner *ecdsa.PrivateKey

TestXXXMCMSSigner is a throwaway private key used for signing MCMS proposals in tests.

Functions

func ExecuteMCMSProposalV2

func ExecuteMCMSProposalV2(t *testing.T, env cldf.Environment, proposal *mcmslib.Proposal) error

ExecuteMCMSProposalV2 executes an MCMS proposal on all chains. For timelock proposals, use ExecuteMCMSTimelockProposalV2 instead.

func ExecuteMCMSTimelockProposalV2

func ExecuteMCMSTimelockProposalV2(t *testing.T, env cldf.Environment, timelockProposal *mcmslib.TimelockProposal, opts ...mcmslib.Option) error

ExecuteMCMSTimelockProposalV2 executes an MCMS timelock proposal. It optionally sets a callProxy to execute calls through a proxy. If the callProxy is not set, the calls are executed directly to the timelock.

func SignMCMSProposal

func SignMCMSProposal(t *testing.T, env cldf.Environment, proposal *mcmslib.Proposal) *mcmslib.Proposal

SignMCMSProposal - Signs an MCMS proposal. For timelock proposal, use SignMCMSTimelockProposal instead.

func SignMCMSTimelockProposal

func SignMCMSTimelockProposal(t *testing.T, env cldf.Environment, proposal *mcmslib.TimelockProposal, realBackend bool) *mcmslib.Proposal

SignMCMSTimelockProposal - Signs an MCMS timelock proposal.

func SingleGroupMCMS

func SingleGroupMCMS(t *testing.T) mcmstypes.Config

func SingleGroupMCMSLegacy

func SingleGroupMCMSLegacy(t *testing.T) config.Config

func SingleGroupTimelockConfig

func SingleGroupTimelockConfig(t *testing.T) proposalutils.MCMSWithTimelockConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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