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 ¶ added in v0.2.3
func CheckAvalancheGoExists ¶ added in v0.2.2
func CheckKeyEquality ¶ added in v0.2.0
func CheckSubnetEVMExists ¶ added in v0.2.2
func DeleteAPMBin ¶ added in v0.2.3
func DeleteAPMBin(vmid string)
func DeleteBins ¶ added in v0.2.2
func DeleteBins() error
func DeleteConfigs ¶
func DownloadCustomVMBin ¶ added in v0.2.2
Currently downloads subnet-evm, but that suffices to test the custom vm functionality
func GetBaseDir ¶
func GetBaseDir() string
func GetNodesInfo ¶ added in v0.2.3
func GetWhilelistedSubnetsFromConfigFile ¶ added in v0.2.3
func ParseGreeterAddress ¶
func ParsePublicDeployOutput ¶ added in v0.2.3
func ParseRPCsFromOutput ¶ added in v0.2.0
func PrintStdErr ¶ added in v0.2.0
func PrintStdErr(err error)
func RemoveAPMRepo ¶ added in v0.2.3
func RemoveAPMRepo()
func RunHardhatTests ¶
func RunSpacesVMAPITest ¶ added in v0.2.3
func SetHardhatRPC ¶
func SubnetAPMVMExists ¶ added in v0.2.3
func SubnetConfigExists ¶
func SubnetCustomVMExists ¶ added in v0.2.2
func UpdateNodesWhitelistedSubnets ¶ added in v0.2.3
Types ¶
Click to show internal directories.
Click to hide internal directories.