Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
eventhandler: implement handleOperatorRemoved #1796
base: stage
Are you sure you want to change the base?
eventhandler: implement handleOperatorRemoved #1796
Changes from all commits
30ee83d
a77c3d3
e8660f2
724a2ab
5620556
444bbc2
0fc0a0a
93b3aa5
ba53fe1
08fd9b4
a2060e2
6c24b6a
8b8abee
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 238 in cli/operator/node.go
Codecov / codecov/patch
cli/operator/node.go#L238
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.
I think we are removing the wrong operator here (wrong ID - not the one this test added) - this is because
createOperators
starts numerating operators with1
(not0
) - not a big deal this being the last test ... but still better adjust it to useop[0].id
insteadThere 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.
Actually, don't bother changing it just yet - I'm preparing a change (see #1796 (comment)) you'll probably wanna use (and will include this too).
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.
Addressed in #1842
Check warning on line 99 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L95-L99
Check warning on line 106 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L102-L106
Check warning on line 112 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L109-L112
Check warning on line 116 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L114-L116
Check warning on line 122 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L119-L122
Check warning on line 128 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L126-L128
Check warning on line 165 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L164-L165
Check warning on line 172 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L171-L172
Check warning on line 182 in eth/eventhandler/handlers.go
Codecov / codecov/patch
eth/eventhandler/handlers.go#L181-L182