-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Use Ethers for AssetsContractController #845
Conversation
1440647
to
ec13b8f
Compare
44bc407
to
0fb2da8
Compare
@Gudahtt Not sure if we want to do something to handle network changes or we should solve that in the extension? 🤔 |
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.
One suggestion but this looks good regardless. Really glad we can get rid of web3 🎉
194a199
to
d364e0b
Compare
Socket Security Pull Request Report👍 No new dependency issues detected in pull request Pull request report summary
Bot CommandsTo ignore an alert, reply with a comment starting with Powered by socket.dev |
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.
Looks great! Just had a few questions
packages/assets-controllers/src/Standards/NftStandards/ERC721/ERC721Standard.ts
Show resolved
Hide resolved
packages/assets-controllers/src/Standards/NftStandards/ERC1155/ERC1155Standard.ts
Show resolved
Hide resolved
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!
* Basic Ethers implementation for AssetsContractController * Fix some tests * Remove web3 from deps * Fix lint * Simplify a bit and fix more tests * Fix more tests * Fix tests by matching previous output types * Fix issues after rebase * Fix a bunch of tests and simplify * Fix tests * Fix lint * Simplify * Fix PR comments * Update coverage * Remove web3 types * Remove use of then() * Simplify decimals() * Update coverage
* Basic Ethers implementation for AssetsContractController * Fix some tests * Remove web3 from deps * Fix lint * Simplify a bit and fix more tests * Fix more tests * Fix tests by matching previous output types * Fix issues after rebase * Fix a bunch of tests and simplify * Fix tests * Fix lint * Simplify * Fix PR comments * Update coverage * Remove web3 types * Remove use of then() * Simplify decimals() * Update coverage
* Basic Ethers implementation for AssetsContractController * Fix some tests * Remove web3 from deps * Fix lint * Simplify a bit and fix more tests * Fix more tests * Fix tests by matching previous output types * Fix issues after rebase * Fix a bunch of tests and simplify * Fix tests * Fix lint * Simplify * Fix PR comments * Update coverage * Remove web3 types * Remove use of then() * Simplify decimals() * Update coverage
Description
Swap out
web3
for Ethers in theAssetsContractController
, this was the final place the dependency was used.Itemize the changes you have made into the categories below
web3
for Ethers in theAssetsContractController
Checklist