Files

29 lines
740 B
Go

// Copyright (C) 2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package commands
import (
"github.com/luxfi/cli/v2/cmd"
"github.com/luxfi/cli/v2/tests/e2e/utils"
)
const (
WarpCmd = "warp"
)
/* #nosec G204 */
func SendWarpMessage(args []string, testFlags utils.TestFlags) (string, error) {
return utils.TestCommand(WarpCmd, "sendMsg", args, utils.GlobalFlags{
"local": true,
"skip-update-check": true,
}, testFlags)
}
/* #nosec G204 */
func DeployWarpContracts(args []string, testFlags utils.TestFlags) (string, error) {
return utils.TestCommand(cmd.WarpCmd, "deploy", args, utils.GlobalFlags{
"local": true,
"skip-update-check": true,
}, testFlags)
}