Repository navigation
chore(hyperliquid): remove unused Hex type import - #47636
Merged
georgewrmarshall merged 1 commit intoNov 6, 2026
Merged
Conversation
Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
georgewrmarshall
temporarily deployed
to
pr-comment
November 5, 2026 09:27 — with
GitHub Actions
Inactive
georgewrmarshall
temporarily deployed
to
pr-comment
November 5, 2026 09:43 — with
GitHub Actions
Inactive
Contributor
Builds ready [f5e3476]
⚡ Performance Benchmarks (Total: 🟢 5 pass · 🟡 5 warn · 🔴 3 fail)
Bundle Size Diffs
|
|
georgewrmarshall
enabled auto-merge
November 5, 2026 18:56
amandaye0h
approved these changes
Nov 6, 2026
n3ps
approved these changes
Nov 6, 2026
georgewrmarshall
deleted the
cursor/remove-dead-code-hyperliquid-hex-20261105
branch
November 6, 2026 18:52
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Removes the unused
Hextype import from the Hyperliquid deposit constants.CaipAssetTypestays. Reported bytsc --noUnusedLocals(TS6196).Owner set: none (no CODEOWNERS match).
app/scripts/lib/hyperliquid-deposit/constants.tsHextype importWhole-repo whole-word search: other
Hexhits are unrelated identifiers (the@metamask/utilstype and local variables). No open PR edits this file. Import blame and the file's last change are both 2026-09-03, outside the 60-day and 30-day windows. No user-facing behavior change.Checks passed:
yarn lint:tsc, eslint on the touched file, andyarn test:unit --coverage=false app/scripts/lib/hyperliquid-depositwith no snapshot updates.Docs/comments updated: none
Changelog
CHANGELOG entry: null
Related issues
Refs: proactive dead-code cleanup (extension counterpart of metamask-mobile#37948)
Manual testing steps
N/A — deletes unreachable code. There is no user-facing behavior to click through.
Screenshots/Recordings
N/A — no UI change
Before
N/A
After
N/A
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Dead import removal only; constants and Hyperliquid deposit behavior are unchanged.
Overview
Removes the unused
Hextype from the@metamask/utilsimport in Hyperliquid depositconstants.ts, leavingCaipAssetTypeunchanged. This is a TypeScriptnoUnusedLocalscleanup with no runtime or user-facing impact.Reviewed by Cursor Bugbot for commit f5e3476. Bugbot is set up for automated code reviews on this repo. Configure here.