From 347737875d50e964bef0ace15266fe6b6d2c3ffc Mon Sep 17 00:00:00 2001 From: Daniel Wasserman Date: Mon, 1 Apr 2024 18:28:49 -0500 Subject: [PATCH] Fix: tests --- ethergo/chain/gas/cmp_test.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ethergo/chain/gas/cmp_test.go b/ethergo/chain/gas/cmp_test.go index 35aed6cbad..d02e3d05a0 100644 --- a/ethergo/chain/gas/cmp_test.go +++ b/ethergo/chain/gas/cmp_test.go @@ -1,6 +1,10 @@ package gas_test import ( + "math/big" + "testing" + "time" + "github.com/brianvoe/gofakeit/v6" "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/core/types" @@ -9,9 +13,6 @@ import ( "github.com/synapsecns/sanguine/core/testsuite" "github.com/synapsecns/sanguine/ethergo/chain/gas" "gotest.tools/assert" - "math/big" - "testing" - "time" ) // cmpTestCase is a gas comparison test case. @@ -406,7 +407,7 @@ func getBumpTestCases() []*bumpTestCase { baseFee: big.NewInt(1), percentIncrease: 10, expectedGasTipCap: big.NewInt(11), - expectedGasFeeCap: testCfg.MaxPrice, + expectedGasFeeCap: big.NewInt(110), description: "bump tip by 10%", }, {