Skip to content

chore: update localnet and wallet-service to their latest releases - #143

Merged
gabitoesmiapodo merged 1 commit into
mainfrom
chore/update-localnet-and-wallet-service
Sep 3, 2026
Merged

chore: update localnet and wallet-service to their latest releases#143
gabitoesmiapodo merged 1 commit into
mainfrom
chore/update-localnet-and-wallet-service

Conversation

@gabitoesmiapodo

Copy link
Copy Markdown
Collaborator

Summary

No related issue. Both host-side dependencies had newer releases, and the wallet-service one fixes a balance read that could take the local validator down.

@bootnodedev/canton-barebones 0.3.0 to 0.5.0, and @bootnodedev/canton-wallet-service v0.1.4 to v0.2.1.

wallet-service v0.2.x reads holdings off one paged active-contracts snapshot. The old read replayed the whole update stream in 100-record pages, fired thousands of requests per balance, and tripped the validator ingress rate limit, which answered 503 and put an nginx error page in the wallet.

barebones 0.5.0 moves its Splice checkout from 0.6.11 to 0.7.5.

Changes

  • The LocalNet runs Splice 0.7.5.
  • A balance read costs one request per page instead of thousands per read.
  • allowBuilds names the new wallet-service commit, so its prepare build still runs.

Acceptance criteria

  • Both dependencies sit at their latest release.
  • The whole PR gate passes: lint, typecheck, build, knip, docs, anatomy, tests.
  • The LocalNet config scaffolder still works against the new template.

Test plan

Automated tests

pnpm lint, pnpm typecheck, pnpm build, pnpm test (615 tests across the three Node packages plus the root scripts), pnpm knip, pnpm docs:check, pnpm run check:anatomy. All green.

Manual verification

  1. pnpm install from the repo root. The wallet-service prepare build runs and leaves dist/server.js.
  2. node scripts/localnet-config.mjs <dir> against an empty directory. It scaffolds a config, reports (missing), applies the two nginx flags, and pins Splice 0.7.5.
  3. pnpm run up on an existing .canton-localnet/. It re-scaffolds, reporting the Splice tag move.
  4. Reset the LocalNet, then run the loop: mint, deploy the DAR, bootstrap, connect a wallet. Balances load and no 503 appears.

Breaking changes

The Splice tag moved, so an existing LocalNet has to be reset. That drops the ledger, which means the DAR has to be deployed and the bootstrap re-run before the dApp works again.

Checklist

  • Self-reviewed my own diff
  • Tests added or updated
  • Docs updated (if applicable)
  • No unrelated changes bundled in

Screenshots

None.

canton-barebones 0.3.0 -> 0.5.0, which moves the Splice checkout from 0.6.11
to 0.7.5, so an existing .canton-localnet/ re-scaffolds and the stack needs a
reset before the next run.

wallet-service v0.1.4 -> v0.2.1, which reads holdings off one paged
active-contracts snapshot instead of replaying the update stream. The old read
fired thousands of requests per balance and tripped the validator ingress rate
limit, which answered 503.

The allowBuilds key carries the resolved tarball id, so it moves to the new
commit sha with the ref.
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
demo.canton-dappbooster Ready Ready Preview Sep 3, 2026 4:28pm UTC
docs.canton-dappbooster Ready Ready Preview Sep 3, 2026 4:28pm UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant