Skip to content

v0.1.1 - migrate to litesvm-token-extensions

Choose a tag to compare

@daiwanwei daiwanwei released this 02 May 10:34
· 4 commits to main since this release

Pure test-infrastructure refactor. No production code change.

What changed

Migrated `tests/integration.rs`'s Token-2022 mint construction helpers
to the newly-shipped `litesvm-token-extensions`
crate (companion lib in the same v0.1 cycle).

  • Removed: `create_token2022_mint_with_transfer_fee` (~50 LOC)
  • Removed: `create_token2022_mint_with_transfer_hook` (~50 LOC)
  • Added: `litesvm-token-extensions = "0.1"` dev-dep
  • Replaced: 4 callsites with `CreateMintWithExtensions::new(...).with_*().send()`

Net LOC: -92 (-115 deletions, +23 insertions).

Same 30 tests passing (15 unit + 9 integration + 6 doc). All extension-parsing
test coverage preserved end-to-end via the dev-dep.

No public API change

This release is dev-deps + tests only. Public API remains identical to v0.1.0.