cardano-testnet: re-enable RPC ReadGenesis initialFunds assertion - #6657
Draft
carbolymer wants to merge 2 commits into
Draft
cardano-testnet: re-enable RPC ReadGenesis initialFunds assertion#6657carbolymer wants to merge 2 commits into
carbolymer wants to merge 2 commits into
Conversation
carbolymer
changed the base branch from
master
to
mgalazyn/test/rpc-readgenesis-followtip-fetchblock
August 20, 2026 14:21
carbolymer
marked this pull request as draft
August 20, 2026 14:22
This reverts the temporary relaxation from 764a27f. cardano-rpc now resolves initial funds from the genesis sgExtraConfig, so the ReadGenesis RPC response carries the wallets that cardano-testnet's create-testnet-data provisions, and the strict assertion holds again.
Points cardano-rpc at the fix on the IntersectMBO/cardano-api branch mgalazyn/fix/rpc-initial-funds-extraconfig. Must be dropped once cardano-rpc is released to CHaP with the fix.
carbolymer
force-pushed
the
mgalazyn/test/rpc-readgenesis-initialfunds
branch
from
August 20, 2026 14:25
9343bd0 to
521778a
Compare
Base automatically changed from
mgalazyn/test/rpc-readgenesis-followtip-fetchblock
to
master
August 20, 2026 15:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Stacked on #6655.
Re-enables the
initialFundsassertion in theReadGenesisRPC test.The assertion was temporarily disabled because cardano-rpc read only the legacy
sgInitialFundsfield, whilecardano-cli create-testnet-dataprovisions wallets viasgExtraConfig.secInitialFunds, so the RPC response reported no funds for testnet-data networks.Depends on the cardano-rpc fix on IntersectMBO/cardano-api#1305, consumed here via a temporary
source-repository-packagestanza incabal.project.DO NOT MERGE until cardano-rpc is released to CHaP with the fix and the SRP stanza is dropped.
This PR exists to prove CI goes green with the fix in place.
Checklist
See Running tests for more details
CHANGELOG.mdfor affected packagecardano-node-chairman,cardano-submit-apiandcardano-testnetinstead need achangelog fragment in
<package>/.changes/, because theirCHANGELOG.mdis generatedfrom fragments at release time. Copy
_TEMPLATE.ymlfrom that directory, or runnix run github:input-output-hk/cardano-dev#herald -- new.cabalfiles are updatedhlint. See.github/workflows/check-hlint.ymlto get thehlintversionstylish-haskell. See.github/workflows/stylish-haskell.ymlto get thestylish-haskellversionghc-9.6andghc-9.12Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.