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

Move config parameters for ExecutionTimeEstimate mode into protocol and node configs #21466

Merged
merged 4 commits into from
Mar 13, 2025

Conversation

aschran
Copy link
Contributor

@aschran aschran commented Mar 12, 2025


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.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@aschran aschran requested a review from mystenmark as a code owner March 12, 2025 15:25
Copy link

vercel bot commented Mar 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2025 4:31pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2025 4:31pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2025 4:31pm

@aschran aschran temporarily deployed to sui-typescript-aws-kms-test-env March 13, 2025 16:29 — with GitHub Actions Inactive
aschran added a commit that referenced this pull request Mar 13, 2025
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");
Copy link
Contributor

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?

Copy link
Contributor Author

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

@aschran aschran merged commit 38b0c4b into main Mar 13, 2025
46 of 47 checks passed
@aschran aschran deleted the aschran/cc-estimator-config branch March 13, 2025 18:53
aschran added a commit that referenced this pull request Mar 13, 2025
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
aschran added a commit that referenced this pull request Mar 13, 2025
…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:
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.

2 participants