Repository navigation
chore(ci): pin foundry to v1.8.7 (latest) - #5379
Merged
Merged
Conversation
|
@mmv08 is attempting to deploy a commit to the Wevm Team on Vercel. A member of the Team first needs to authorize it. |
|
CI pinned foundry to v1.7.1 (May 2026). Pin the latest release, v1.8.7, and update the tests that depend on Anvil's output. Snapshot updates (Anvil output changed): - Receipts omit `blobGasPrice` on non-blob transactions. - `eth_simulateV1` results include `maxUsedGas`, and the intrinsic-gas error gains an `err:` prefix. - Unknown methods return -32601 "Method not found", and unknown subscription names return a new message. - The unsigned `raw` from `eth_fillTransaction` carries a placeholder signature, so its hash changed. - After `anvil_reset`, fills use the reset block's base fee, which changes the writeContracts hashes and one `effectiveGasPrice`. - Anvil rejects a fill with only `maxPriorityFeePerGas`, so prepareTransactionRequest falls back to its own fee estimate. Test changes: - Transport tests call `eth_chainId` instead of `web3_clientVersion`. They test the RPC client, not the node, and the old snapshot held the Anvil version, so it broke on every bump. - txpool tests look up checksummed addresses, as Anvil now returns them. - `estimateGas` with only `maxPriorityFeePerGas` now asserts the node's rejection. - The local-account insufficient-funds tests pass `gas`, since Anvil's estimate now caps gas by balance and fails first with another error. - Anvil no longer forks zkSync Era, so `anvilZksync` runs a local chain with chain id 324 and `VITE_ANVIL_FORK_URL_ZKSYNC` is gone. - The six `traceAssetChanges` tests in `simulateCalls` run again: v1.8.7 includes foundry-rs/foundry#15784, the `eth_simulateV1` fix they were skipped for. Three local-account `estimateGas` tests still fail until Viem stops sending both `gasPrice` and `maxFeePerGas` from a filled request.
mmv08
force-pushed
the
chore/pin-foundry-1.8.7
branch
from
November 2, 2026 15:37
0cca4fa to
d67f8fe
Compare
jxom
enabled auto-merge (squash)
November 2, 2026 19:20
# Conflicts: # src/actions/public/fillTransaction.test.ts # src/actions/wallet/prepareTransactionRequest.test.ts
jxom
disabled auto-merge
November 2, 2026 19:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI pinned foundry to v1.7.1 (May 2026). Pin the latest release, v1.8.7, and update the tests that depend on Anvil's output.
Snapshot updates (Anvil output changed):
blobGasPriceon non-blob transactions.eth_simulateV1results includemaxUsedGas, and the intrinsic-gas error gains anerr:prefix.rawfrometh_fillTransactioncarries a placeholder signature, so its hash changed.anvil_reset, fills use the reset block's base fee, which changes the writeContracts hashes and oneeffectiveGasPrice.maxPriorityFeePerGas, so prepareTransactionRequest falls back to its own fee estimate.Test changes:
eth_chainIdinstead ofweb3_clientVersion. They test the RPC client, not the node, and the old snapshot held the Anvil version, so it broke on every bump.estimateGaswith onlymaxPriorityFeePerGasnow asserts the node's rejection.gas, since Anvil's estimate now caps gas by balance and fails first with another error.anvilZksyncruns a local chain with chain id 324 andVITE_ANVIL_FORK_URL_ZKSYNCis gone.traceAssetChangestests insimulateCallsrun again: v1.8.7 includes fix(anvil): handleeth_simulateV1calls withouttoas contract creation foundry-rs/foundry#15784, theeth_simulateV1fix they were skipped for.Three local-account
estimateGastests still fail until Viem stops sending bothgasPriceandmaxFeePerGasfrom a filled request. #5378 needs to be merged first