Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
geoff-vball committed Sep 6, 2024
1 parent 01b6bab commit 1c170e6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/flows/staking/poa_to_pos.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,13 @@ func PoAMigrationToPoS(network interfaces.LocalNetwork) {
PChainBlockchainID: pChainInfo.BlockchainID,
SubnetID: subnetAInfo.SubnetID,
},
MinimumStakeAmount: big.NewInt(0).SetUint64(1e6),
MaximumStakeAmount: big.NewInt(0).SetUint64(10e6),
MinimumStakeDuration: uint64(24 * time.Hour),
RewardCalculator: common.Address{},
ChurnTrackerStartTime: big.NewInt(0),
ChurnPeriodSeconds: uint64(0),
MaximumChurnPercentage: uint8(0),
MinimumStakeAmount: big.NewInt(1e6),
MaximumStakeAmount: big.NewInt(10e6),
MinimumStakeDuration: uint64(24 * time.Hour.Seconds()),
RewardCalculator: common.Address{},
},
)
Expect(err).Should(BeNil())
Expand Down

0 comments on commit 1c170e6

Please sign in to comment.