Skip to content

feat: stateOverride usage with eth_estimateGas #6980

@TateB

Description

@TateB

Component

Anvil

Describe the feature you would like

geth recently added the optional stateOverride parameter to eth_estimateGas, with the same functionality as eth_call (see ethereum/go-ethereum#27800, ethereum/go-ethereum#27845). would be super useful to have this added to anvil!

example usage: estimating the total gas of an approve and transfer transaction, before the approve transaction has been done

Additional context

No response

Metadata

Metadata

Assignees

Labels

C-anvilCommand: anvilT-featureType: featurefirst issueA good way to start contributing

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions