-
-
Notifications
You must be signed in to change notification settings - Fork 219
feat: add SEI
network support in @metamask/assets-controllers
#5610
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
@metamaskbot publish-preview |
1 similar comment
@metamaskbot publish-preview |
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions.
|
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!
@stanleyyconsensys you’ve got some conflicts to resolve—let me know once they’re fixed and I’ll take another look. |
@cryptodev-2s thanks for the review, just resolve the conflict on the change log, hopefully it will not happen again i just wonder why we change the way for implement the change log, previous one seem better (at least you wont have conflict on that?) |
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!
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.
assets changes lgtm
Oh i think this line in changelog got lost
|
ba6884a
packages/transaction-controller/src/helpers/AccountsApiRemoteTransactionSource.ts
Outdated
Show resolved
Hide resolved
@stanleyyconsensys Do we need to update |
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.
Lifting off my RC since we rolled back transaction-controller
changes
@mcmire SEI is not a build-in network, it is a feature network like Polygon, so we dont need to update controller-utils im thinking, we should create a refactor PR to remove all the chainIDs from any controller, else it will become a super annoying whenever we need to add a network , wdyt? |
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!
@@ -17,6 +17,7 @@ export const ALLOWED_BRIDGE_CHAIN_IDS = [ | |||
CHAIN_IDS.ARBITRUM, | |||
CHAIN_IDS.LINEA_MAINNET, | |||
CHAIN_IDS.BASE, | |||
CHAIN_IDS.SEI, |
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.
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.
@amitabh94 it is not supported for now, but it is wip by ME
since the UI is blocking the user to fetch quote for SEI, so i think it is okay to add the chain id here
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.
due to the sake of simplicity on the review of this PR, i remove bridge controller to avoid blocking the others
SEI
network supportSEI
network support in Assets Controller
292e13d
SEI
network support in Assets ControllerSEI
network support in @metamask/assets-controllers
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!
- Added `fetchHistoricalPricesForAsset` method to `MultichainAssetsRatesController` ([#5639](https://github.com/MetaMask/core/pull/5639)) | ||
- Added `getSelectedMultichainAccount` action to `multichainAssetsRatesController` ([#5639](https://github.com/MetaMask/core/pull/5639)) | ||
- Added new state field `historicalPrices` to `MultichainAssetsRatesController` ([#5639](https://github.com/MetaMask/core/pull/5639)) | ||
- Add `includeMarketData` to the params of the `OnAssetsConversion` handler ([#5639](https://github.com/MetaMask/core/pull/5639)) |
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.
v58 has been already released; is this change intentional?
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.
um, as i had a comment from @cryptodev-2s previously
which we should use Add
instead of Added
i can rollback that, but just for align purpose
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.
@sahar-fehri which way we prefer
just change to Add
for this PR
or do it for previous too
or use Added
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.
Since it has been already released, lets not update it; but in future we use Add
Explanation
This PR is to adding SEI support for
Even if the network is not yet onboard on mobile/extension
it has no harm to adding SEI support on mobile/extension
References
Changelog
Checklist