Documentation
¶
Overview ¶
Package solanatest provides test utilities for Solana MCMS integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertMCMSSetConfigProposal ¶
func AssertMCMSSetConfigProposal( t *testing.T, selector uint64, mcmsState *solstate.MCMSWithTimelockState, proposal mcmslib.TimelockProposal, wantAction mcmstypes.TimelockAction, wantDelay mcmstypes.Duration, wantDescription string, )
AssertMCMSSetConfigProposal verifies structure of a Solana set-config MCMS timelock proposal without executing it on-chain. Batch ops may appear as one merged operation per chain (new changeset output builder) or one operation per MCM role (legacy proposeutils path).
func NewDataStoreWithMCMSPrograms ¶
NewDataStoreWithMCMSPrograms seeds a datastore with canonical MCMS program IDs. The test validator preloads the same programs via WithSolanaContainer; program deploy is skipped because artifacts lack -keypair.json files required by solana program deploy for fixed program IDs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.