Skip to content

[release][v1.46] Enable ChunkyDKG Shadow V1#19909

Merged
ibalajiarun merged 2 commits into
aptos-release-v1.46from
ibalajiarun/chunky-dkg-shadow-v1-v1.46
Jun 4, 2026
Merged

[release][v1.46] Enable ChunkyDKG Shadow V1#19909
ibalajiarun merged 2 commits into
aptos-release-v1.46from
ibalajiarun/chunky-dkg-shadow-v1-v1.46

Conversation

@ibalajiarun

@ibalajiarun ibalajiarun commented May 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds enable-chunky-dkg-shadow-v1.yaml and the corresponding governance script to flip the on-chain ChunkyDKGConfig to ConfigShadowV1.
  • Parameters: secrecy threshold 1/2, reconstruction threshold 2/3, grace_period_secs = 60.
  • Shadow mode runs chunky DKG alongside the regular DKG; if chunky DKG hasn't completed within the grace period, the epoch change is forced.

Test plan

  • Generate proposal artifacts with aptos-release-builder against this yaml.
  • Verify on testnet/forge that ChunkyDKG starts in shadow mode after reconfig and that the grace period kicks in if chunky DKG stalls.

Note: shadow mode is only exercised on a network where consensus_config::validator_txn_enabled() and randomness_config::enabled() are already true.

🤖 Generated with Claude Code

@trunk-io

trunk-io Bot commented May 27, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@JoshLind JoshLind left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀

@ibalajiarun ibalajiarun force-pushed the ibalajiarun/chunky-dkg-shadow-v1-v1.46 branch 6 times, most recently from fc381db to 0b85660 Compare May 28, 2026 20:03
Add a governance proposal that switches the on-chain ChunkyDKG config
to ConfigShadowV1 (1/2 secrecy, 2/3 reconstruction, 60s grace period),
running chunky DKG alongside regular DKG.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ibalajiarun ibalajiarun force-pushed the ibalajiarun/chunky-dkg-shadow-v1-v1.46 branch from 0b85660 to 505c576 Compare May 28, 2026 20:47
Single-step proposal that switches the on-chain ChunkyDKG config to
ConfigV1 (1/2 secrecy, 2/3 reconstruction). Assumes the encrypted-mempool
framework resources are already initialized on the target network.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ibalajiarun ibalajiarun force-pushed the ibalajiarun/chunky-dkg-shadow-v1-v1.46 branch from 07a9ca7 to e521c49 Compare June 1, 2026 15:56
@ibalajiarun ibalajiarun merged commit 4bd7f81 into aptos-release-v1.46 Jun 4, 2026
107 of 111 checks passed
@ibalajiarun ibalajiarun deleted the ibalajiarun/chunky-dkg-shadow-v1-v1.46 branch June 4, 2026 18:39
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