testhelpers

package
v0.95.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 21 Imported by: 0

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