From 927c3659f79d752dbe03b96667e886eaf56c4cb9 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 24 Apr 2024 15:23:39 +0800 Subject: [PATCH] feat: update CallMsg args --- bindings/encoding/custom_error.go | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/bindings/encoding/custom_error.go b/bindings/encoding/custom_error.go index a13121ef7..43c89af44 100644 --- a/bindings/encoding/custom_error.go +++ b/bindings/encoding/custom_error.go @@ -32,14 +32,17 @@ func TryParsingCustomErrorFromReceipt( // Call the contract at the block hash. _, err = rpc.CallContractAtHash(ctx, ethereum.CallMsg{ - From: from, - To: tx.To(), - Gas: tx.Gas(), - GasPrice: tx.GasPrice(), - GasFeeCap: tx.GasFeeCap(), - GasTipCap: tx.GasTipCap(), - Value: tx.Value(), - Data: tx.Data(), + From: from, + To: tx.To(), + Gas: tx.Gas(), + GasPrice: tx.GasPrice(), + GasFeeCap: tx.GasFeeCap(), + GasTipCap: tx.GasTipCap(), + Value: tx.Value(), + Data: tx.Data(), + AccessList: tx.AccessList(), + BlobGasFeeCap: tx.BlobGasFeeCap(), + BlobHashes: tx.BlobHashes(), }, receipt.BlockHash) return TryParsingCustomError(err)