Skip to content

test(graph-token): port gateway tests to Foundry - #1377

Merged
Maikol merged 3 commits into
chore/contracts-removal-phase-0from
test/contracts-removal-t2b-gateways
Oct 29, 2026
Merged

Maikol merged 3 commits into
chore/contracts-removal-phase-0from
test/contracts-removal-t2b-gateways

Conversation

@Maikol

@Maikol Maikol commented Oct 26, 2026

Copy link
Copy Markdown
Member

Ports the L1 and L2 GraphTokenGateway tests to Foundry in @graphprotocol/graph-token, deploying the existing 0.7.6 gateways and Arbitrum bridge mocks from the @graphprotocol/contracts build output, and deletes the TypeScript tests they replace. ArbSys is faked with vm.mockCall, so the unused ArbSysMock can still be deleted later. Stacked on #1376.

@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.80%. Comparing base (e7d309a) to head (325aa9e).
⚠️ Report is 4 commits behind head on chore/contracts-removal-phase-0.

Additional details and impacted files
@@                         Coverage Diff                         @@
##           chore/contracts-removal-phase-0    #1377      +/-   ##
===================================================================
- Coverage                            90.89%   88.80%   -2.09%     
===================================================================
  Files                                   81       81              
  Lines                                 5326     5326              
  Branches                              1132     1132              
===================================================================
- Hits                                  4841     4730     -111     
- Misses                                 464      575     +111     
  Partials                                21       21              
Flag Coverage Δ
unittests 88.80% <ø> (-2.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Maikol
Maikol force-pushed the test/contracts-removal-t2a-graph-token branch from 4152c98 to 1b79322 Compare October 29, 2026 17:34
@Maikol
Maikol force-pushed the test/contracts-removal-t2b-gateways branch from ae831d5 to 325aa9e Compare October 29, 2026 17:34
@Maikol
Maikol changed the base branch from test/contracts-removal-t2a-graph-token to chore/contracts-removal-phase-0 October 29, 2026 18:08
@Maikol
Maikol merged commit 325aa9e into chore/contracts-removal-phase-0 Oct 29, 2026
6 checks passed
@Maikol
Maikol deleted the test/contracts-removal-t2b-gateways branch October 29, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant