Skip to content

Conversation

@jurevans
Copy link
Collaborator

@jurevans jurevans commented Aug 15, 2025

This PR begins the process of porting Namadillo over to @namada/sdk-multicore - v0.20.2.

  • Utilize new SDK from @namada/sdk-multicore
  • Move type imports from @namada/types to @namada/sdk-multicore where necessary
  • Update MaspTxWorker
  • Remove any wasm build scripts Namadillo (no longer required)
  • Update ShieldedSyncWorker, fix SdkEvents export (from new multicore SDK)
  • Incorporate fees fix from fix: use token from gas config for batch fee payment #2286
  • We need to migrate init import in namadilo/src/index.tsx - this will require SDK v0.20.5 that provides this export. Currently, Namadillo cannot directly access and await the wasm init promise (not without initializing the Sdk struct), so this has been added for all SDK packages
  • Fix Namadillo unit-tests (Requires @namada/sdk-node - Now passing in CI)
  • Everything works end-to-end (mainnet & housefire testnet)

TESTING

It is crucial that everything is tested end-to-end. The SDK APIs have not changed (outside of initSdk), but there may be some edge-cases we haven't considered or something missed!

TODO

  • Update Namada Keychain once @namada/sdk v0.20.2 is published! (separate PR)
  • Remove deprecated SDK packages from this repo (separate PR)
    • packages/crypto
    • packages/shared
    • packages/sdk
    • packages/types (partial - we may need to keep a few types, like anything shared by Namadillo & Keychain, but not in the SDK, but note that all Tx schema types and props are in the new SDK and should be included from there for all future releases!)

@jurevans jurevans self-assigned this Aug 15, 2025
@jurevans jurevans changed the title WIP - feat: port Namadillo to @namada/sdk-multicore v0.20.2 feat: port Namadillo to @namada/sdk-multicore v0.20.2 Aug 15, 2025
@jurevans jurevans marked this pull request as ready for review August 15, 2025 10:35
@jurevans jurevans requested review from euharrison, mateuszjasiuk and neocybereth and removed request for euharrison and mateuszjasiuk August 15, 2025 10:35
@jurevans jurevans force-pushed the feat/namadillo-sdk-0.20.2 branch from 7571f85 to b43d7b6 Compare August 18, 2025 11:10
@jurevans jurevans changed the title feat: port Namadillo to @namada/sdk-multicore v0.20.2 feat: port Namadillo to @namada/sdk-multicore v0.20.3 Aug 18, 2025
@jurevans jurevans changed the title feat: port Namadillo to @namada/sdk-multicore v0.20.3 feat: port Namadillo to @namada/sdk-multicore v0.20.5 Aug 19, 2025
@mateuszjasiuk mateuszjasiuk force-pushed the feat/namadillo-sdk-0.20.2 branch 3 times, most recently from f8b9602 to 1b8335c Compare August 20, 2025 09:03
@mateuszjasiuk mateuszjasiuk force-pushed the feat/namadillo-sdk-0.20.2 branch from 1b8335c to 8418a01 Compare August 20, 2025 09:09
Copy link
Collaborator

@mateuszjasiuk mateuszjasiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jurevans jurevans merged commit 7ce5299 into main Aug 20, 2025
6 checks passed
@jurevans jurevans deleted the feat/namadillo-sdk-0.20.2 branch August 20, 2025 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants