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

KSI-189: Implement remove nodes #13102

Merged
merged 2 commits into from
May 7, 2024
Merged

Conversation

cds95
Copy link
Contributor

@cds95 cds95 commented May 6, 2024

No description provided.

Copy link
Contributor

github-actions bot commented May 6, 2024

Go solidity wrappers are out-of-date, regenerate them via the make wrappers-all command

@cds95 cds95 changed the title implement remove nodes KSI-189: Implement remove nodes May 6, 2024
Comment on lines +290 to +292
if (!isOwner && msg.sender != nodeOperator.admin) revert AccessForbidden();
delete s_nodes[p2pId];
emit NodeRemoved(p2pId);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Once DON management is complete, we must validate that the node doesn't belong to any DONs. It'd be great if you could create a ticket to keep track of it.

DeividasK
DeividasK previously approved these changes May 6, 2024
Base automatically changed from KSI-165/modify-nodes-capability-registry to develop May 6, 2024 10:34
@DeividasK DeividasK dismissed their stale review May 6, 2024 10:34

The base branch was changed.

@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@DeividasK DeividasK enabled auto-merge May 7, 2024 08:53
@DeividasK DeividasK added this pull request to the merge queue May 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2024
@DeividasK DeividasK added this pull request to the merge queue May 7, 2024
Merged via the queue into develop with commit 700a827 May 7, 2024
107 checks passed
@DeividasK DeividasK deleted the KSI-189/implement-remove-nodes branch May 7, 2024 11:15
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.

3 participants