diff --git a/tests/e2e/commands/subnet.go b/tests/e2e/commands/subnet.go index 5be4d28dd..f0e1f7298 100644 --- a/tests/e2e/commands/subnet.go +++ b/tests/e2e/commands/subnet.go @@ -43,6 +43,7 @@ func CreateSubnetEvmConfigWithVersion(subnetName string, genesisPath string, ver genesisPath, "--evm", subnetName, + "--proof-of-authority", "--" + constants.SkipUpdateFlag, "--teleporter=false", "--evm-token", @@ -122,6 +123,7 @@ func CreateCustomVMConfig(subnetName string, genesisPath string, vmPath string) "create", "--genesis", genesisPath, + "--proof-of-authority", "--custom", subnetName, "--custom-vm-path", @@ -225,7 +227,6 @@ func DeploySubnetLocallyWithArgs(subnetName string, version string, confPath str if confPath != "" { cmdArgs = append(cmdArgs, "--config", confPath) } - cmdArgs = append(cmdArgs, "--proof-of-authority") // in case we want to use specific avago for local tests debugAvalanchegoPath := os.Getenv(constants.E2EDebugAvalanchegoPath) if debugAvalanchegoPath != "" { diff --git a/tests/e2e/testcases/subnet/local/suite.go b/tests/e2e/testcases/subnet/local/suite.go index 235629127..282939f68 100644 --- a/tests/e2e/testcases/subnet/local/suite.go +++ b/tests/e2e/testcases/subnet/local/suite.go @@ -25,11 +25,6 @@ const ( subnetName = "e2eSubnetTest" secondSubnetName = "e2eSecondSubnetTest" confPath = "tests/e2e/assets/test_avalanche-cli.json" - stakeAmount = "2000" - stakeDuration = "337h" - delegateAmount = "25" - delegateDuration = "336h" - localNetwork = "Local Network" ) var (