-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
Move config parameters for ExecutionTimeEstimate mode into protocol and node configs #21466
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
aaa1398
to
d3f94bc
Compare
d3f94bc
to
8b779fb
Compare
8b779fb
to
e3e6a7d
Compare
Also includes some minor cleanups, most notably removing the absolute limit param for this mode since we always set it to u64::MAX. Stacked on PR #21466
@@ -3001,12 +3009,12 @@ impl AuthorityPerEpochStore { | |||
estimates, | |||
} in execution_time_observations | |||
{ | |||
let Some(estimator) = execution_time_estimator.as_mut() else { | |||
error!("dropping ExecutionTimeObservation from possibly-Byzantine authority {authority:?} sent when ExecutionTimeEstimate mode is not enabled"); |
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 make this a debug_fatal! and then it'll get reported in metrics?
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.
the reason I didn't do this is it's not an invariant violation: any (non-)byzantine validator can send us an unexpected message if they feel like it and we should drop it, doesn't mean something broke locally
Also includes some minor cleanups, most notably removing the absolute limit param for this mode since we always set it to u64::MAX. Stacked on PR #21466
…nd node configs (#21466) --- Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] gRPC: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.