diff --git a/itests/eth_transactions_test.go b/itests/eth_transactions_test.go index 616245a4c..1a04eb9c1 100644 --- a/itests/eth_transactions_test.go +++ b/itests/eth_transactions_test.go @@ -43,10 +43,14 @@ func TestValueTransferValidSignature(t *testing.T) { kit.SendFunds(ctx, t, client, deployer, types.FromFil(1000)) - gasParams, err := json.Marshal(ethtypes.EthEstimateGasParams{Tx: ethtypes.EthCall{ - From: ðAddr, - Data: contract, - }}) + blkParam := ethtypes.NewEthBlockNumberOrHashFromPredefined("latest") + gasParams, err := json.Marshal(ethtypes.EthEstimateGasParams{ + Tx: ethtypes.EthCall{ + From: ðAddr, + Data: contract, + }, + BlkParam: &blkParam, + }) require.NoError(t, err) gaslimit, err := client.EthEstimateGas(ctx, gasParams)