Update scripts, fix tests
Home /
Input Output /
hydra
Apr 08, 4-5 PM (0)
Apr 08, 5-6 PM (0)
Apr 08, 6-7 PM (0)
Apr 08, 7-8 PM (0)
Apr 08, 8-9 PM (0)
Apr 08, 9-10 PM (0)
Apr 08, 10-11 PM (0)
Apr 08, 11-12 AM (0)
Apr 09, 12-1 AM (0)
Apr 09, 1-2 AM (0)
Apr 09, 2-3 AM (0)
Apr 09, 3-4 AM (0)
Apr 09, 4-5 AM (0)
Apr 09, 5-6 AM (0)
Apr 09, 6-7 AM (0)
Apr 09, 7-8 AM (0)
Apr 09, 8-9 AM (1)
Apr 09, 9-10 AM (1)
Apr 09, 10-11 AM (0)
Apr 09, 11-12 PM (0)
Apr 09, 12-1 PM (0)
Apr 09, 1-2 PM (0)
Apr 09, 2-3 PM (0)
Apr 09, 3-4 PM (0)
Apr 09, 4-5 PM (0)
Apr 09, 5-6 PM (0)
Apr 09, 6-7 PM (0)
Apr 09, 7-8 PM (0)
Apr 09, 8-9 PM (0)
Apr 09, 9-10 PM (0)
Apr 09, 10-11 PM (0)
Apr 09, 11-12 AM (0)
Apr 10, 12-1 AM (0)
Apr 10, 1-2 AM (0)
Apr 10, 2-3 AM (0)
Apr 10, 3-4 AM (0)
Apr 10, 4-5 AM (0)
Apr 10, 5-6 AM (0)
Apr 10, 6-7 AM (0)
Apr 10, 7-8 AM (0)
Apr 10, 8-9 AM (0)
Apr 10, 9-10 AM (0)
Apr 10, 10-11 AM (0)
Apr 10, 11-12 PM (0)
Apr 10, 12-1 PM (0)
Apr 10, 1-2 PM (0)
Apr 10, 2-3 PM (0)
Apr 10, 3-4 PM (0)
Apr 10, 4-5 PM (0)
Apr 10, 5-6 PM (0)
Apr 10, 6-7 PM (0)
Apr 10, 7-8 PM (0)
Apr 10, 8-9 PM (0)
Apr 10, 9-10 PM (0)
Apr 10, 10-11 PM (0)
Apr 10, 11-12 AM (0)
Apr 11, 12-1 AM (0)
Apr 11, 1-2 AM (0)
Apr 11, 2-3 AM (0)
Apr 11, 3-4 AM (0)
Apr 11, 4-5 AM (0)
Apr 11, 5-6 AM (0)
Apr 11, 6-7 AM (0)
Apr 11, 7-8 AM (0)
Apr 11, 8-9 AM (0)
Apr 11, 9-10 AM (0)
Apr 11, 10-11 AM (0)
Apr 11, 11-12 PM (0)
Apr 11, 12-1 PM (0)
Apr 11, 1-2 PM (0)
Apr 11, 2-3 PM (0)
Apr 11, 3-4 PM (0)
Apr 11, 4-5 PM (0)
Apr 11, 5-6 PM (0)
Apr 11, 6-7 PM (0)
Apr 11, 7-8 PM (0)
Apr 11, 8-9 PM (0)
Apr 11, 9-10 PM (0)
Apr 11, 10-11 PM (0)
Apr 11, 11-12 AM (0)
Apr 12, 12-1 AM (0)
Apr 12, 1-2 AM (0)
Apr 12, 2-3 AM (0)
Apr 12, 3-4 AM (0)
Apr 12, 4-5 AM (0)
Apr 12, 5-6 AM (0)
Apr 12, 6-7 AM (0)
Apr 12, 7-8 AM (0)
Apr 12, 8-9 AM (0)
Apr 12, 9-10 AM (0)
Apr 12, 10-11 AM (0)
Apr 12, 11-12 PM (0)
Apr 12, 12-1 PM (0)
Apr 12, 1-2 PM (0)
Apr 12, 2-3 PM (0)
Apr 12, 3-4 PM (0)
Apr 12, 4-5 PM (0)
Apr 12, 5-6 PM (0)
Apr 12, 6-7 PM (0)
Apr 12, 7-8 PM (0)
Apr 12, 8-9 PM (0)
Apr 12, 9-10 PM (0)
Apr 12, 10-11 PM (0)
Apr 12, 11-12 AM (0)
Apr 13, 12-1 AM (0)
Apr 13, 1-2 AM (0)
Apr 13, 2-3 AM (0)
Apr 13, 3-4 AM (0)
Apr 13, 4-5 AM (0)
Apr 13, 5-6 AM (0)
Apr 13, 6-7 AM (0)
Apr 13, 7-8 AM (0)
Apr 13, 8-9 AM (0)
Apr 13, 9-10 AM (0)
Apr 13, 10-11 AM (0)
Apr 13, 11-12 PM (0)
Apr 13, 12-1 PM (0)
Apr 13, 1-2 PM (0)
Apr 13, 2-3 PM (0)
Apr 13, 3-4 PM (0)
Apr 13, 4-5 PM (0)
Apr 13, 5-6 PM (0)
Apr 13, 6-7 PM (0)
Apr 13, 7-8 PM (0)
Apr 13, 8-9 PM (0)
Apr 13, 9-10 PM (0)
Apr 13, 10-11 PM (0)
Apr 13, 11-12 AM (0)
Apr 14, 12-1 AM (0)
Apr 14, 1-2 AM (0)
Apr 14, 2-3 AM (0)
Apr 14, 3-4 AM (0)
Apr 14, 4-5 AM (0)
Apr 14, 5-6 AM (23)
Apr 14, 6-7 AM (2)
Apr 14, 7-8 AM (19)
Apr 14, 8-9 AM (0)
Apr 14, 9-10 AM (0)
Apr 14, 10-11 AM (5)
Apr 14, 11-12 PM (0)
Apr 14, 12-1 PM (0)
Apr 14, 1-2 PM (1)
Apr 14, 2-3 PM (0)
Apr 14, 3-4 PM (1)
Apr 14, 4-5 PM (0)
Apr 14, 5-6 PM (0)
Apr 14, 6-7 PM (0)
Apr 14, 7-8 PM (0)
Apr 14, 8-9 PM (0)
Apr 14, 9-10 PM (0)
Apr 14, 10-11 PM (0)
Apr 14, 11-12 AM (0)
Apr 15, 12-1 AM (0)
Apr 15, 1-2 AM (0)
Apr 15, 2-3 AM (0)
Apr 15, 3-4 AM (0)
Apr 15, 4-5 AM (0)
Apr 15, 5-6 AM (1)
Apr 15, 6-7 AM (0)
Apr 15, 7-8 AM (0)
Apr 15, 8-9 AM (0)
Apr 15, 9-10 AM (0)
Apr 15, 10-11 AM (20)
Apr 15, 11-12 PM (0)
Apr 15, 12-1 PM (0)
Apr 15, 1-2 PM (0)
Apr 15, 2-3 PM (0)
Apr 15, 3-4 PM (0)
Apr 15, 4-5 PM (0)
74 commits this week
Apr 08, 2026
-
Apr 15, 2026
Fix CRS size mismatch and fanout E2E tests
Rebase
Signed-off-by: Sasha Bogicevic <[email protected]>
Improve checkFanout function
Optimizations applied: * Single-pass serialization: each 'TxOut' is serialized once via @serialiseData . toBuiltinData@ and reused for both UTxO hash checks and accumulator scalar computation. * Combined CRS lookup: the reference input for the CRS is looked up once and decoded only when the membership check is actually reached.
Fix memory budget regression in checkFanout
Fix warnings, rebase
Master rebase
Signed-off-by: Sasha Bogicevic <[email protected]>
Correctly produce large enough CRS
Signed-off-by: Sasha Bogicevic <[email protected]>
Introduce CRS validator
This should be used as a reference input to reduce the execution of contracts that need CRS string. Signed-off-by: Sasha Bogicevic <[email protected]> Hook new crs validator to script registry Signed-off-by: Sasha Bogicevic <[email protected]> Remove CRS from Fanout redeemer Signed-off-by: Sasha Bogicevic <[email protected]>
Create BLS accumulator benchmartks with UTxO
Create BLS accumulator benchmarks with UTxO Signed-off-by: Sasha Bogicevic <[email protected]>
Bump to cardano-api 10.20 and remove src-package
Signed-off-by: Sasha Bogicevic <[email protected]>
Use G1 crs for on-chain check
Signed-off-by: Sasha Bogicevic <[email protected]>
Bump plutus to 1.53
Signed-off-by: Sasha Bogicevic <[email protected]>
Produce correct Element from UTxO
Hash TxOuts to get a 32 bytes string length Signed-off-by: Sasha Bogicevic <[email protected]>
Add toCommit toDecommit utxo in accumulator, address review
Fix the failing observer test Related log book entry is here https://github.com/cardano-scaling/hydra/wiki/Logbook-2025-H1#2025-12-01 Signed-off-by: Sasha Bogicevic <[email protected]>
Use new haskell-accumulator-1.1.0.0
Simplify golden test diff
Add useful fns, change the way we create acc
Temporary add acc fn to weeder ignore
Minimise golden test changes
Add accumulator to snapshot
Remove utxoHash from Snapshot Remove leftover fn from IsTx class
Simplify withSQLiteEventStore API and add schema versioning
Hide internal details (flush, reinitLastSeen, Connection, migration) from the public withSQLiteEventStore callback. The callback now receives only an EventStore — flush is handled internally by sourceEvents (auto-flush before reads), rotate, and the bracket cleanup; migration runs automatically on startup given the legacy state file path. Add schema versioning using SQLite's PRAGMA user_version. Migrations are applied incrementally on startup via migrateStep, making future schema changes straightforward. The node refuses to start if the database version is newer than expected (downgrade protection). Extract all inline SQL into named query functions for readability. Add migration tests: fresh DB version check, idempotency, and downgrade rejection. Update architecture docs with SQLite schema, async write-behind, and schema versioning documentation.
Wrap SQLite event store in bracket-style API with linked writer thread
Adds withSQLiteEventStore that manages the writer thread lifecycle automatically — link surfaces crashes, finally ensures flush + cancel on exit. Callers no longer need to manage cleanup manually.
Add async write-behind SQLite persistence with batch inserts
Move SQLite event writes off the hot path using a bounded TBQueue
(capacity 1000) and a single background writer thread. Events are
JSON-encoded eagerly and enqueued; the writer drains the queue and
batch-inserts via executeMany in a single transaction.
Key changes:
- EventSink gains a putEvents field for batch writes; mkEventSink
provides a default sequential fallback
- putEventsToSinks switches from event-major to sink-major loop order
- SQLiteBased uses BLOB storage instead of TEXT, WAL mode with
synchronous=NORMAL, and 64 MB page cache
- Flush marker pattern (TMVar) lets rotate and tests block until all
queued writes hit disk
- Migration bypasses the async queue and writes directly via executeMany
- Node replay collects events into a list then calls putEventsToSinks
once instead of per-event mapM_
- Rotation module delegates to underlying putEvents for batch support
Update scripts, fix tests
Use cardano-api 10.21 proper version
Got all changes from the capi-10.21 branch here