ethclient/gethclient: add blob transaction fields in toCallArg (#29198)

pull/29203/head
colin 9 months ago committed by GitHub
parent c41105ce80
commit d35c8f0c25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      ethclient/gethclient/gethclient.go

@ -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
}

Loading…
Cancel
Save