-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[DPA-1564] fund mcm pdas changeset #16436
[DPA-1564] fund mcm pdas changeset #16436
Conversation
63f5f6d
to
b6a100b
Compare
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌1 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
3365e8d
to
9b45def
Compare
9b45def
to
2f28357
Compare
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌1 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌1 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
0f3bdbd
to
5926d60
Compare
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.
You have a few lint errors too
Flakeguard SummaryRan new or updated tests between View Flaky Detector Details | Compare Changes Found Flaky Tests ❌1 Results
ArtifactsFor detailed logs of the failed tests, please refer to the artifact failed-test-results-with-logs.json. |
|
Needs: #16246
This pull request introduces new functionality for funding MCMS signers on the Solana blockchain. The changes include the addition of a new changeset class, corresponding test cases, and a helper function to facilitate the funding process.
New functionality for funding MCMS signers:
New Changeset Class:
deployment/common/changeset/solana/fund_mcm_pdas.go
: Introduced theFundMCMSignersChangeset
class, which includes methods for verifying preconditions and applying the funding changeset. This class ensures that the deployer has sufficient funds and that the MCMS contracts are deployed before proceeding with the funding.Test Cases:
deployment/common/changeset/solana/fund_mcm_pdas_test.go
: Added comprehensive test cases for theFundMCMSignersChangeset
class, covering various scenarios such as valid preconditions, insufficient deployer balance, and missing MCMS contracts.Helper Function:
deployment/common/changeset/solana/helpers.go
: Added theFundFromDeployerKey
function to handle the transfer of SOL from the deployer to specified accounts, ensuring the transaction is confirmed.