diff --git a/build/network_testing.go b/build/network_testing.go index d79078a1..78ff4e61 100644 --- a/build/network_testing.go +++ b/build/network_testing.go @@ -37,6 +37,11 @@ func Network() (*consensus.Network, types.Block) { n.HardforkFoundation.Height = 50 n.HardforkFoundation.PrimaryAddress = types.StandardUnlockHash(types.GeneratePrivateKey().PublicKey()) n.HardforkFoundation.FailsafeAddress = types.StandardUnlockHash(types.GeneratePrivateKey().PublicKey()) + + // make it difficult to reach v2 in most tests + n.HardforkV2.AllowHeight = 1000 + n.HardforkV2.RequireHeight = 1020 + return n, types.Block{ Transactions: []types.Transaction{ {