Skip to content

v2.38.0

Latest
Compare
Choose a tag to compare
@superKalo superKalo released this 13 Jan 15:47
· 20 commits to v2 since this release
df0aecd

Changelog:

  • Added: onLoad method in main ctrl #1202 (needed for AmbireTech/ambire-app#3707)
  • Added: Get AAVE v3 positions on Scroll (defi positions) #1203
  • Added: Humanizer: ENS #1205
  • Added: Biconomy as an available bundler #1200 This is how the bundler system looks like from this PR onwards:
    • Both bundlers available, pimlico main: Base, Arbitrum, Polygon
    • Both bundlers available, biconomy main: Optimism
    • Only pimlico: Ethereum, Avalanche, Scroll (Biconomy doesn't support these) and all custom networks (more work needed for this, maybe one day)
    • We introduce a fallback mechanism for the bundler. If a 400 error or an internal error is encountered using Biconomy, we switch to Pimlico. If an internal error is found on Pimlico, we switch to Biconomy. Switch settings apply for the duration of the sign account op screen and persist for that accountOp if broadcast is successful but reset to defaults for a new sign account op request
    • In SubmittedAccountOp, we write the bundler used in identifiedBy and we use it to query the status of the user op. Benzina is also made to work accordingly
  • Added: Humanizer: more Lido methods #1215
  • Changed: Run Unit tests against NodeJS v22.x (to be in sync with the extension v) #1201 and #1207
  • Changed: Clear Dashboard filter on lock #1214
  • Changed: Improve portfolio error banner UX #1190
    • Add: selectedAccount banner tests- the logic is quite complicated and we didn't have any test cases which is why I added some
    • Change: Display a portfolio error banner only if there isn't a successful update in the last 10 minutes or if the user force updates the portfolio
    • Change: Display defi position error banners only if there isn't a successful update in the last 10 minutes and ONLY for networks and providers the user has positions on (force update isn't a trigger here)
    • Update: Portfolio lib error structure to contain level as some errors are critical to the response (velcro error), some are important (portfolio price error) and some should only be stored for DX (individual token errors)
  • Changed: Sort Swap & Bridge "From" and "Receive" token lists by highest balance (in USD) first #1206
  • Changed: Handle hidden tokens in the Swap & Bridge token lists (Hidden tokens 1) Won't be displayed in the "From" token list and 2) They won't be added to the "Receive" token list as additional tokens from the portfolio (example: hiding SKYA token on Base), BUT 3) They will STILL appear in the "Receive" list if they are present in service provider's to token list (example: hiding cbBTC on Base) #1213
  • Fixed: Significant balance decrease warning doesn't count hidden tokens #1204
  • Fixed: Swap & Bridge normalize incoming Socket tokens in (active) routes (was causing troubles for the parts that expect normalized addresses like the token icons logic) #1209
  • Fixed: Raw major error from main.traceCall #1208
    • Fix: traceCall throws two errors if debug_traceCall is not supported because await provider.send('debug_traceCall' is caught in debugTraceCall. Is there any point in catching it?
    • Add: rpcError.error?.message as a possible error reason (this was needed in 575fd54 but is a good change so I left it anyway)
    • Add: Wrap traceCall in try catch

Full Changelog: v2.37.1...v2.38.0