-
Notifications
You must be signed in to change notification settings - Fork 332
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
Allow disabling header verification by setting trusted_node = true
in the chain config
#3328
Conversation
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 good! Left some minor suggestions.
config.toml
Outdated
# Enable verification of headers including in `ClientUpdate` message using the light client. | ||
# Default: true | ||
verify_headers = true | ||
|
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.
Maybe mention this is experimental. Also maybe:
# Enable verification of headers including in `ClientUpdate` message using the light client. | |
# Default: true | |
verify_headers = true | |
# Whether or not the full node is trusted. | |
# If not trusted it enables verification of headers including in `ClientUpdate` message using the light client. | |
# Note: If the full node is configured as trusted then in addition to headers not being verified, the verification traces will not be provided. This may cause failure in client updates after significant change in validator sets. | |
# Default: false | |
trusted_node = false | |
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.
verify_header
chain settingtrusted_node = true
in the chain config
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 good to me
…in the chain config (informalsystems#3328) * Disable verification of headers, and therefore generation of traces * Add `verify_headers` setting to the chain config * Cleanup * Add changelog entry * Rename `verify_headers` to `trusted_node` * Update changelog entry --------- Co-authored-by: Anca Zamfir <zamfiranca@gmail.com>
Closes: #3330
Description
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.