Documentation ¶
Index ¶
- Constants
- func APMConfigExists(subnetName string) (bool, error)
- func CheckAvalancheGoExists(version string) bool
- func CheckKeyEquality(keyPath1, keyPath2 string) (bool, error)
- func CheckSubnetEVMExists(version string) bool
- func DeleteAPMBin(vmid string)
- func DeleteBins() error
- func DeleteConfigs(subnetName string) error
- func DeleteKey(keyName string) error
- func DownloadCustomVMBin() (string, error)
- func GetAPMDir() string
- func GetBaseDir() string
- func GetNodesInfo() (map[string]NodeInfo, error)
- func GetWhilelistedSubnetsFromConfigFile(configFile string) (string, error)
- func KeyExists(keyName string) (bool, error)
- func ParseGreeterAddress(output string) error
- func ParsePublicDeployOutput(output string) (string, string, error)
- func ParseRPCsFromOutput(output string) ([]string, error)
- func PrintStdErr(err error)
- func RemoveAPMRepo()
- func RunHardhatScript(script string) (string, string, error)
- func RunHardhatTests(test string) error
- func RunSpacesVMAPITest(rpc string) error
- func SetHardhatRPC(rpc string) error
- func SubnetAPMVMExists(subnetName string) (bool, error)
- func SubnetConfigExists(subnetName string) (bool, error)
- func SubnetCustomVMExists(subnetName string) (bool, error)
- func UpdateNodesWhitelistedSubnets(whitelistedSubnets string) error
- func WaitSubnetValidators(subnetIDStr string, nodeInfos map[string]NodeInfo) error
- type NodeInfo
Constants ¶
View Source
const ( BaseTest = "./test/index.ts" GreeterScript = "./scripts/deploy.ts" GreeterCheck = "./scripts/checkGreeting.ts" SubnetEvmGenesisPath = "tests/e2e/assets/test_subnet_evm_genesis.json" SubnetEvmGenesis2Path = "tests/e2e/assets/test_subnet_evm_genesis_2.json" SpacesVMGenesisPath = "tests/e2e/assets/test_spacesvm_genesis.json" EwoqKeyPath = "tests/e2e/assets/ewoq_key.pk" )
Variables ¶
This section is empty.
Functions ¶
func APMConfigExists ¶
func CheckAvalancheGoExists ¶
func CheckKeyEquality ¶
func CheckSubnetEVMExists ¶
func DeleteAPMBin ¶
func DeleteAPMBin(vmid string)
func DeleteBins ¶
func DeleteBins() error
func DeleteConfigs ¶
func DownloadCustomVMBin ¶
Currently downloads subnet-evm, but that suffices to test the custom vm functionality
func GetBaseDir ¶
func GetBaseDir() string
func GetNodesInfo ¶
func ParseGreeterAddress ¶
func ParseRPCsFromOutput ¶
func PrintStdErr ¶
func PrintStdErr(err error)
func RemoveAPMRepo ¶
func RemoveAPMRepo()
func RunHardhatTests ¶
func RunSpacesVMAPITest ¶
func SetHardhatRPC ¶
func SubnetAPMVMExists ¶
func SubnetConfigExists ¶
func SubnetCustomVMExists ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.