Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
feat: update CallMsg args
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Apr 24, 2024
1 parent 5d04a04 commit 927c365
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions bindings/encoding/custom_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 927c365

Please sign in to comment.