fix: temporarily use testnet instead of prool for fee-payer CI test #359
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.
motivation
fee-payer CI test is failing with liquidity issues. Debugged and found that a changed ABI also breaks the test. Upstream changes to viem will fix in wevm/viem#4201 but we can get CI to pass for the time being by pointing to testnet instead
change
Run
pnpm test:testnetfor CI teststesting
""
Greptile Summary
Temporarily switches CI tests to use testnet instead of prool local instance to work around liquidity issues and ABI breaking changes. Once the Moderato hardfork lands in viem (wevm/viem#4201), this should be reverted to use the prool instance again.
pnpm testtopnpm test:testnetin fee-payer CI workflowTEMPO_ENVenv var in workflow still set tolocalnet(the test script overrides this, but could cause confusion)Confidence Score: 4/5
Important Files Changed
pnpm testtopnpm test:testnetas temporary workaround for liquidity issues and ABI changes. Minor inconsistency withTEMPO_ENVenv var still set to localnet.Sequence Diagram
sequenceDiagram participant GH as GitHub Actions participant WF as test-fee-payer.yml participant PKG as package.json participant VC as vitest.config.ts participant TS as Test Suite GH->>WF: Trigger workflow WF->>WF: Set TEMPO_ENV=localnet (env var) WF->>PKG: Run pnpm test:testnet PKG->>PKG: Set TEMPO_ENV=testnet (overrides) PKG->>VC: Execute vitest --run VC->>VC: Read TEMPO_ENV=testnet VC->>VC: Set RPC URL to https://rpc.testnet.tempo.xyz VC->>VC: Skip prool local setup (line 33) VC->>TS: Run tests against testnet TS->>TS: Execute fee-payer integration tests TS-->>GH: Return test results