Commit 9d537f5 1 parent 8321fe2 commit 9d537f5 Copy full SHA for 9d537f5
File tree 2 files changed +10
-0
lines changed
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{} {
665
665
if msg .AccessList != nil {
666
666
arg ["accessList" ] = msg .AccessList
667
667
}
668
+ if msg .BlobGasFeeCap != nil {
669
+ arg ["maxFeePerBlobGas" ] = (* hexutil .Big )(msg .BlobGasFeeCap )
670
+ }
671
+ if msg .BlobHashes != nil {
672
+ arg ["blobVersionedHashes" ] = msg .BlobHashes
673
+ }
668
674
return arg
669
675
}
670
676
Original file line number Diff line number Diff line change @@ -152,6 +152,10 @@ type CallMsg struct {
152
152
Data []byte // input data, usually an ABI-encoded contract method invocation
153
153
154
154
AccessList types.AccessList // EIP-2930 access list.
155
+
156
+ // For BlobTxType
157
+ BlobGasFeeCap * big.Int
158
+ BlobHashes []common.Hash
155
159
}
156
160
157
161
// A ContractCaller provides contract calls, essentially transactions that are executed by
You can’t perform that action at this time.
0 commit comments