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

[Consensus] enable GC and new linearizer logic for devnet #20258

Merged
merged 6 commits into from
Jan 27, 2025

Conversation

akichidis
Copy link
Contributor

@akichidis akichidis commented Nov 13, 2024

Description

Enables consensus garbage collection and new linearization logic for devnet.

Test plan

CI/PT


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 consensus garbage collection and new linearization logic for Devnet.
  • Nodes (Validators and Full nodes):
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

Copy link

vercel bot commented Nov 13, 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 Jan 27, 2025 2:24pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Jan 27, 2025 2:24pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Jan 27, 2025 2:24pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Jan 27, 2025 2:24pm

@akichidis akichidis temporarily deployed to sui-typescript-aws-kms-test-env November 13, 2024 22:14 — with GitHub Actions Inactive
@akichidis akichidis temporarily deployed to sui-typescript-aws-kms-test-env November 14, 2024 09:26 — with GitHub Actions Inactive
@akichidis akichidis temporarily deployed to sui-typescript-aws-kms-test-env December 2, 2024 15:09 — with GitHub Actions Inactive
@akichidis akichidis force-pushed the akichidis/consensus-enable-gc-devnet branch from 939ae28 to 894594e Compare January 14, 2025 11:15
@akichidis akichidis temporarily deployed to sui-typescript-aws-kms-test-env January 14, 2025 11:16 — with GitHub Actions Inactive
@akichidis akichidis force-pushed the akichidis/consensus-enable-gc-devnet branch from 894594e to 2be101a Compare January 23, 2025 12:44
@akichidis akichidis temporarily deployed to sui-typescript-aws-kms-test-env January 23, 2025 12:44 — with GitHub Actions Inactive
@akichidis akichidis changed the title [Consensus] enable GC for devnet [Consensus] enable GC and new linearizer logic for devnet Jan 23, 2025
@akichidis akichidis marked this pull request as ready for review January 23, 2025 12:45
@akichidis akichidis requested review from a team and mystenmark as code owners January 23, 2025 12:46
@akichidis akichidis temporarily deployed to sui-typescript-aws-kms-test-env January 23, 2025 12:46 — with GitHub Actions Inactive
@akichidis akichidis temporarily deployed to sui-typescript-aws-kms-test-env January 23, 2025 13:13 — with GitHub Actions Inactive
@@ -3150,6 +3156,12 @@ impl ProtocolConfig {

cfg.feature_flags.variant_nodes = true;
}
73 => {
if chain != Chain::Mainnet && chain != Chain::Testnet {
cfg.consensus_gc_depth = Some(60);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: might be useful for some quick comment about why "60" was chosen as the gc depth

@akichidis akichidis temporarily deployed to sui-typescript-aws-kms-test-env January 27, 2025 14:23 — with GitHub Actions Inactive
@akichidis akichidis merged commit 695b712 into main Jan 27, 2025
50 of 51 checks passed
@akichidis akichidis deleted the akichidis/consensus-enable-gc-devnet branch January 27, 2025 16:48
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.

3 participants