viem icon indicating copy to clipboard operation
viem copied to clipboard

Added stateOverride to estimateGas action

Open conwayconstar opened this issue 1 month ago • 2 comments

This PR adds stateOverride to estimateGas action as discussed here https://github.com/wevm/viem/discussions/2234


PR-Codex overview

The focus of this PR is to implement the stateOverride feature on the estimateGas action in the codebase.

Detailed summary

  • Added stateOverride parameter to estimateGas action
  • Updated WalletRpcSchema type in eip1193.ts
  • Added stateOverride handling in estimateGas function
  • Imported parseStateOverride and StateOverride types

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

conwayconstar avatar May 10 '24 08:05 conwayconstar