Skip to content

Commit

Permalink
ethclient/gethclient: add blob transaction fields in toCallArg (ether…
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo authored and buddh0 committed Mar 20, 2024
1 parent 291ab99 commit c1496e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ethclient/gethclient/gethclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,12 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
if msg.AccessList != nil {
arg["accessList"] = msg.AccessList
}
if msg.BlobGasFeeCap != nil {
arg["maxFeePerBlobGas"] = (*hexutil.Big)(msg.BlobGasFeeCap)
}
if msg.BlobHashes != nil {
arg["blobVersionedHashes"] = msg.BlobHashes
}
return arg
}

Expand Down

0 comments on commit c1496e7

Please sign in to comment.