Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
8ca995b
[Peras 25] Conformance and property tests for voting committee implem…
agustinmista May 19, 2026
ed4fef3
Updated to tip of ouroboros-network
coot May 19, 2026
ec9df6e
Updated ouroboros-network (#2046)
coot May 20, 2026
6246397
Update LSM-trees packages
jasagredo May 18, 2026
5b63b5a
Transient constraints for windows cross-compilation
jasagredo May 20, 2026
b7135f8
Update LSM-trees packages (#2021)
jasagredo May 21, 2026
1e4115f
Rename Test.Consensus.Node to Test.Consensus.DBLock
dancewithheart May 15, 2026
b77c0a9
Rename `Test.Consensus.Node` to `Test.Consensus.DBLock` (#2042)
jasagredo May 26, 2026
2b335d6
Fix typo in roundtrip tests
jasagredo May 29, 2026
7ee836f
Fix typo in roundtrip tests (#2054)
jasagredo May 29, 2026
29a3ec3
docs website: add search
geo2a Jun 3, 2026
0be7759
Enable searching the documentation website (#2059)
geo2a Jun 4, 2026
e2ec498
Use GHC 9.12 for hydra cross compilation jobs
jasagredo Jun 2, 2026
df77047
Remove artificial constraints on plutus.
jasagredo Jun 2, 2026
640b7fe
Switch Windows cross compilation to use GHC 9.12 (#2056)
jasagredo Jun 5, 2026
862c3c6
Introduce Bytes32RealPoint
agustinmista May 7, 2026
bad5613
Introduce O.C.Util.Bitmap
agustinmista Mar 27, 2026
c6f3cad
Define concrete Peras certs and votes using BLS signatures
agustinmista Mar 27, 2026
f5548b2
Define PerasCrypto and wire up voting committee instance using BLS
agustinmista Apr 10, 2026
aed3e55
Add conversions between Peras votes/certs and voting committee types
agustinmista Apr 21, 2026
e916206
Add test helpers for PerasCrypto
agustinmista Apr 21, 2026
384acee
Add property tests for Bitmap library
agustinmista Apr 21, 2026
ab1b772
Add serialization roundtrip tests for PerasCert and PerasVote
agustinmista Mar 27, 2026
13205ee
Add conversion roundtrip tests between Peras votes/certs and voting c…
agustinmista Apr 21, 2026
2a12c98
Add changelog
agustinmista Apr 21, 2026
af2f9ec
Split base Peras types into separate module
agustinmista May 5, 2026
1c1833c
Remove PerasCfg type family
agustinmista May 5, 2026
9b44840
Consolidate Peras vote and certificate projection type classes
agustinmista May 8, 2026
8021e07
Introduce O.C.Peras.(Vote|Cert).Mock
agustinmista May 13, 2026
1288ad5
Split degenerate BlockSupportsPeras instance
agustinmista May 8, 2026
672c407
Tweak TestBlock to use getPerasCertInBlock in tests
agustinmista May 18, 2026
f4e8e07
Re-change Peras target to use `Point blk` instead of `PerasBoostedBlock`
tbagrel1 May 18, 2026
b0d6731
Define differentiated BlockSupportsPeras instances for ShelleyBlocks
tbagrel1 May 19, 2026
ca37123
Revert "Re-change Peras target to use `Point blk` instead of `PerasBo…
agustinmista May 20, 2026
4f26fc5
Add WithOrigin to PerasBoostedBlock
agustinmista May 20, 2026
caf0ea7
Rename Peras.Voting.Committee to Peras.Voting.Adapter
agustinmista May 20, 2026
29714af
Add phantom type parameter to `V1.Peras{Vote,Cert}`
tbagrel1 May 21, 2026
cd35001
WIP implementing PerasVotingCommittee opaque adapter
agustinmista May 21, 2026
db09f6e
Refactor
agustinmista May 21, 2026
c8629cd
Refactor 2
tbagrel1 May 22, 2026
e21c782
Remove `PerasVoteStake` in favor of `VoteWeight`
tbagrel1 May 22, 2026
3907a41
Add perasTargetCommitteeSize to PerasParams
agustinmista May 25, 2026
f276e31
Introduce IsPerasError and tweak instance to work with it
agustinmista May 25, 2026
e747669
Normalise stake when computing eligiblePartyVoteWeight
agustinmista May 25, 2026
df3801a
WIP refactor 3
agustinmista May 26, 2026
f1cc213
Remove `PerasVoterId` in favor of `PerasSeatIndex`
tbagrel1 May 26, 2026
4660cd5
Move Peras public key hack to O.C.Peras.Crypto.BLS.Unsafe
agustinmista May 26, 2026
5c6efc5
Merge `PerasTargetVoteTally` and `ValidatedPerasVotesWithQuorum`
agustinmista May 26, 2026
a9bcb0f
Update interface `BlockSupportsPeras` and add concrete default implem…
tbagrel1 May 27, 2026
0ca3480
Make Mock{Vote,Cert}+MockCrypto compliant with new interface, using E…
tbagrel1 May 28, 2026
3a0172e
WIP fix things
tbagrel1 May 28, 2026
0c79a13
Move Peras test utils and make tests compile
agustinmista Jun 1, 2026
8fbfce0
Fix broken tests and warnings
agustinmista Jun 1, 2026
0bd1a2d
Change BlockSupportsPeras instance for ShelleyBlock p DijkstraEra + H…
tbagrel1 Jun 1, 2026
a219e48
Further refine PerasEpochContext access/plumbing
tbagrel1 Jun 1, 2026
6c6d0a1
WIP adding perasEpochContextResolver to ExtLedgerState
agustinmista Jun 2, 2026
239bcda
WIP Continue plumbing
tbagrel1 Jun 2, 2026
4f27264
Working on ledger/header Peras-related state API and implem
tbagrel1 Jun 3, 2026
7c87cd5
Add private key reader from env hack
agustinmista Jun 3, 2026
1453724
Improve
tbagrel1 Jun 3, 2026
da417ba
Add getPerasVotingViewHandle to the ChainDB
tbagrel1 Jun 5, 2026
a2adac9
Tweak voting rules to return candidate block
agustinmista Jun 8, 2026
2cb9396
Extend PerasCertDB.getLatestCertSeen to keep track of cert boosted bl…
agustinmista Jun 8, 2026
a80be94
Fix nix warning
nbacquey Mar 4, 2026
9379b69
Add Time resolution/conversion module for Peras
tbagrel1 Jun 9, 2026
33599e1
Add TimeResolutionContext(Handle) to the ChainDB
tbagrel1 Jun 9, 2026
8326b78
better function naming in Time resolution module
tbagrel1 Jun 9, 2026
f37c3fc
add isPerasVotingAllowedInContext
tbagrel1 Jun 9, 2026
4410c5d
WIP Hack to extract certs from Shelley and HFC blocks
agustinmista Jun 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ repository cardano-haskell-packages
-- update either of these.
index-state:
-- Bump this if you need newer packages from Hackage
, hackage.haskell.org 2026-03-17T01:21:06Z
, hackage.haskell.org 2026-05-18T17:14:36Z
-- Bump this if you need newer packages from CHaP
, cardano-haskell-packages 2026-04-13T13:33:52Z
, cardano-haskell-packages 2026-05-18T13:56:34Z

active-repositories:
, :rest
Expand Down Expand Up @@ -44,13 +44,15 @@ if os (windows)
constraints:
bitvec -simd

-- Depend on Network main "main-peras-5202-merged" tagged commit,
-- after PR #5202 adding ObjectDiffusion miniprotocol for Peras has been merged
constraints:
tasty <1.5.4,

-- ouroboros-network dependency after introducing `bracketKeepAlive` (PR#5371)
source-repository-package
type: git
location: https://github.com/IntersectMBO/ouroboros-network
tag: main-peras-5202-merged
--sha256: sha256-IDLqfxc12jmYxKYUNC6+Dk2cQBWOpSs/V/SpBgNE63s=
tag: e8d59d8a219563760fc21ba5bc86fab77d886742
--sha256: sha256-ElgaE5JeDTPfyDQnyZs5ZlOdzlnZYl7z1OgkzCBJjek=
subdir:
ouroboros-network
cardano-diffusion
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
For top level release notes, leave all the headers commented out.
-->

<!--
### Breaking

- A bullet item for the Breaking category.

-->

### Non-Breaking

- Introduce `Ouroboros.Consensus.Util.Bitmap` providing `ByteString`-based compact bitmaps.
- Define `PerasBLSCrypto` scheme with support for all the voting committee superclasses.
- Define concrete `PerasVote` and `PerasCert` types using BLS signatures.
- Define `PerasVoteCompatibleWithVotingCommittee` and `PerasCertCompatibleWithVotingCommittee` type classes with conversions between concrete Peras types and their abstract voting committee counterparts.
- Instantiate `VotingCommitteeSupportsPeras` for both `WFALS` and `EveryoneVotes`.

<!--
### Patch

- A bullet item for the Patch category.

-->
24 changes: 24 additions & 0 deletions changelog.d/20260430_124955_javier.sagredo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
For top level release notes, leave all the headers commented out.
-->

<!--
### Breaking

- A bullet item for the Breaking category.

-->

### Patch

- Updates on the LSM-trees ecosystem:
- blockio-uring 0.1.0.3 -> 0.2.0.0
- blockio 0.1.1.1 -> 0.2.0.0
- lsm-trees 1.0.0.1 -> 1.1.0.0

- Update to `fs-sim 0.5.0.0`.

- Update to `QuickCheck 2.18`.
23 changes: 23 additions & 0 deletions changelog.d/20260507_102103_agustin.mista_bytes32realpoint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
For top level release notes, leave all the headers commented out.
-->

<!--
### Breaking

- A bullet item for the Breaking category.

-->
### Non-Breaking

- Introduce `Bytes32RealPoint` for real points with 32byte header hashes.

<!--
### Patch

- A bullet item for the Patch category.

-->
25 changes: 25 additions & 0 deletions changelog.d/20260519_160418_coot_ouroboros_network_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
For top level release notes, leave all the headers commented out.
-->

<!--
### Breaking

- A bullet item for the Breaking category.

-->
<!--
### Non-Breaking

- Updated `ouroboros-network` & `cardano-diffusion` to latest tip (e8d59d8a).

-->
<!--
### Patch

- A bullet item for the Patch category.

-->
18 changes: 17 additions & 1 deletion docs/website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,23 @@ const config = {
},
},

themes: ['@docusaurus/theme-mermaid'],
themes: [
'@docusaurus/theme-mermaid',
[
// Local, offline search. Builds a Lunr index at build time and serves it
// as static assets, so it needs no external service. See:
// https://github.com/easyops-cn/docusaurus-search-local
require.resolve('@easyops-cn/docusaurus-search-local'),
/** @type {import('@easyops-cn/docusaurus-search-local').PluginOptions} */
({
hashed: true,
indexBlog: false,
highlightSearchTermsOnTargetPage: true,
explicitSearchResultPath: true,
docsDir: 'contents',
}),
],
],

presets: [
[
Expand Down
1 change: 1 addition & 0 deletions docs/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@docusaurus/plugin-client-redirects": "3.10.0",
"@docusaurus/preset-classic": "^3.10.0",
"@docusaurus/theme-mermaid": "^3.10.0",
"@easyops-cn/docusaurus-search-local": "^0.55.2",
"@mdx-js/react": "^3.1.1",
"clsx": "^2.1.1",
"hast-util-is-element": "3.0.0",
Expand Down
Loading