-
Notifications
You must be signed in to change notification settings - Fork 682
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
Pass the nodeID downstream of acp118 verifier #3606
base: master
Are you sure you want to change the base?
Conversation
network/p2p/acp118/handler_test.go
Outdated
verifier: &testVerifier{}, | ||
name: "signature signed", | ||
cacher: &cache.Empty[ids.ID, []byte]{}, | ||
verifierErrs: nil, |
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.
This line can be deleted entirely iirc because the zero value of a slice is safe to use
@@ -10,7 +10,7 @@ require ( | |||
github.com/DataDog/zstd v1.5.2 | |||
github.com/NYTimes/gziphandler v1.1.1 | |||
github.com/antithesishq/antithesis-sdk-go v0.3.8 | |||
github.com/ava-labs/coreth v0.13.9-rc.2-encapsulate-signer |
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.
Is there a corresponding PR to coreth for this change? Wondering what this diff is for
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.
quite minimal. I can't really create a final version until this one is merged since I'd need to tag it.. but these are the expected changes : ava-labs/coreth#710
Why this should be merged
Adding the previously verified source of a message allow us to cross-validate the application level signature.
How this works
Add the nodeID to the verifier interface and pass it along.
How this was tested
Unit test was updated to validate the correctness of the code.
Need to be documented in RELEASES.md?
No.