Skip to content

Commit

Permalink
Merge branch 'pj/upgrade-core' of https://github.com/SiaFoundation/hostd
Browse files Browse the repository at this point in the history
 into pj/upgrade-core
  • Loading branch information
peterjan committed Oct 11, 2023
2 parents a7ef43b + 3734aae commit 3f6cf9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/network_testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand Down

0 comments on commit 3f6cf9f

Please sign in to comment.