Skip to content

test(subgraph-discovery): port L2Curation tests to Foundry - #1378

Merged
Maikol merged 1 commit into
chore/contracts-removal-phase-0from
test/contracts-removal-t3a-l2-curation
Oct 29, 2026
Merged

Maikol merged 1 commit into
chore/contracts-removal-phase-0from
test/contracts-removal-t3a-l2-curation

Conversation

@Maikol

@Maikol Maikol commented Oct 26, 2026

Copy link
Copy Markdown
Member

Adds a private @graphprotocol/subgraph-discovery package whose Foundry tests deploy the existing 0.7.6 L2Curation and GraphCurationToken from the @graphprotocol/contracts build output, and deletes the TypeScript tests they replace. Its shared test setup also wires L2GNS, SubgraphNFT and a mock L2 gateway, which the L2GNS port in the next PR uses. Stacked on #1377.

@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.73%. Comparing base (325aa9e) to head (0906961).
⚠️ Report is 2 commits behind head on chore/contracts-removal-phase-0.

Additional details and impacted files
@@                         Coverage Diff                         @@
##           chore/contracts-removal-phase-0    #1378      +/-   ##
===================================================================
- Coverage                            88.80%   88.73%   -0.08%     
===================================================================
  Files                                   81       81              
  Lines                                 5326     5326              
  Branches                              1132      973     -159     
===================================================================
- Hits                                  4730     4726       -4     
- Misses                                 575      579       +4     
  Partials                                21       21              
Flag Coverage Δ
unittests 88.73% <ø> (-0.08%) ⬇️

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-t2b-gateways branch from ae831d5 to 325aa9e Compare October 29, 2026 17:34
@Maikol
Maikol force-pushed the test/contracts-removal-t3a-l2-curation branch from 251f812 to 09d408a Compare October 29, 2026 17:34
@Maikol
Maikol changed the base branch from test/contracts-removal-t2b-gateways to chore/contracts-removal-phase-0 October 29, 2026 18:29
@Maikol
Maikol force-pushed the test/contracts-removal-t3a-l2-curation branch from 09d408a to 0906961 Compare October 29, 2026 18:42
@Maikol
Maikol merged commit 0906961 into chore/contracts-removal-phase-0 Oct 29, 2026
2 checks passed
@Maikol
Maikol deleted the test/contracts-removal-t3a-l2-curation branch October 29, 2026 18:45
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