diff --git a/contract/contract_test.go b/contract/contract_test.go index 7774a046..f0f1d90d 100644 --- a/contract/contract_test.go +++ b/contract/contract_test.go @@ -295,7 +295,6 @@ func TestContract_EIP1559(t *testing.T) { assert.NoError(t, err) assert.NotZero(t, txnObj.Gas) - assert.NotZero(t, txnObj.GasPrice) assert.NotZero(t, txnObj.MaxFeePerGas) assert.NotZero(t, txnObj.MaxPriorityFeePerGas) } diff --git a/jsonrpc/eth_test.go b/jsonrpc/eth_test.go index ffb49065..4dfee806 100644 --- a/jsonrpc/eth_test.go +++ b/jsonrpc/eth_test.go @@ -435,6 +435,8 @@ func TestEthMaxPriorityFeePerGas(t *testing.T) { require.Equal(t, uint64(1), receipt.Status) newMaxPriorityFee, err := c.Eth().MaxPriorityFeePerGas() + t.Log(initialMaxPriorityFee) + t.Log(newMaxPriorityFee) require.NoError(t, err) - require.True(t, initialMaxPriorityFee.Cmp(newMaxPriorityFee) < 0) + require.True(t, initialMaxPriorityFee.Cmp(newMaxPriorityFee) <= 0) }