Versions in this module Expand all Collapse all v12 v12.2.4 Mar 6, 2024 v12.2.3 Jan 14, 2024 Changes in this version + const LocalVersionTag + func CheckLegacyProposal(version string) bool + func RetrieveUpgradesList(upgradesPath string) ([]string, error) + type Manager struct + CurrentNode *dockertest.Resource + HeightBeforeStop int + UpgradeHeight uint + func NewManager(networkName string) (*Manager, error) + func (m *Manager) BuildImage(name, version, dockerFile, contextDir string, args map[string]string) error + func (m *Manager) Client() *docker.Client + func (m *Manager) ContainerID() string + func (m *Manager) CreateDepositProposalExec(chainID string, id int) (string, error) + func (m *Manager) CreateExec(cmd []string, containerID string) (string, error) + func (m *Manager) CreateModuleQueryExec(moduleName, subCommand, chainID string) (string, error) + func (m *Manager) CreateSubmitProposalExec(targetVersion, chainID string, upgradeHeight uint, legacy bool, ...) (string, error) + func (m *Manager) CreateVoteProposalExec(chainID string, id int, flags ...string) (string, error) + func (m *Manager) ExportState(targetDir string) error + func (m *Manager) GetLogs(containerID string) (stdOut, stdErr string, err error) + func (m *Manager) GetNodeHeight(ctx context.Context) (int, error) + func (m *Manager) GetNodeVersion(ctx context.Context) (string, error) + func (m *Manager) KillCurrentNode() error + func (m *Manager) RemoveNetwork() error + func (m *Manager) RunExec(ctx context.Context, exec string) (outBuf bytes.Buffer, errBuf bytes.Buffer, err error) + func (m *Manager) RunNode(node *Node) error + func (m *Manager) WaitForHeight(ctx context.Context, height int) (string, error) + type Node struct + RunOptions *dockertest.RunOptions + func NewNode(repository, version string) *Node + func (n *Node) Mount(mountPath string) + func (n *Node) SetCmd(cmd []string) + func (n *Node) SetEnvVars(vars []string) + func (n *Node) UseRunOptions() + type Params struct + ChainID string + MountPath string + SkipCleanup bool + Versions []VersionConfig + WorkDirRoot string + func LoadUpgradeParams(upgradesFolder string) (Params, error) + type ServVersion []string + func (v ServVersion) Len() int + func (v ServVersion) Less(i, j int) bool + func (v ServVersion) Swap(i, j int) + type VersionConfig struct + ImageName string + ImageTag string + UpgradeName string