Files
zeekay 54b6949a02 Fix all E2E test compilation errors and missing functions
- Add missing embedded Token.bin file and update .gitignore
- Create command constants for all CLI commands
- Add missing utility functions for E2E tests (ledger, blockchain, files)
- Fix struct field naming issues (use maps instead of structs for flags)
- Add stub implementations for EthClient in netrunner
- Fix imports for UpgradeConfig (use params/extras)
- Add missing command functions (blockchain, subnet SOV/NonSOV)
- Fix method vs field access issues (.Kind() vs .Kind)
- Add string utility for removing ANSI escape codes
- Update models to include BootstrapValidators field
- Fix all undefined functions and type mismatches

All packages now build successfully without errors.
2025-10-02 08:08:27 +00:00

23 lines
592 B
Go

// / Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package commands
import (
"github.com/luxfi/cli/tests/e2e/utils"
)
/* #nosec G204 */
func StopRelayer() (string, error) {
return utils.TestCommand(InterchainCMD, "relayer", []string{"stop"}, utils.GlobalFlags{
"network": "local",
}, utils.TestFlags{})
}
/* #nosec G204 */
func DeployRelayer(args []string, testFlags utils.TestFlags) (string, error) {
return utils.TestCommand(InterchainCMD, "relayer", args, utils.GlobalFlags{
"network": "local",
}, testFlags)
}