File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -723,6 +723,11 @@ func (b *BlockChainAPI) EstimateGas(
723723 return handleError [hexutil.Uint64 ](err , b .logger , b .collector )
724724 }
725725
726+ blockOverridesArgs , err := json .Marshal (blockOverrides )
727+ if err != nil {
728+ return handleError [hexutil.Uint64 ](err , b .logger , b .collector )
729+ }
730+
726731 txArgs , err := json .Marshal (args )
727732 if err != nil {
728733 return handleError [hexutil.Uint64 ](err , b .logger , b .collector )
@@ -733,6 +738,7 @@ func (b *BlockChainAPI) EstimateGas(
733738 RawJSON ("args" , txArgs ).
734739 Str ("blockTag" , fmt .Sprintf ("%v" , blockNumberOrHash )).
735740 RawJSON ("stateOverrides" , stateOverridesArgs ).
741+ RawJSON ("blockOverrides" , blockOverridesArgs ).
736742 Logger ()
737743
738744 if err := b .rateLimiter .Apply (ctx , EthEstimateGas ); err != nil {
You can’t perform that action at this time.
0 commit comments