feat: introduce ScriptIntegrityData to improve error message
Signed-off-by: yHSJ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
For the Script Integrity checks, we must maintain the original CBOR of the set, not just the individual datums. Signed-off-by: yHSJ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
Validity Interval Validations
Signed-off-by: KtorZ <[email protected]>
fix: cardano provider readiness fixes + tuning
[ci skip]
Signed-off-by: KtorZ <[email protected]>
The v2 slice handles sibling `depends` and `exe-depends` from
plan-json differently:
* lib-deps land in `externalDepIds`, drive the slicing repo
(via `depTransitiveTarballsOf`), and get pinned in
`libConstraintPins`.
* exe-deps (build-tools) need their exe on PATH but their
source MUST stay out of the slicing repo's index — otherwise
cabal's solver in the slice plans the tool from source for
`build-tool-depends: foo:foo`-style deps and forks the
tool's unit-id (cross GHC info ≠build-platform GHC info).
Split the plan-json walk in hspkg-builder into `homeDependIds`
(lib) and `homeBuildToolIds` (exe). The v2 builder's
`homeDepExeSlices` now feeds from the latter; `externalDepIds`
naturally drops exe-only entries.
* feat(blockfrost): Added Blockfrost transaction detail endpoints Signed-off-by: Akhil Repala <[email protected]> * feat(blockfrost): Fixed the build failure Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Fixed the lint errors Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Fixed the lint errors Signed-off-by: Akhil Repala <[email protected]> * feat(blockfrost): Added Blockfrost transaction submit endpoint Signed-off-by: Akhil Repala <[email protected]> * feat(blockfrost): Fixed the bot comments Signed-off-by: Akhil Repala <[email protected]> * feat(blockfrost): Fixed the lint errors and test failures at protocol parameters part Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): resolve tx input addresses from utxo cbor Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): align tx utxo index and cbor content type handling Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Made changes in tx submit to limit transaction submit body size Signed-off-by: Akhil Repala <[email protected]> * fix(ledger): Made changes to return 503 when mempool is unavailable and added a unit-test as well to validate it Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): compute tx size only from full decodedTx.Cbor() and not from ResolveTxCbor Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Made changed to use only collateral return for invalid tx output amount Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Made change for utxoCount to make sure it counts ollateral and reference utxos in tx summary Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): made changes to return full signed transaction CBOR and removed ResolveTxCbor Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): made changes to show collateral return for invalid tx utxos Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Made changes to avoid shared reference pointer for tx inputs Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Made changes to sort transaction certificates by index Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Made changes to remove independent db calls for GetEpochBySlot and GetPParams Signed-off-by: Akhil Repala <[email protected]> * fix(blockfrost): Made fixes to the claude comments on my PR regarding missing of mempool errors, invalid utxoCount, script payment address & fixed an error message in TransactionSubmit Signed-off-by: Akhil Repala <[email protected]> * test(blockfrost): Added unit-tests to cover transaction submit error responses Signed-off-by: Akhil Repala <[email protected]> * fix: add required_signers endpoint, distinguish mempool-full (425) from unavailable (503), add collateral/consumed_by_tx to UTxO outputs Agent-Logs-Url: https://github.com/blinklabs-io/dingo/sessions/76179ea8-d57c-4b21-9b5d-213edf3f86e1 Co-authored-by: wolf31o2 <[email protected]> * fix(blockfrost): required_signers endpoint, mempool-full 425, UTxO output fields Agent-Logs-Url: https://github.com/blinklabs-io/dingo/sessions/76179ea8-d57c-4b21-9b5d-213edf3f86e1 Co-authored-by: wolf31o2 <[email protected]> --------- Signed-off-by: Akhil Repala <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: wolf31o2 <[email protected]>
Build-tool exes (hsc2hs / alex / happy / ...) reach the slice's build environment via `extraNativeBuildInputs` (PATH). Their source tarballs were also being added to the slicing repo's index via `++ lib.concatMap (s: s.passthru.transitiveTarballs) buildToolSlices`, which let cabal's solver see hsc2hs in the index and plan a from-source rebuild for `build-tool-depends: hsc2hs:hsc2hs` — forking the tool's unit-id (cross GHC info ≠build-platform GHC info) and failing the expected-package check. Drop the line and rely on cabal's legacy PATH fallback for build-tool resolution. The tool's lib closure (process, directory, ...) still reaches the slicing repo when those libs are also lib-deps of the target package; otherwise they're not needed (the slice doesn't re-solve the tool).
Signed-off-by: KtorZ <[email protected]>
Slot is Copy, so we need not to return references here. Signed-off-by: KtorZ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
Signed-off-by: KtorZ <[email protected]>