Skip to content

test(graph-core): port governance and proxy tests to Foundry - #1375

Merged
Maikol merged 2 commits into
chore/contracts-removal-phase-0from
test/contracts-removal-t1-graph-core
Oct 29, 2026
Merged

Maikol merged 2 commits into
chore/contracts-removal-phase-0from
test/contracts-removal-t1-graph-core

Conversation

@Maikol

@Maikol Maikol commented Oct 23, 2026

Copy link
Copy Markdown
Member

Adds a private @graphprotocol/graph-core package whose Foundry tests deploy the existing 0.7.6 Controller, Governed and proxy contracts from the @graphprotocol/contracts build output, and deletes the TypeScript tests they replace. A small ManagedMock in packages/contracts/contracts/tests stands in for the protocol contracts the old tests borrowed. Stacked on #1374; it will be retargeted to chore/contracts-removal-phase-0 once that merges.

@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@                         Coverage Diff                         @@
##           chore/contracts-removal-phase-0    #1375      +/-   ##
===================================================================
- Coverage                            91.47%   90.89%   -0.59%     
===================================================================
  Files                                   81       81              
  Lines                                 5326     5326              
  Branches                              1132     1132              
===================================================================
- Hits                                  4872     4841      -31     
- Misses                                 433      464      +31     
  Partials                                21       21              
Flag Coverage Δ
unittests 90.89% <ø> (-0.59%) ⬇️

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 changed the base branch from test/contracts-removal-t0-coverage-functions to chore/contracts-removal-phase-0 October 29, 2026 17:27
@Maikol
Maikol force-pushed the test/contracts-removal-t1-graph-core branch from b03d044 to e7d309a Compare October 29, 2026 17:34
@Maikol
Maikol merged commit e7d309a into chore/contracts-removal-phase-0 Oct 29, 2026
4 checks passed
@Maikol
Maikol deleted the test/contracts-removal-t1-graph-core branch October 29, 2026 18:02
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