Skip to content

prep: release v2.19.0 - #809

Open
kvhnuke wants to merge 11 commits into
developfrom
fix/market-price-verify
Open

prep: release v2.19.0#809
kvhnuke wants to merge 11 commits into
developfrom
fix/market-price-verify

Conversation

@kvhnuke

@kvhnuke kvhnuke commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Bug Fixes

    • Improved token transaction decoding by consistently handling contract and recipient addresses, helping market information and prices display correctly.
  • UI Improvements

    • Improved the action view layout so its content width adapts more naturally.
  • Network Updates

    • Removed support for SKALE networks, Kaia, and Klaytn from network listings and related features.
  • Chores

    • Updated supporting libraries and development tooling across the application.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

💼 Build Files
chrome: enkrypt-chrome-f5d13c1c.zip
firefox: enkrypt-firefox-f5d13c1c.zip

💉 Virus total analysis
chrome: f5d13c1c
firefox: f5d13c1c

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: a57bf314-4c9e-4201-96da-b35aa326d9b8

📥 Commits

Reviewing files that changed from the base of the PR and between 2ca0a40 and 2032a3a.

⛔ Files ignored due to path filters (1)
  • packages/extension/src/providers/ethereum/networks/icons/kaia.png is excluded by !**/*.png
📒 Files selected for processing (11)
  • README.md
  • packages/extension/src/providers/ethereum/libs/assets-handlers/assetinfo-mew.ts
  • packages/extension/src/providers/ethereum/libs/assets-handlers/token-lists.ts
  • packages/extension/src/providers/ethereum/libs/assets-handlers/types/tokenbalance-mew.ts
  • packages/extension/src/providers/ethereum/networks/index.ts
  • packages/extension/src/providers/ethereum/networks/kaia.ts
  • packages/hw-wallets/src/trezor/ethereum/configs.ts
  • packages/swap/src/common/supportedNetworks.ts
  • packages/swap/src/configs.ts
  • packages/swap/src/types/index.ts
  • packages/types/src/networks.ts
💤 Files with no reviewable changes (9)
  • packages/extension/src/providers/ethereum/libs/assets-handlers/types/tokenbalance-mew.ts
  • packages/extension/src/providers/ethereum/libs/assets-handlers/token-lists.ts
  • packages/swap/src/common/supportedNetworks.ts
  • packages/hw-wallets/src/trezor/ethereum/configs.ts
  • packages/swap/src/configs.ts
  • packages/extension/src/providers/ethereum/networks/kaia.ts
  • packages/extension/src/providers/ethereum/libs/assets-handlers/assetinfo-mew.ts
  • packages/types/src/networks.ts
  • packages/extension/src/providers/ethereum/networks/index.ts

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


Walkthrough

This change normalizes Ethereum transaction addresses, removes SKALE and Kaia network support, updates dependency versions across the monorepo, and sets the extension action document width to max-content.

Changes

Ethereum transaction and network updates

Layer / File(s) Summary
Normalize Ethereum transaction addresses
packages/extension/src/providers/ethereum/libs/transaction/decoder.ts
Market data lookup keys and the returned toAddress field now use lowercase transaction addresses.
Remove SKALE and Kaia network support
packages/extension/src/providers/ethereum/..., packages/types/src/networks.ts, packages/swap/src/..., packages/hw-wallets/src/..., README.md
SKALE and Kaia endpoint mappings, network registrations, providers, asset handlers, wallet paths, swap configuration, documentation, and public enum members are removed.
Update dependency versions
package.json, packages/*/package.json
Runtime, wallet, application, and development dependency versions are updated across repository packages.
Set extension document width
packages/extension/action.html
The document HTML element now uses width: max-content.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Merge Risk: ⚪ Minimal · up to 2032a

The current change has no actionable merge-blocking risk identified and is merge-ready after normal checks and review.

Possibly related PRs

Suggested reviewers: gamalielhere, semajam

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately identifies this changeset as preparation for the v2.19.0 release, although it does not describe the token-address normalization fix.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/market-price-verify

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
packages/extension/src/providers/ethereum/libs/transaction/decoder.ts (1)

62-73: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

LGTM on lowercase market-data lookup, minor duplication.

Lowercasing the contract address for getMarketInfoByContracts and the subsequent marketInfo lookups correctly addresses the casing mismatch. tx.to!.toLowerCase() is computed 4 times though; extracting it once would avoid the repeated work and improve readability.

