soltestutils

package
v0.0.0-...-90a68d8 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadMCMSPrograms

func LoadMCMSPrograms(t *testing.T, dir string) (string, map[string]string)

LoadMCMSPrograms loads the MCMS program artifacts into the given directory.

Returns the path to the temporary test directory and a map of program names to IDs.

func PreloadAddressBookWithMCMSPrograms

func PreloadAddressBookWithMCMSPrograms(t *testing.T, selector uint64) *cldf.AddressBookMap

PreloadAddressBookWithMCMSPrograms creates and returns an address book containing preloaded MCMS Solana program addresses for the specified selector.

func PreloadMCMS

func PreloadMCMS(t *testing.T, selector uint64) (string, map[string]string, *cldf.AddressBookMap)

PreloadMCMS provides a convenience function to preload the MCMS program artifacts and address book for a given selector.

Types

This section is empty.

Jump to

Keyboard shortcuts

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