Skip to content
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

[CAPPL-434] feat(deployment/keystone): addNodes generate MCMS proposal #16098

Merged
merged 7 commits into from
Jan 30, 2025

Conversation

MStreet3
Copy link
Contributor

@MStreet3 MStreet3 commented Jan 28, 2025

This PR enables MCMS proposal generation for AddNodes and AddDONs on the CapabilityRegistry. If there are no new nodes to add or no new DONs to add, then the MCMS ops are empty.

Requires

Supports

@MStreet3 MStreet3 requested review from a team as code owners January 28, 2025 14:27
@MStreet3 MStreet3 requested a review from krehermann January 28, 2025 14:27
@MStreet3 MStreet3 force-pushed the cappl-434/add-nodes-mcms-call branch 2 times, most recently from 5fa0a52 to b596412 Compare January 29, 2025 20:33
@MStreet3 MStreet3 changed the title Cappl 434/add nodes mcms call [CAPPL-434] feat(deployment/keystone): addNodes generate MCMS proposal Jan 29, 2025
@MStreet3 MStreet3 force-pushed the cappl-434/add-nodes-mcms-call branch from b596412 to 1221781 Compare January 29, 2025 20:42
@MStreet3 MStreet3 enabled auto-merge January 29, 2025 20:49
@MStreet3 MStreet3 requested review from a team as code owners January 29, 2025 21:06
@MStreet3 MStreet3 force-pushed the cappl-434/add-nodes-mcms-call branch from 483ea09 to 380aa0e Compare January 29, 2025 21:14
@smartcontractkit smartcontractkit deleted a comment from github-actions bot Jan 29, 2025
@MStreet3 MStreet3 force-pushed the cappl-434/add-nodes-mcms-call branch from 380aa0e to 5ef674e Compare January 29, 2025 21:23
Copy link
Contributor

github-actions bot commented Jan 29, 2025

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

@MStreet3 MStreet3 force-pushed the cappl-434/add-nodes-mcms-call branch from 5ef674e to 2f273fd Compare January 29, 2025 22:08
@MStreet3 MStreet3 requested a review from a team as a code owner January 29, 2025 22:08
@MStreet3 MStreet3 requested a review from a team as a code owner January 30, 2025 14:58
@MStreet3 MStreet3 force-pushed the cappl-434/add-nodes-mcms-call branch 2 times, most recently from e137571 to 8e13abe Compare January 30, 2025 15:15
@@ -111,7 +111,7 @@ abigen: ## Build & install abigen.
.PHONY: generate
generate: abigen codecgen mockery protoc gomods ## Execute all go:generate commands.
## Updating PATH makes sure that go:generate uses the version of protoc installed by the protoc make command.
export PATH=$(HOME)/.local/bin:$(PATH); gomods -w go generate -x ./...
export PATH="$(HOME)/.local/bin:$(PATH)"; gomods -w go generate -x ./...
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prevents failure due to Visual Studio Code.app in PATH.

uniqueNodeParams = append(uniqueNodeParams, v)
lggr.Debugw("checking for existing nodes", "count", len(nodeIDToParams))

nodes2Add, err := getNodesToRegister(registry, nodeIDToParams)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only register nodes not on the contract

agparadiso
agparadiso previously approved these changes Jan 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 30, 2025
@MStreet3 MStreet3 enabled auto-merge January 30, 2025 16:31
@MStreet3 MStreet3 added this pull request to the merge queue Jan 30, 2025
@MStreet3 MStreet3 removed this pull request from the merge queue due to a manual request Jan 30, 2025
@MStreet3 MStreet3 enabled auto-merge January 30, 2025 16:47
krehermann
krehermann previously approved these changes Jan 30, 2025
@MStreet3 MStreet3 added this pull request to the merge queue Jan 30, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jan 30, 2025
#16098)

* fix(keystone/changeset): register nodes via mcms proposal

* fix(keystone/changeset): adds unit test for add don mcms proposal

* refactor(keyston/changeset): minor refactor

* fix(keystone/changeset): lint test file

* fix path spec in GNUMakefile

* fix(deployment/keystone): find nodes to compare instead of iterate
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 30, 2025
@MStreet3 MStreet3 added this pull request to the merge queue Jan 30, 2025
Merged via the queue into develop with commit ddce630 Jan 30, 2025
185 of 187 checks passed
@MStreet3 MStreet3 deleted the cappl-434/add-nodes-mcms-call branch January 30, 2025 20:26
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.

5 participants