Skip to content

Leios: Use BLS keys from command line - #2190

Merged
ch1bo merged 12 commits into
leios-prototypefrom
ch1bo/use-bls-keys
Aug 9, 2026
Merged

Leios: Use BLS keys from command line#2190
ch1bo merged 12 commits into
leios-prototypefrom
ch1bo/use-bls-keys

Conversation

@ch1bo

@ch1bo ch1bo commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

ch1bo added 4 commits August 9, 2026 19:49
This is good enough for the prototype, while a cleaner design would
distinguish Praos-only or Praos+Leios "can be leader evidence type".
@ch1bo
ch1bo force-pushed the ch1bo/use-bls-keys branch from 3aa08ab to a2ed44a Compare August 9, 2026 17:49
@ch1bo
ch1bo force-pushed the ch1bo/use-bls-keys branch from a2ed44a to 50f30a2 Compare August 9, 2026 17:49
@ch1bo
ch1bo changed the base branch from ch1bo/high-throughput-mempool to leios-prototype August 9, 2026 18:00
@ch1bo
ch1bo marked this pull request as ready for review August 9, 2026 18:00
@ch1bo
ch1bo force-pushed the ch1bo/use-bls-keys branch 5 times, most recently from e04ddb4 to d314631 Compare August 9, 2026 19:13
ch1bo added 3 commits August 9, 2026 21:24
Constrain crypton to make sure we use memory (still, instead of ram)
For early-bootstrap (test) networks that hard-fork into an era at epoch 0 or 1
(CardanoTriggerHardForkAtEpoch -- test-only; real networks use
AtDefaultVersion), copy the genesis-seeded ssStakeMark into ssStakeSet/ssStakeGo
so the stake distribution -- and hence the Leios committee, which reads nesPd --
is fully active from the first epochs instead of only after the ~2-epoch stake
snapshot pipeline. hard fork at epoch 0 => go = set = mark; epoch 1 => set =
mark; epoch >= 2 / mainnet => unchanged.

Benefits the Leios ThreadNet tests and any genesis-keyed devnet: the committee
is stake-active from epoch 0, so voting and EB certification run immediately.
@ch1bo
ch1bo force-pushed the ch1bo/use-bls-keys branch 2 times, most recently from 27bb4e2 to 452a67b Compare August 9, 2026 19:54
@ch1bo
ch1bo force-pushed the ch1bo/use-bls-keys branch from 452a67b to 8e88d89 Compare August 9, 2026 20:07
@ch1bo
ch1bo merged commit f611049 into leios-prototype Aug 9, 2026
0 of 5 checks passed
@ch1bo
ch1bo deleted the ch1bo/use-bls-keys branch August 9, 2026 20:08
ch1bo added a commit that referenced this pull request Aug 9, 2026
* Not derive the BLS keys anymore, but instead take them from the
cardano-node CLI
* Add BLS keys to the `PraosCanBeLeader`
* Use the BLS keys from the ledger `PoolDistr`
IntersectMBO/cardano-ledger#5988
* Switch to a stake-based committee selection that supports key-less
seats IntersectMBO/cardano-base#693
* Generate and use new BLS keys in the `ThreadNet` tests
* Seed the `set` and `go` stake snapshots when hard-forking at epoch 0
or 1, also PR onto `main` in
#2191
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Register BLS keys to enable stake-based committee selection Add BLS signing key to cardano-node run

1 participant