Leios: Use BLS keys from command line - #2190
Merged
Merged
Conversation
ch1bo
requested review from
bladyjoker and
nfrisby
and removed request for
nfrisby
August 7, 2026 16:11
This was
linked to
issues
Aug 7, 2026
ch1bo
force-pushed
the
ch1bo/use-bls-keys
branch
from
August 8, 2026 18:25
af7efc8 to
6245bc9
Compare
This is good enough for the prototype, while a cleaner design would distinguish Praos-only or Praos+Leios "can be leader evidence type".
ch1bo
force-pushed
the
ch1bo/use-bls-keys
branch
from
August 9, 2026 17:49
3aa08ab to
a2ed44a
Compare
ch1bo
force-pushed
the
ch1bo/use-bls-keys
branch
from
August 9, 2026 17:49
a2ed44a to
50f30a2
Compare
ch1bo
changed the base branch from
ch1bo/high-throughput-mempool
to
leios-prototype
August 9, 2026 18:00
ch1bo
marked this pull request as ready for review
August 9, 2026 18:00
ch1bo
force-pushed
the
ch1bo/use-bls-keys
branch
5 times, most recently
from
August 9, 2026 19:13
e04ddb4 to
d314631
Compare
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
force-pushed
the
ch1bo/use-bls-keys
branch
2 times, most recently
from
August 9, 2026 19:54
27bb4e2 to
452a67b
Compare
ch1bo
force-pushed
the
ch1bo/use-bls-keys
branch
from
August 9, 2026 20:07
452a67b to
8e88d89
Compare
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PraosCanBeLeaderPoolDistrLeios: add LeiosKey to PoolDistr cardano-ledger#5988ThreadNettestssetandgostake snapshots when hard-forking at epoch 0 or 1, also PR ontomainin Seed initial stake snapshots on epoch-0/1 hard fork #2191