Skip to content

Commit

Permalink
Bump up threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed May 13, 2024
1 parent 9f143eb commit 0df84d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions itests/supply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestCirciulationSupplyUpgrade(t *testing.T) {
require.NoError(t, err, "Failed to fetch nv23 circulating supply")

// Unfortunately there's still some non-determinism in supply dynamics so check for equality within a tolerance
tolerance := big.Mul(abi.NewTokenAmount(200), abi.NewTokenAmount(1e18))
tolerance := big.Mul(abi.NewTokenAmount(1000), abi.NewTokenAmount(1e18))
totalLocked := big.Sum(lockedClientBalance, lockedProviderBalance)
diff := big.Sub(
big.Sum(totalLocked, nv23Supply.FilLocked),
Expand Down Expand Up @@ -182,7 +182,7 @@ func makePSDMessage(
StoragePricePerEpoch: ppe,
}
buf := bytes.NewBuffer(nil)
proposal.MarshalCBOR(buf)
require.NoError(t, proposal.MarshalCBOR(buf))
sig, err := signFunc(ctx, client, buf.Bytes())
require.NoError(t, err)
// Publish storage deal
Expand Down

0 comments on commit 0df84d0

Please sign in to comment.