-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Conversation
5fa0a52
to
b596412
Compare
b596412
to
1221781
Compare
483ea09
to
380aa0e
Compare
380aa0e
to
5ef674e
Compare
AER Report: CI Core ran successfully ✅AER Report: Operator UI CI ran successfully ✅ |
5ef674e
to
2f273fd
Compare
e137571
to
8e13abe
Compare
@@ -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 ./... |
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.
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) |
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.
only register nodes not on the contract
9006f57
#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
51f7b29
Quality Gate passedIssues Measures |
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