Skip to content

v0.0.38

Compare
Choose a tag to compare
@AntonioVentilii-DFINITY AntonioVentilii-DFINITY released this 06 Sep 15:40
· 1232 commits to main since this release
1fe7002

Frontend

Features

  • Add support for WETH.
  • Add missing ckXAUT in the list of tokens.
  • It will not be possible to use tab key to select tokens when the user is signed out.
  • The Ethereum-related fee showed during ck-conversions (ckETH --> ETH or ckERC20 --> ERC20) was being conservatively calculated. After an internal confrontation with the cross-chain team, that fee is now calculated exactly as explained in the proper documentation for ETH and ERC20 withdrawal from the minter.
  • The Metamask button currently does not support sending ERC20 tokens - it always populates an ETH transaction. As temporary solution, Metamask is allowed only for Ethereum.

Fixes

  • The total exchange balance will use the same list as the tokens shown below. Before there difference was a slight lag given by sorting.
  • The wallet workers for IC tokens were mounted only if the respective token was already shown in the token list. That means, for example, that if the list is pre-mounted hiding zero-balances, the IC tokens are not present in the list and consequently none of the wallet listeners are mounted. To fix it, now all enabled IC tokens have active wallet workers, independently if they are shown or not in the list.

Style

  • Transform the name of the tokens in the manage modal to use the ck tag too.
  • Change header title when the user is not logged in.
  • Fit EURC logo to the token card.
  • All ck-conversions (ckETH --> ETH or ckERC20 --> ERC20) fees are now showed in ck-denomination.
  • The fee will show the same decimals as the amount.

Refactoring

  • The object TokenUi has now the token balance and the USD balance as optional properties. So the code was adapted to use those.
  • The util function that was pinning tokens at the top of the list was merged with the function that was sorting the tokens by market cap, to improve performance.
  • The balance calculation was merged with the util function that was sorting tokens by balance, to improve performance.
  • After bumping ic-js, adapt the code to use the new functions of the Bitcoin canister that were renamed to provide only queries.
  • Removed possible loop reference src/icp in imports from src/eth folder.
  • Renamed stores and extracted functions related to Ethereum address.

Build

  • We start rolling out agent-js v2.0.0 in our dApps JS ecosystem: bump agent-js and all dependencies dependent on it.
  • Bump:
    • ic-js
    • II for local development
    • svelte
    • internet-identity-playwright
    • gix-components
  • Add test for Receive modals.
  • Create util for testing QR code.

Chore

  • Improve IC send analytics by removing the 2 seconds timeout.

Docs

  • There is a patch needed for clang package in MacOs: the documentation on it was included.

Backend

Build

  • Bump serde, lazy_static, ic-stable-structures and ic-cdk.
  • Bump ICP ledger and index version for development.

Other

Feat

  • Include new ES lint rules:
    • no-inferrable-types
    • prefer-template

Build

  • Add npm command to list tags ordered by semver.
  • Fix node version to ^20 (LTS).
  • Bump micromatch.
  • Specified Linux CPU type in Dockerfile for reproducibility.
  • Include ckUSDC in the script that sends token to local replica.

Chore

  • EURC and XAUT were fetching the logo even if we already established their definitive logo; so they are inserted among the exceptions for logo-fetching.