File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -665,6 +665,12 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
665665 if msg .AccessList != nil {
666666 arg ["accessList" ] = msg .AccessList
667667 }
668+ if msg .BlobGasFeeCap != nil {
669+ arg ["maxFeePerBlobGas" ] = (* hexutil .Big )(msg .BlobGasFeeCap )
670+ }
671+ if msg .BlobHashes != nil {
672+ arg ["blobVersionedHashes" ] = msg .BlobHashes
673+ }
668674 return arg
669675}
670676
Original file line number Diff line number Diff line change @@ -152,6 +152,10 @@ type CallMsg struct {
152152 Data []byte // input data, usually an ABI-encoded contract method invocation
153153
154154 AccessList types.AccessList // EIP-2930 access list.
155+
156+ // For BlobTxType
157+ BlobGasFeeCap * big.Int
158+ BlobHashes []common.Hash
155159}
156160
157161// A ContractCaller provides contract calls, essentially transactions that are executed by
You can’t perform that action at this time.
0 commit comments