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

Node/spy: Adds optional VAA signature verification #3854

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

bruce-riley
Copy link
Contributor

This PR enhances the spy to support optional verification of VAA signatures. Any VAA that has an invalid signature is dropped.

To use this feature, add the following config parameters.

These values should work for mainnet:

--ethRPC https://eth.drpc.org
--ethContract 0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B

These values should work for Sepolia testnet:

--ethRPC https://sepolia.drpc.org/
--ethContract 0x4a8bc80Ed5a4067f1CCf107057b8270E0cC11A78

This PR fixes issue #2888.

@bruce-riley bruce-riley marked this pull request as ready for review March 24, 2024 14:55
@evan-gray evan-gray linked an issue Mar 24, 2024 that may be closed by this pull request
bingyuyap
bingyuyap previously approved these changes Mar 24, 2024
Copy link
Contributor

@bingyuyap bingyuyap left a comment

Choose a reason for hiding this comment

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

Good work!

evan-gray
evan-gray previously approved these changes Mar 25, 2024
node/cmd/spy/vaa_verifier.go Show resolved Hide resolved
node/cmd/spy/vaa_verifier.go Show resolved Hide resolved
@bruce-riley bruce-riley merged commit 2d68005 into main Mar 25, 2024
23 checks passed
@bruce-riley bruce-riley deleted the node/spy_vaa_verifier branch March 25, 2024 19:19
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.

Wormhole Spy should validate signed VAAs before further processing
4 participants