Skip to content

Commit

Permalink
update HardforkV2Require Height for v2 tests to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Dec 18, 2024
1 parent 693ad3b commit 6c26831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/test/e2e/build_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ package e2e
// configuration for post-v2-hardfork tests
const (
HardforkV2AllowHeight = 2
HardforkV2RequireHeight = 30000 // TODO: change this to 3 once all the code is updated to use v2 above the allow height
HardforkV2RequireHeight = 3
)
2 changes: 1 addition & 1 deletion internal/test/e2e/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2932,7 +2932,7 @@ func TestV1ToV2Transition(t *testing.T) {
apCfg := test.AutopilotConfig
apCfg.Contracts.Amount = 2
apCfg.Contracts.Period = 1000 // make sure we handle trying to form contracts with a proof height after the v2 require height
apCfg.Contracts.RenewWindow = 50
apCfg.Contracts.RenewWindow = 1

// create a test cluster
nHosts := 3
Expand Down

0 comments on commit 6c26831

Please sign in to comment.