Repository navigation
chore: reconcile feat/asset-holders into main (the branch 1.2.0 was released from) - #10
Merged
Merged
Conversation
Adds a general asset-holders vertical (address + quantity), working for fungible tokens and NFTs alike — unlike getNftAddress which 404s for fungible tokens. Backs the cardano-client-lib Nexus backend's getAssetAddresses/getAllAssetAddresses. Version 1.1.0 -> 1.2.0.
…sactions Address getAddressTransactions + Account getAccountTransactions gain optional toBlockHeight/order (address) and to/order (account) query params, matching the Nexus server 1.3 endpoints. Backward-compatible overloads; existing callers unaffected.
Reconciles the branch that Maven Central 1.2.0 was actually released from. main never contained that release: it lacks getAssetHolders, which upstream cardano-client-lib's NexusAssetService calls, so a release cut from main today would publish a jar missing a method its consumer compiles against. Both sides had independently implemented the same block-range + order overloads on getAccountTransactions. The three conflicts were cosmetic only - the method signatures are byte-identical and the impl bodies make the same call - so main's side was kept for its fuller Javadoc and line wrapping. No behaviour differs either way. Verified on the merged tree: getAssetHolders and getAccountAssets both present, no conflict markers, 41 tests pass. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Sep 23, 2026
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.
Why
Maven Central's latest
nexus-java-clientis 1.2.0, and it was released fromfeat/asset-holders— a branch that was never merged.maindoes not contain that release.Concretely,
mainis missinggetAssetHolders, which upstreamcardano-client-lib'sNexusAssetServicecalls. Tagging a release offmaintoday would publish a jar missing a method its consumer compiles against.feat/asset-holders)mainpomfeat/asset-holderspomThis PR reconciles the two so
mainis once again the branch releases are cut from.The conflicts were cosmetic
Both branches independently implemented the same feature — block-range (
toBlockHeight) plusorderongetAccountTransactions. Three conflicts resulted, all of them formatting:AccountService.java— one hunk, Javadoc wording. The two method signatures are byte-identical.AccountServiceImpl.java— two hunks. Both sides make the sameApiUtil.process(api.getAccountTransactions(...))call with the same arguments;mainwraps it across lines and adds a comment.main's side was kept throughout, for the fuller Javadoc. No behaviour differs either way — this is a documentation-and-wrapping choice, not a semantic one.Verified on the merged tree
getAssetHolderspresent (the method 1.2.0 shipped and CCL depends on)getAccountAssetspresent (from feat(account): wrap /assets, and expose order + to on /txs #9, which onlymainhad)src/BUILD SUCCESSVersion needs a decision before the next release
The merge brings
feat/asset-holders's pom, somainlands on 1.3.0 — a version that has never been published, while Central's latest is 1.2.0. That is coherent (1.3.0 becomes the next release), but the number is ambiguous because the unreleased branch already claimed it. Worth confirming 1.3.0 is the intended next version rather than skipping to 1.4.0.What this unblocks
A follow-up branch adds
valid_contractandindexto theTransactionmodel — the fields Nexus began serving in Gero-Labs/nexus#1081, verified live on mainnet. Those are what let upstream CCL replace the two hardcodednulls inNexusTransactionService. That work is done and tested locally but is held behind this reconciliation, since releasing it off today'smainwould regressgetAssetHolders.🤖 Generated with Claude Code