-
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.
### Description fixes the `rewards:show` to work on cel2 #### Other changes More Cel2 coverage in wrappers ### Tested _An explanation of how the changes were tested or an explanation as to why they don't need to be._ ### Related issues - Fixes #[issue number here] <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on improving support for Layer 2 (L2) functionality within the Celo ecosystem, including deprecating certain methods and enhancing compatibility for L2 operations. ### Detailed summary - Updated `rewards:show` command description to indicate removal in L2. - Added backward compatibility for methods using epoch's block numbers in `@celo/contractkit`. - Deprecated methods in `DowntimeSlasher`, `Governance`, and `Validators` for L2 support. - Adjusted tests to accommodate L2 changes, including new functionality for fetching epoch block information. - Enhanced coverage for `show` and `show-l2` commands with additional tests. > The following files were skipped due to too many changes: `docs/sdk/contractkit/classes/wrappers_Election.ElectionWrapper.md`, `docs/sdk/contractkit/classes/wrappers_Validators.ValidatorsWrapper.md` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information
1 parent
36c4369
commit d5c9204
Showing
40 changed files
with
890 additions
and
192 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/celocli': patch | ||
--- | ||
|
||
Fix rewards:show for L2 |
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 | ||
--- | ||
|
||
Backwards compat for some methods using epoch's block numbers |
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.