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

Enable gas-budget-based congestion control with overage & absolute cap #20072

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

aschran
Copy link
Contributor

@aschran aschran commented Oct 29, 2024

Description

  • Changes congestion control mode to use gas budget with cap.
  • Sets a separate (lower) limit for randomness-using tx.
  • Allows up to one tx per-commit per-object to exceed the budget, with accumulated debt tracking.
  • Adds absolute capped cost at a multiple of per-commit budget.

Test plan

Unit tests & simtests in PRs adding these ProtocolConfig parameters.


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: Enables gas-budget-based congestion control with allowed overage and absolute cap.
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

- Changes congestion control mode to use gas budget with cap.
- Sets a separate (lower) limit for randomness-using tx.
- Allows up to one tx per-commit per-object to exceed the
  budget, with accumulated debt tracking.
- Adds absolute capped cost at a multiple of per-commit budget.
Copy link

vercel bot commented Oct 29, 2024

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 Oct 29, 2024 5:29pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Oct 29, 2024 5:29pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Oct 29, 2024 5:29pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Oct 29, 2024 5:29pm

@aschran aschran merged commit d526a74 into main Oct 29, 2024
52 checks passed
@aschran aschran deleted the aschran/cc-accum-enable branch October 29, 2024 20:28
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