Skip to content

chore: reconcile feat/asset-holders into main (the branch 1.2.0 was released from) - #10

Merged
edridudi merged 3 commits into
mainfrom
chore/reconcile-asset-holders-into-main
Sep 23, 2026
Merged

edridudi merged 3 commits into
mainfrom
chore/reconcile-asset-holders-into-main

Conversation

@edridudi

Copy link
Copy Markdown
Member

Why

Maven Central's latest nexus-java-client is 1.2.0, and it was released from feat/asset-holders — a branch that was never merged. main does not contain that release.

Concretely, main is missing getAssetHolders, which upstream cardano-client-lib's NexusAssetService calls. Tagging a release off main today would publish a jar missing a method its consumer compiles against.

Central latest 1.2.0 (from feat/asset-holders)
main pom 1.1.0, without the 1.2.0 lineage
feat/asset-holders pom 1.3.0

This PR reconciles the two so main is once again the branch releases are cut from.

The conflicts were cosmetic

Both branches independently implemented the same feature — block-range (toBlockHeight) plus order on getAccountTransactions. 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 same ApiUtil.process(api.getAccountTransactions(...)) call with the same arguments; main wraps 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

Version needs a decision before the next release

The merge brings feat/asset-holders's pom, so main lands 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_contract and index to the Transaction model — the fields Nexus began serving in Gero-Labs/nexus#1081, verified live on mainnet. Those are what let upstream CCL replace the two hardcoded nulls in NexusTransactionService. That work is done and tested locally but is held behind this reconciliation, since releasing it off today's main would regress getAssetHolders.

🤖 Generated with Claude Code

dudiedri and others added 3 commits August 9, 2026 09:45
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>
@edridudi
edridudi merged commit cde14e3 into main Sep 23, 2026
1 check passed
@edridudi
edridudi deleted the chore/reconcile-asset-holders-into-main branch September 24, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant