From 0df84d08f07f762e87b26a9dbd70d4f5070f7721 Mon Sep 17 00:00:00 2001 From: zenground0 Date: Mon, 13 May 2024 09:44:44 -0600 Subject: [PATCH] Bump up threshold --- itests/supply_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itests/supply_test.go b/itests/supply_test.go index c0caccebb25..5c603338d51 100644 --- a/itests/supply_test.go +++ b/itests/supply_test.go @@ -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), @@ -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