viem icon indicating copy to clipboard operation
viem copied to clipboard

Added stateOverride to estimateGas action

Open conwayconstar opened this issue 1 year 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

🦋 Changeset detected

Latest commit: e62b65bb827965aca0d9d996206008257e485b6e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar May 10 '24 08:05 changeset-bot[bot]

@conwayconstar is attempting to deploy a commit to the wevm Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 10 '24 08:05 vercel[bot]

Thanks! Superseded by https://github.com/wevm/viem/pull/2275. Your commits are preserved.

jxom avatar May 19 '24 08:05 jxom