-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add epochs:send-validator-payment command #510
Add epochs:send-validator-payment command #510
Conversation
🦋 Changeset detectedLatest commit: bfc818e The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #510 +/- ##
==========================================
+ Coverage 76.31% 76.39% +0.07%
==========================================
Files 246 247 +1
Lines 10386 10421 +35
Branches 1639 1633 -6
==========================================
+ Hits 7926 7961 +35
- Misses 2373 2401 +28
+ Partials 87 59 -28
|
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ `master` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `master`.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ # Releases ## @celo/[email protected] ### Minor Changes - [#511](#511) [`be62336`](be62336) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Add useSafe flags for governance:propose and governance:withdraw commands - [#510](#510) [`0d307db`](0d307db) Thanks [@shazarre](https://github.com/shazarre)! - Add `epochs:send-validator-payment` command to support sending validator, their group and delegation beneficiary allocated epoch payments ### Patch Changes - [#514](#514) [`4a1d9e7`](4a1d9e7) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Fix bug with GovernanceSlasher missing version causing failure. defend against exceptions when printing contracts info - Updated dependencies \[[`0d307db`](0d307db), [`a8e5099`](a8e5099)]: - @celo/[email protected] - @celo/[email protected] - @celo/[email protected] - @celo/[email protected] ## @celo/[email protected] ### Minor Changes - [#516](#516) [`a8e5099`](a8e5099) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Add (Beta) support for signTypedData in @celo/viem-account-ledger and @celo/wallet-ledger when using with the `ethereum` ledger app. when using with the `ethereum` ledger app. ### Patch Changes - Updated dependencies \[]: - @celo/[email protected] - @celo/[email protected] ## @celo/[email protected] ### Minor Changes - [#516](#516) [`a8e5099`](a8e5099) Thanks [@nicolasbrugneaux](https://github.com/nicolasbrugneaux)! - Add (Beta) support for signTypedData in @celo/viem-account-ledger and @celo/wallet-ledger when using with the `ethereum` ledger app. when using with the `ethereum` ledger app. ## @celo/[email protected] ### Patch Changes - [#510](#510) [`0d307db`](0d307db) Thanks [@shazarre](https://github.com/shazarre)! - Expose `sendValidatorPayment` methods for `EpochManager` contract wrapper - Updated dependencies \[]: - @celo/[email protected] ## @celo/[email protected] ### Patch Changes - Updated dependencies \[]: - @celo/[email protected] - @celo/[email protected] - @celo/[email protected] ## @celo/[email protected] ### Patch Changes - Updated dependencies \[]: - @celo/[email protected] - @celo/[email protected] - @celo/[email protected] ## @celo/[email protected] ### Patch Changes - Updated dependencies \[]: - @celo/[email protected] - @celo/[email protected] - @celo/[email protected] ## @celo/[email protected] ### Patch Changes - Updated dependencies \[]: - @celo/[email protected] ## @celo/[email protected] ### Patch Changes - Updated dependencies \[]: - @celo/[email protected] ## @celo/[email protected] ## @celo/[email protected] <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating various packages to version `7.0.0-beta.1` and `9.0.1-beta.1`, along with minor changes and dependency updates across the Celo SDK and related libraries. ### Detailed summary - Updated versions in `CHANGELOG.md` for multiple packages to `7.0.0-beta.1`. - Updated `@celo/wallet-base` version to `7.0.0-beta.1` in several `package.json` files. - Added new entries in `CHANGELOG.md` for `@celo/viem-account-ledger` and `@celo/contractkit`. - Introduced minor changes in `@celo/celocli` and `@celo/wallet-ledger` with new commands and features. - Updated dependencies for multiple packages to reflect the new versions. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This PR adds
epochs:send-validator-payment
command to distribute validator epoch payments.Other changes
Exposed needed contract methods on
EpochManager
wrapper.Tested
Ran tests locally.
How to QA
Ran tests locally and ran the command, successfully sent a transaction.
Related issues
PR-Codex overview
This PR introduces the
sendValidatorPayment
method in theEpochManager
contract wrapper and adds a CLI command to facilitate sending epoch payments to validators, their groups, and delegation beneficiaries. It also includes tests for the new functionality.Detailed summary
sendValidatorPayment
method inEpochManager
wrapper.epochs:send-validator-payment
CLI command.sendValidatorPayment
method.