Documentation
¶
Index ¶
- Variables
- func ExecuteMCMSProposalV2(t *testing.T, env cldf.Environment, proposal *mcmslib.Proposal) error
- func ExecuteMCMSTimelockProposalV2(t *testing.T, env cldf.Environment, timelockProposal *mcmslib.TimelockProposal, ...) error
- func SignMCMSProposal(t *testing.T, env cldf.Environment, proposal *mcmslib.Proposal) *mcmslib.Proposal
- func SignMCMSTimelockProposal(t *testing.T, env cldf.Environment, proposal *mcmslib.TimelockProposal, ...) *mcmslib.Proposal
- func SingleGroupMCMS(t *testing.T) mcmstypes.Config
- func SingleGroupMCMSLegacy(t *testing.T) config.Config
- func SingleGroupTimelockConfig(t *testing.T) proposalutils.MCMSWithTimelockConfig
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 ¶
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 SingleGroupTimelockConfig ¶
func SingleGroupTimelockConfig(t *testing.T) proposalutils.MCMSWithTimelockConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.