♻️ Optional refactor
+        const lowerTo = tx.to!.toLowerCase();
         await marketData
           .getMarketInfoByContracts(
-            [tx.to!.toLowerCase()],
+            [lowerTo],
             network.coingeckoPlatform!,
           )
           .then(marketInfo => {
-            if (marketInfo[tx.to!.toLowerCase()]) {
+            if (marketInfo[lowerTo]) {
               currentPriceUSD =
-                marketInfo[tx.to!.toLowerCase()]!.current_price ?? 0;
-              CGToken = marketInfo[tx.to!.toLowerCase()]!.id;
+                marketInfo[lowerTo]!.current_price ?? 0;
+              CGToken = marketInfo[lowerTo]!.id;
             }
           });
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/extension/src/providers/ethereum/libs/transaction/decoder.ts` around
lines 62 - 73, In the transaction decoder logic, the lowercase contract address
is computed repeatedly via tx.to!.toLowerCase() inside the market-data lookup
and response access, which adds unnecessary duplication. Refactor the flow in
the decoder.ts handler by extracting that value once into a local variable and
reusing it for getMarketInfoByContracts and the marketInfo indexing, keeping the
existing behavior in the decoder logic unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/extension/src/providers/ethereum/libs/transaction/decoder.ts`:
- Line 89: The DecodedTx mapping in decoder.ts is still calling toLowerCase on
tx.to via a non-null assertion, which will crash for contract-creation
transactions where tx.to is absent. Update the decoding logic around the tx.to
assignment so it safely handles undefined/null values, preserving the existing
behavior for contract creation by leaving toAddress unset or passing through the
missing value without invoking string methods.

---

Nitpick comments:
In `@packages/extension/src/providers/ethereum/libs/transaction/decoder.ts`:
- Around line 62-73: In the transaction decoder logic, the lowercase contract
address is computed repeatedly via tx.to!.toLowerCase() inside the market-data
lookup and response access, which adds unnecessary duplication. Refactor the
flow in the decoder.ts handler by extracting that value once into a local
variable and reusing it for getMarketInfoByContracts and the marketInfo
indexing, keeping the existing behavior in the decoder logic unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b55cd4ad-d20e-41c1-94a3-81e9491efee2

📥 Commits

Reviewing files that changed from the base of the PR and between df1cd61 and 3bab07a.

📒 Files selected for processing (1)
  • packages/extension/src/providers/ethereum/libs/transaction/decoder.ts

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/extension-bridge/package.json`:
- Around line 52-53: Align the ESLint dependency with eslint-config-airbnb-base
in packages/extension-bridge/package.json (lines 52-53),
packages/hw-wallets/package.json (lines 28-29), packages/storage/package.json
(lines 33-34), packages/types/package.json (lines 31-32),
packages/utils/package.json (lines 36-37), and packages/swap/package.json (lines
47-48) by changing eslint from the 9.x range to a compatible ESLint 8.x range,
or consistently removing/migrating eslint-config-airbnb-base if ESLint 9 is
required; update the corresponding lockfile dependencies as needed.

In `@packages/keyring/package.json`:
- Around line 41-42: Align the ESLint and Airbnb configuration versions in
packages/keyring/package.json lines 41-42, packages/name-resolution/package.json
lines 28-29, packages/request/package.json lines 37-38,
packages/signers/bitcoin/package.json lines 38-39,
packages/signers/ethereum/package.json lines 38-39,
packages/signers/kadena/package.json lines 36-37,
packages/signers/massa/package.json lines 41-42, and
packages/signers/polkadot/package.json lines 37-38 by using an ESLint 8.x
version compatible with eslint-config-airbnb-base@15.0.0, or consistently
migrating/removing that Airbnb configuration in each affected manifest.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 00de45f2-ac56-40b0-9941-be478954ecf5

📥 Commits

Reviewing files that changed from the base of the PR and between 3bab07a and 7d9f202.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (16)
  • package.json
  • packages/extension-bridge/package.json
  • packages/extension/package.json
  • packages/hw-wallets/package.json
  • packages/keyring/package.json
  • packages/name-resolution/package.json
  • packages/request/package.json
  • packages/signers/bitcoin/package.json
  • packages/signers/ethereum/package.json
  • packages/signers/kadena/package.json
  • packages/signers/massa/package.json
  • packages/signers/polkadot/package.json
  • packages/storage/package.json
  • packages/swap/package.json
  • packages/types/package.json
  • packages/utils/package.json

Comment thread packages/extension-bridge/package.json
Comment thread packages/keyring/package.json
@kvhnuke kvhnuke changed the title fix: normalize token address casing in market data retrieval prep: release v2.19 Aug 19, 2026
@kvhnuke kvhnuke changed the title prep: release v2.19 prep: release v2.19.0 Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant