fix: use correct offset for spdd query handler
Signed-off-by: William Hankins <[email protected]>
Signed-off-by: William Hankins <[email protected]>
Signed-off-by: cryptodj413 <[email protected]>
Return LedgerPeerSnapshot directly instead of Serialised LedgerPeerSnapshot, as there is no reason to keep the result serialized.
Signed-off-by: William Hankins <[email protected]>
When compiling caseInteger in non-BuiltinCasing mode (SumsOfProducts), the fallback used PlutusTx.List.!! which built a linked list of branches at runtime and indexed into it with a Y-combinator. This caused a 3-5x execution cost regression for unsafeFromBuiltinData on multi-constructor types (reported by the Hydra team, see #7691). Replace the fallback with mkEqualsIntegerChain, which generates a flat chain of equalsInteger/ifThenElse comparisons in PIR. This produces UPLC equivalent to the pre-caseInteger code path with no runtime allocation. See Note [caseInteger non-BuiltinCasing fallback] in Expr.hs.
* Add ./script/nix-format.sh for non-Nix users. * Add nixfmt in our Nix pre-commit hook. * Add Github CI check
Replace custom eon lenses from Cardano.Api.Tx.Internal.Body.Lens with direct ledger lenses (L.vldtTxBodyL, L.invalidBeforeL, etc.) composed with era constraints. This removes the indirection layer where each lens required an eon witness parameter. Key changes: - Use L.ttlTxBodyL / L.vldtTxBodyL directly instead of invalidHereAfterTxBodyL / invalidBeforeTxBodyL - Use L.mintTxBodyL, L.collateralInputsTxBodyL, etc. directly - Replace adaAssetL/multiAssetL with inline lens in negateLedgerValue - Update L.Witness -> L.Guard (ledger API rename) - Remove duplicate Dijkstra era branches in Output.hs Resolves: #938
Add dependencies used for Exodus-style BIP32 derivation. Enable nodeLinker: node-modules in .yarnrc.yml. Drop redundant mocha-headless package.json override and refresh lockfiles.
Add the following new dependencies: * snappy (cardano-rpc) * protobuf (cardano-rpc) * liburing (lmdb)
Bumps [requests](https://github.com/psf/requests) from 2.32.5 to 2.33.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.32.5...v2.33.0) --- updated-dependencies: - dependency-name: requests dependency-version: 2.33.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Extract shared JSON decoding into decodeTextEnvelopeJSON and add Haddock documentation to the new public functions.
Bumps [requests](https://github.com/psf/requests) from 2.32.5 to 2.33.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.32.5...v2.33.0) --- updated-dependencies: - dependency-name: requests dependency-version: 2.33.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>