Skip to content

9.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 31 Aug 12:29
797b062

@metamask/tron-wallet-snap 3.2.0

Added

  • Use Core's AssetsController as the source of truth for fungible assets when the Tron assets migration feature flag is enabled (#145)

Changed

  • Reduce BIP-44 account discovery to a single entropy fetch by reusing the coin-type deriver for the on-chain activity check (#149)
  • Reduce extension RPC round trips in keyring_createAccounts from 5 to at most 4 (#149)
    • mergeKeyringAccounts now returns the merge result instead of requiring a post-merge state re-read, and the existing-accounts read runs in parallel with the BIP-32 entropy fetch.
    • snap_getBip32Entropy is now called even when all requested indices already exist (this path only occurs on idempotent retries); no new permissions are required.

Fixed

  • Fix account deletion failing against keyring v2 clients by removing the AccountDeleted event emission from keyring_deleteAccount (#149)
    • v2 clients reject v1 lifecycle events, which aborted the deletion before the account was removed from state. Deletion is client-initiated in v2, so no event is needed.
  • Coalesce concurrent account synchronization runs for the same accounts so stacked triggers (cronjob and background events) share one run instead of duplicating network fetches, state writes, and keyring events (#149)
  • Bump @metamask/utils from ^11.9.0 to ^11.11.9 (#161)
  • Estimate native TRX/TRC-10 sends that activate a new account as 1 TRX plus 100 Bandwidth (or 0.1 TRX when staked Bandwidth is insufficient), instead of TransferContract byte size (#175)
  • Fix SUN → USDT swaps routed through Rango and SunSwap displaying a zero SUN amount in transaction activity (#134)