Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

fix: use publicClient for estimate gas#438

Merged
coffeexcoin merged 4 commits intomainfrom
fix/estimate-gas
Apr 15, 2026
Merged

fix: use publicClient for estimate gas#438
coffeexcoin merged 4 commits intomainfrom
fix/estimate-gas

Conversation

@coffeexcoin
Copy link
Copy Markdown
Collaborator

@coffeexcoin coffeexcoin commented Apr 15, 2026

PR-Codex overview

This PR focuses on updating the agw-client package to use publicClient for estimating gas instead of the internal transport, along with several dependency updates and modifications to test setups.

Detailed summary

  • Replaced client with publicClient in prepareTransaction.ts for gas estimation.
  • Updated prool dependency from version 0.0.23 to 0.2.4.
  • Added a global setup in debug-global-setup.ts.
  • Modified anvil.ts to use Instance.anvil.Parameters and Server.create.
  • Adjusted test files to reflect changes in publicClient usage.
  • Enhanced error handling for unsupported methods in requests.

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

@coffeexcoin coffeexcoin requested a review from cygaar as a code owner April 15, 2026 13:10
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 15, 2026

🦋 Changeset detected

Latest commit: 25db6d9

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

This PR includes changesets to release 4 packages
Name Type
@abstract-foundation/agw-client Patch
@abstract-foundation/agw-react Patch
@abstract-foundation/agw-web Patch
@abstract-foundation/web3-react-agw 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

@coffeexcoin coffeexcoin merged commit a89e697 into main Apr 15, 2026
7 checks passed
@coffeexcoin coffeexcoin deleted the fix/estimate-gas branch April 15, 2026 13:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant