viem
viem copied to clipboard
Added stateOverride to estimateGas action
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 toestimateGas
action - Updated
WalletRpcSchema
type ineip1193.ts
- Added
stateOverride
handling inestimateGas
function - Imported
parseStateOverride
andStateOverride
types
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}