Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,11 @@ if impl(ghc >= 9.14)
-- Do NOT add more source-repository-package stanzas here unless they are strictly
-- temporary! Please read the section in CONTRIBUTING about updating dependencies.

source-repository-package
type: git
location: https://github.com/IntersectMBO/cardano-api
tag: 8d2154b34de4951b4b8867253251f146844fad18
--sha256: sha256-e3qpkb9RJl44vsFwp8DssqH9lOrzXe7OPwaBDrmv7KA=
subdir:
cardano-rpc

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 6657
kind:
- test
description: |
Re-enabled the `initialFunds` assertion in the UTxO RPC `ReadGenesis` test now that cardano-rpc resolves initial funds from the genesis `sgExtraConfig`.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,8 @@ hprop_rpc_read_genesis = integrationRetryWorkspace 2 "rpc-read-genesis" $ \tempA
H.assertWith (cardanoGenesis ^. U5c.systemStart) $ not . Text.null
void $ H.nothingFail (cardanoGenesis ^. U5c.maybe'protocolParams)

-- TODO: re-enable once cardano-rpc resolves initial funds from sgExtraConfig.
-- cardano-cli create-testnet-data funds wallets via sgExtraConfig.secInitialFunds and leaves the legacy sgInitialFunds field empty, so the RPC response's initialFunds map is currently always empty for testnet genesis.
-- Handler fix pending on cardano-api branch mgalazyn/fix/rpc-initial-funds-extraconfig.
-- H.note_ "initialFunds is non-empty: only the uncompacted boot-time genesis carries it, and cardano-testnet funds its wallets there"
-- H.assertWith (cardanoGenesis ^. U5c.initialFunds) $ not . Map.null
H.note_ "initialFunds is non-empty: only the uncompacted boot-time genesis carries it, and cardano-testnet funds its wallets there"
H.assertWith (cardanoGenesis ^. U5c.initialFunds) $ not . Map.null

H.note_ "Byron: protocolConsts, startTime, bootStakeholders"
protocolConsts <- H.nothingFail (cardanoGenesis ^. U5c.maybe'protocolConsts)
Expand Down
Loading