-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brings Fixes related to L2 contracts from #400 to pre major change ve… (
#409) ### Description Backport of fixes related to contracts post L2 hard for downtimeslasher, epoch manager, score manager, etc ### Related issues #400 ### Backwards compatibility YES ### Documentation YES <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on upgrading dependencies, renaming functions, and enhancing the `EpochManagerWrapper` functionality in the Celo project, particularly around epoch management and validator election processes. ### Detailed summary - Upgraded `@celo/devchain-anvil` and `@celo/abis-12` dependencies. - Renamed `getElected` to `getElectedAccounts` in `EpochManagerWrapper`. - Updated version checks in tests and code to reflect new version requirements. - Added new tests for epoch management functionalities. - Adjusted fee currency addresses in tests and configurations. > The following files were skipped due to too many changes: `docs/sdk/contractkit/classes/wrappers_EpochManager.EpochManagerWrapper.md`, `packages/cli/src/commands/network/__snapshots__/contracts.test.ts.snap`, `packages/cli/src/commands/network/__snapshots__/contracts-l2.test.ts.snap`, `docs/sdk/contractkit/classes/kit.ContractKit.md` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information
Showing
45 changed files
with
532 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@celo/dev-utils': patch | ||
--- | ||
|
||
Upgrades to latest devchain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@celo/contractkit': patch | ||
--- | ||
|
||
Renames `getElected` and its usages to `getElectedAccounts` for `EpochManagerWrapper` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.