Versions in this module Expand all Collapse all v1 v1.3.7 Jul 17, 2024 Changes in this version + const BaseTest + const EwoqKeyPath + const GreeterCheck + const GreeterScript + const LatestEVM2OdygoKey + const LatestOdygo2EVMKey + const MultiOdygo1Key + const MultiOdygo2Key + const MultiOdygoSubnetEVMKey + const OnlyOdygoKey + const OnlyOdygoValue + const PluginDirExt + const SoloOdygoKey + const SoloSubnetEVMKey1 + const SoloSubnetEVMKey2 + const SubnetEvmAllowFeeRecpPath + const SubnetEvmGenesis2Path + const SubnetEvmGenesisBadPath + const SubnetEvmGenesisPath + func AddSubnetIDToSidecar(subnetName string, network models.Network, subnetID string) error + func AllPermissionlessValidatorExistsInSidecar(subnetName string, network string) (bool, error) + func ChainConfigExists(subnetName string) (bool, error) + func CheckAllNodesAreCurrentValidators(subnetName string) (bool, error) + func CheckKeyEquality(keyPath1, keyPath2 string) (bool, error) + func CheckOdysseyGoExists(version string) bool + func CheckSubnetEVMExists(version string) bool + func CheckUpgradeIsDeployed(rpcEndpoint string, deployedUpgrades params.UpgradeConfig) error + func DeleteBins() error + func DeleteConfigs(subnetName string) error + func DeleteCustomBinary(vmName string) + func DeleteKey(keyName string) error + func DeleteOPMBin(vmid string) + func DownloadCustomVMBin(subnetEVMversion string) (string, error) + func ElasticSubnetConfigExists(subnetName string) (bool, error) + func ExecCommand(cmdName string, args []string, showStdout bool, errorIsExpected bool) string + func FundLedgerAddress(amount uint64) error + func GetBaseDir() string + func GetCurrentSupply(subnetName string) error + func GetFileHash(filename string) (string, error) + func GetLedgerAddress(network models.Network, index uint32) (string, error) + func GetNodeVMVersion(nodeURI string, vmid string) (string, error) + func GetNodesInfo() (map[string]NodeInfo, error) + func GetOPMDir() string + func GetPluginBinaries() ([]string, error) + func GetSubnetDir() string + func GetSubnetEVMMainneChainID(subnetName string) (uint, error) + func GetTmpFilePath(fnamePrefix string) (string, error) + func GetValidators(subnetName string) ([]string, error) + func GetVersionMapping(mapper VersionMapper) (map[string]string, error) + func GetWhitelistedSubnetsFromConfigFile(configFile string) (string, error) + func IsCustomVM(subnetName string) (bool, error) + func IsNodeInPendingValidator(subnetName string, nodeID string) (bool, error) + func KeyExists(keyName string) (bool, error) + func OPMConfigExists(subnetName string) (bool, error) + func ParseAddrBalanceFromKeyListOutput(output string, keyName string) (string, uint64, error) + func ParseGreeterAddress(output string) error + func ParsePublicDeployOutput(output string) (string, error) + func ParseRPCsFromOutput(output string) ([]string, error) + func PerNodeChainConfigExists(subnetName string) (bool, error) + func PermissionlessValidatorExistsInSidecar(subnetName string, nodeID string, network string) (bool, error) + func PrintStdErr(err error) + func RemoveOPMRepo() + func RestartNodesWithWhitelistedSubnets(whitelistedSubnets string) error + func RunHardhatScript(script string) (string, string, error) + func RunHardhatTests(test string) error + func RunLedgerSim(iters int, seed string, ledgerSimReadyCh chan struct{}, ...) error + func SetHardhatRPC(rpc string) error + func StartLedgerSim(iters int, seed string, showStdout bool) (chan struct{}, chan struct{}) + func SubnetConfigExists(subnetName string) (bool, error) + func SubnetCustomVMExists(subnetName string) (bool, error) + func SubnetOPMVMExists(subnetName string) (bool, error) + func WaitSubnetValidators(subnetIDStr string, nodeInfos map[string]NodeInfo) error + type NodeInfo struct + ConfigFile string + ID string + LogDir string + PluginDir string + URI string + type VersionMapper interface + FilterAvailableVersions func(versions []string) []string + GetApp func() *application.Odyssey + GetCompatURL func(vmType models.VMType) string + GetEligibleVersions func(sortedVersions []string, repoName string, app *application.Odyssey) ([]string, error) + GetLatestOdygoByProtoVersion func(app *application.Odyssey, rpcVersion int, url string) (string, error) + GetOdygoURL func() string + func NewVersionMapper() VersionMapper