fix(ci): use fresh wallet for anvil fork tests #255
Merged
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.
Summary
Fix flaky
ANVIL FORK: FORGE SCRIPT BROADCASTfailures caused by fee token exhaustion.Motivation
The anvil fork tests reused
$PK— the same wallet drained by 27+ prior devnet transactions (liquidity additions, DEX swaps, sponsor tests, batch tests). By the time the fork snapshot was taken, the account had insufficient PathUSD to pay gas, causing intermittentOut of gas: gas required exceeds allowance: 0andInsufficient funds for gas * price + valueerrors.Failing workflow: tempo-tests-wmj9p
Thread: https://tempoxyz.slack.com/archives/C0A6PD3BQ3F/p1770616527072009
Changes
FORK_PK/FORK_ADDR) and fund it viatempo_fundAddressbefore starting the forked anvil$PKreferences in the anvil fork section with$FORK_PKTesting
N/A — CI script change, will be validated by the next tempo-tests workflow run.