Versions in this module Expand all Collapse all v0 v0.0.2 Jun 5, 2026 Changes in this version + const Anvil0SKHex + const DefaultMCMSTimelockMinDelaySec + const STELLAR_LOCALNET_PASSPHRASE + func ChainNetworkIDFromHex(chainIDHex string) ([32]byte, error) + func CleanupMCMSTestPool(t *testing.T, ctx context.Context, env *E2ETestEnv, gov *MCMSGovernanceStack, ...) + func ContractIDToBytes32(contractID string) ([32]byte, error) + func CurseChain(t *testing.T, env *cldfdeployment.Environment, ...) + func EncodeTimelockInvokePayload(functionName string, argScVals []xdr.ScVal) ([]byte, error) + func EthSignedMessageHash32(digest [32]byte) [32]byte + func FindProjectRoot(t *testing.T) string + func FindProjectRootErr() (string, error) + func FundViaFriendbot(friendbotURL, address string) error + func GenerateMockContractID(t *testing.T, deployerAddress, contractName string) string + func HashRootMetadata(m mcmsbindings.StellarRootMetadata) ([32]byte, error) + func HashSetRootInner(root [32]byte, validUntil uint32) [32]byte + func HashStellarOp(op mcmsbindings.StellarOp) ([32]byte, error) + func KeypairFromPrivateKeyHex(t *testing.T, privateKeyHex string) *keypair.Full + func MCMSTimelockScheduleAndExecute(t *testing.T, ctx context.Context, env *E2ETestEnv, gov *MCMSGovernanceStack, ...) + func MCMSTimelockScheduleAndExecuteErr(ctx context.Context, env *E2ETestEnv, gov *MCMSGovernanceStack, ...) error + func MCMSValidUntilSeconds(ctx context.Context, rpc *rpcclient.Client) (uint32, error) + func MerkleProofTwoLeaves(leaves [2][32]byte, leafIndex int) [][32]byte + func MerkleRootTwoLeaves(l0, l1 [32]byte) [32]byte + func PaddedEthAddress(pub *ecdsa.PublicKey) [32]byte + func ResolveEVMTestToken(ds datastore.DataStore, evmChainSelector uint64) (protocol.UnknownAddress, error) + func SetupTestEnv(ctx context.Context, t *testing.T) (string, *keypair.Full, *stellardeployment.Deployer, *rpcclient.Client, string) + func SignaturesForSetRoot(pk *ecdsa.PrivateKey, root [32]byte, validUntil uint32) (mcmsbindings.SignatureVec, error) + func SorobanExecuteBatch(caller string, calls timelockbindings.Calls, predecessor, salt [32]byte) ([]byte, error) + func SorobanScheduleBatch(caller string, calls timelockbindings.Calls, predecessor, salt [32]byte, ...) ([]byte, error) + func UncurseChain(t *testing.T, env *cldfdeployment.Environment, ...) + func WaitForFriendbot(ctx context.Context, friendbotBaseURL string, timeout time.Duration) error + func WaitTimelockOperationReady(ctx context.Context, t *testing.T, tlClient *timelockbindings.TimelockClient, ...) + type E2ETestEnv struct + AggregatorClients map[string]*ccv.AggregatorClient + CLDFEnv *cldfdeployment.Environment + Chains map[uint64]cciptestinterfaces.CCIP17 + DataStore datastore.DataStore + Deployer *stellardeployment.Deployer + DeployerKP *keypair.Full + DestChain cciptestinterfaces.CCIP17 + DestChainDetails *chain_selectors.ChainDetails + FriendbotURL string + IndexerMonitor *ccv.IndexerMonitor + NetworkPassphrase string + RPCClient *rpcclient.Client + SourceChain cciptestinterfaces.CCIP17 + SourceChainDetails *chain_selectors.ChainDetails + StellarRoot string + func NewE2ETestEnv(t *testing.T, ctx context.Context, l *zerolog.Logger, configOutputPath string, ...) *E2ETestEnv + type MCMSGovernanceStack struct + ChainNetID [32]byte + MCMSClient *mcmsbindings.McmsClient + MCMSID string + MCMSRaw [32]byte + MinDelaySec uint64 + SignerPK *ecdsa.PrivateKey + TimelockClient *timelockbindings.TimelockClient + TimelockID string + TimelockRaw [32]byte + func DeployMCMSAndTimelock(t *testing.T, ctx context.Context, env *E2ETestEnv, chainSelector uint64, ...) *MCMSGovernanceStack + type SharedTestEnv struct + Deployer *stellardeployment.Deployer + DeployerKP *keypair.Full + FriendbotURL string + NetworkPassphrase string + Output *blockchain.Output + ProjectRoot string + RPCClient *rpcclient.Client + func SetupTestEnvShared(ctx context.Context, containerName string) (*SharedTestEnv, error) v0.0.1 Apr 29, 2026