Skip to content

Commit

Permalink
change MsgIsGasEstimation method to MsgIsNonMutating
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed May 17, 2023
1 parent 69a88c7 commit 3403c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/vm/evm_arbitrum.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type TxProcessingHook interface {
L1BlockHash(blockCtx BlockContext, l1BlocKNumber uint64) (common.Hash, error)
GasPriceOp(evm *EVM) *big.Int
FillReceiptInfo(receipt *types.Receipt)
MsgIsGasEstimation() bool
MsgIsNonMutating() bool
}

type DefaultTxProcessor struct {
Expand Down Expand Up @@ -95,6 +95,6 @@ func (p DefaultTxProcessor) GasPriceOp(evm *EVM) *big.Int {

func (p DefaultTxProcessor) FillReceiptInfo(*types.Receipt) {}

func (p DefaultTxProcessor) MsgIsGasEstimation() bool {
func (p DefaultTxProcessor) MsgIsNonMutating() bool {
return false
}

0 comments on commit 3403c59

Please sign in to comment.