-
Notifications
You must be signed in to change notification settings - Fork 222
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
Validate blockhash that the relayer responds with #299
Conversation
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
04949a4
to
a554ed3
Compare
8b7fa1a
to
575926b
Compare
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.
Looks like a good check to have π one small suggestion though.
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
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.
LGTM π
* Validate blockhash that the relayer responds with * update test * update getPayload response hash check * Update server/service_test.go Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com> Co-authored-by: Chris Hager <chris@linuxuser.at> Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
π Summary
Validates the block hash the relay responds with the hash calculated from the relay block.
β± Motivation and Context
Resolves #280
π References
β I have run these commands
make lint
make test-race
go mod tidy