Update ethclient.go

This commit is contained in:
Felix Lange 2024-02-14 19:09:19 +01:00 committed by GitHub
parent 5273e55f45
commit 74196d4cc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -666,7 +666,7 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
arg["accessList"] = msg.AccessList
}
if msg.BlobGasFeeCap != nil {
arg["maxFeePerBlobGas"] = msg.BlobGasFeeCap
arg["maxFeePerBlobGas"] = (*hexutil.Big)(msg.BlobGasFeeCap)
}
if msg.BlobHashes != nil {
arg["blobVersionedHashes"] = msg.BlobHashes