-
-
Notifications
You must be signed in to change notification settings - Fork 267
feat: add HyperEVM support in PreferenceController and TransactionController
#7770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
c863186 to
194255c
Compare
245aa34 to
4abe5bf
Compare
packages/transaction-controller/src/helpers/AccountsApiRemoteTransactionSource.ts
Show resolved
Hide resolved
HyperEVM support in PreferenceController and TransactionController
stanleyyconsensys
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 nit comment on the change log
b1e8ea6 to
d03e4b0
Compare
d03e4b0 to
5b9fbdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
stanleyyconsensys
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@OGPoyraz I had to force-push a CHANGELOG edit, is it possible to reapprove ? 🙏 |
Explanation
This PR adds support for the HyperEVM blockchain network across the PreferencesController and TransactionController packages. The changes enable HyperEVM network integration by adding chain ID definitions, API support, and default configurations.
Change
API:
V4 MultiAccount - URL
V1 Account relationship - URL
V1 Account tx history - URL
Jira
https://consensyssoftware.atlassian.net/browse/NEB-331
References
Checklist
Note
Medium Risk
Adds a new supported chain across preferences defaults and transaction-related Accounts API/swaps logic; incorrect chain ID mapping or API assumptions could affect transaction history/relationship queries and swaps defaults on that network.
Overview
Adds HyperEVM (
0x3e7/999) as a supported chain acrosspreferences-controllerandtransaction-controller.PreferencesControllernow includesHYPEREVMinETHERSCAN_SUPPORTED_CHAIN_IDSand enables it by default inshowIncomingTransactions(tests updated accordingly).transaction-controlleradds HyperEVM to Accounts API supported chain lists (relationship + incoming transactions), introducesCHAIN_IDS.HYPEREVM, and maps a default swaps token for HyperEVM. Changelogs are updated to reflect the new network support.Written by Cursor Bugbot for commit 5b9fbdf. This will update automatically on new commits. Configure here.