Skip to content

refactor(graph-core): move EpochManager - #1398

Merged
Maikol merged 1 commit into
chore/contracts-removal-phase-0from
refactor/contracts-removal-p4-graph-core-epochs
Nov 3, 2026
Merged

Maikol merged 1 commit into
chore/contracts-removal-phase-0from
refactor/contracts-removal-p4-graph-core-epochs

Conversation

@Maikol

@Maikol Maikol commented Nov 3, 2026

Copy link
Copy Markdown
Member

This moves EpochManager and its storage contract from packages/contracts to graph-core with identical bytecode, and moves horizon's EpochManager tests with them. EpochManager's SafeMath import now goes through @openzeppelin/contracts-v3, an alias of OpenZeppelin 3.4.2, because graph-core uses OpenZeppelin 5, and a new lint step fails if any other package imports that alias.

@codecov

codecov Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.74%. Comparing base (a4c3c06) to head (509197e).
⚠️ Report is 2 commits behind head on chore/contracts-removal-phase-0.

Additional details and impacted files
@@                       Coverage Diff                        @@
##           chore/contracts-removal-phase-0    #1398   +/-   ##
================================================================
  Coverage                            98.74%   98.74%           
================================================================
  Files                                   39       39           
  Lines                                 2699     2699           
  Branches                               477      477           
================================================================
  Hits                                  2665     2665           
  Misses                                  13       13           
  Partials                                21       21           
Flag Coverage Δ
unittests 98.74% <ø> (ø)

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 refactor/contracts-removal-p3-graph-token-discovery to chore/contracts-removal-phase-0 November 3, 2026 21:53
@Maikol
Maikol merged commit 509197e into chore/contracts-removal-phase-0 Nov 3, 2026
4 checks passed
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