-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
[assets-contract-controller] Apply messenger pattern and remove inheritance from BaseControllerV1
#4397
Commits on Jul 16, 2024
-
Convert
AssetsContractController
to use messenger pattern without i……nheriting from `BaseControllerV2`
Configuration menu - View commit details
-
Copy full SHA for 5288605 - Browse repository at this point
Copy the full SHA 5288605View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7886280 - Browse repository at this point
Copy the full SHA 7886280View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b2ed46 - Browse repository at this point
Copy the full SHA 7b2ed46View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa059a9 - Browse repository at this point
Copy the full SHA fa059a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27f6f88 - Browse repository at this point
Copy the full SHA 27f6f88View commit details -
Define messenger actions corresponding to the public methods of `Asse…
…tsContractController`
Configuration menu - View commit details
-
Copy full SHA for c6a9323 - Browse repository at this point
Copy the full SHA c6a9323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a3bf9 - Browse repository at this point
Copy the full SHA 35a3bf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c37cfe - Browse repository at this point
Copy the full SHA 4c37cfeView commit details -
Replace AssetsContractController constructor options with messenger a…
…ctions in downstream controllers
Configuration menu - View commit details
-
Copy full SHA for 79a29c3 - Browse repository at this point
Copy the full SHA 79a29c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1315c88 - Browse repository at this point
Copy the full SHA 1315c88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83271e7 - Browse repository at this point
Copy the full SHA 83271e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 123fe80 - Browse repository at this point
Copy the full SHA 123fe80View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee3a923 - Browse repository at this point
Copy the full SHA ee3a923View commit details -
[assets-contract] Adjust downstream tests to use messenger actions in…
…stead of class method callbacks
Configuration menu - View commit details
-
Copy full SHA for 10a4678 - Browse repository at this point
Copy the full SHA 10a4678View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39ac871 - Browse repository at this point
Copy the full SHA 39ac871View commit details -
Fix
setupAssetContractControllers
so that `useNetworkControllerProv……ider` option works
Configuration menu - View commit details
-
Copy full SHA for 3964cb1 - Browse repository at this point
Copy the full SHA 3964cb1View commit details -
Make class fields accessible but immutable by converting to private b…
…ut exposing getter
Configuration menu - View commit details
-
Copy full SHA for 079f4cd - Browse repository at this point
Copy the full SHA 079f4cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1f58e7 - Browse repository at this point
Copy the full SHA f1f58e7View commit details -
Replace references to
NetworkController:stateChange
event with `Net……workController:networkDidChange` event
Configuration menu - View commit details
-
Copy full SHA for 2de5258 - Browse repository at this point
Copy the full SHA 2de5258View commit details -
Fix
#getCorrect{Provider,ChainId}
methods so that the methods retur……n up-to-date results by referencing the currently selected network in the network-controller, even if the `networkClientId` param is omitted.
Configuration menu - View commit details
-
Copy full SHA for 69ba701 - Browse repository at this point
Copy the full SHA 69ba701View commit details -
Fix
setupAssetContractControllers
, revert unintended changes to `us……eNetworkControllerProvider` flag behavior
Configuration menu - View commit details
-
Copy full SHA for a258fa2 - Browse repository at this point
Copy the full SHA a258fa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb0b0f - Browse repository at this point
Copy the full SHA bbb0b0fView commit details -
Fix
BN.isZero()
call that throws error, causing ERC-1155 ownership ……check to return exception
Configuration menu - View commit details
-
Copy full SHA for 30d2f29 - Browse repository at this point
Copy the full SHA 30d2f29View commit details -
Fix
NftController
watchNft
test errors caused by changes to `mess……enger.call` invocation order
Configuration menu - View commit details
-
Copy full SHA for 38fb163 - Browse repository at this point
Copy the full SHA 38fb163View commit details -
Set
ApprovalController:addRequest
payload `requestData.asset.standa……rd` property fallback value to `suggestedNftMeta.type`
Configuration menu - View commit details
-
Copy full SHA for 1559242 - Browse repository at this point
Copy the full SHA 1559242View commit details -
Fix async
expect.rejects.toThrow
call so that theexpect
call is ……synchronous and its argument is an async callback
Configuration menu - View commit details
-
Copy full SHA for ed70562 - Browse repository at this point
Copy the full SHA ed70562View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffa8cb3 - Browse repository at this point
Copy the full SHA ffa8cb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 022b3ff - Browse repository at this point
Copy the full SHA 022b3ffView commit details -
Adapt
watchNft
tests to new messenger call invocations- Explicitly mock all messenger call invocation results - Fix results for `'should handle ERC721 type and add pending request to ApprovalController with the OpenSea API enabled and IPFS gateway disabled'` test based on fully mocked return values
Configuration menu - View commit details
-
Copy full SHA for 18cc886 - Browse repository at this point
Copy the full SHA 18cc886View commit details -
Configuration menu - View commit details
-
Copy full SHA for c445384 - Browse repository at this point
Copy the full SHA c445384View commit details -
Configuration menu - View commit details
-
Copy full SHA for 056e8dc - Browse repository at this point
Copy the full SHA 056e8dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99fc5b9 - Browse repository at this point
Copy the full SHA 99fc5b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c6f6e5 - Browse repository at this point
Copy the full SHA 6c6f6e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20e5451 - Browse repository at this point
Copy the full SHA 20e5451View commit details -
- Restore usage of `Object.getPrototypeOf` - add `setProvider` to exceptions
Configuration menu - View commit details
-
Copy full SHA for 1d5ea66 - Browse repository at this point
Copy the full SHA 1d5ea66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 236844a - Browse repository at this point
Copy the full SHA 236844aView commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a40f0d1 - Browse repository at this point
Copy the full SHA a40f0d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 161b7ce - Browse repository at this point
Copy the full SHA 161b7ceView commit details -
Co-authored-by: Elliot Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f50e5f4 - Browse repository at this point
Copy the full SHA f50e5f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 418df79 - Browse repository at this point
Copy the full SHA 418df79View commit details -
Configuration menu - View commit details
-
Copy full SHA for c35943c - Browse repository at this point
Copy the full SHA c35943cView commit details -
Apply
ExtractAvailable{Action,Event}
test utility typesCo-authored-by: Elliot Winkler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49831d9 - Browse repository at this point
Copy the full SHA 49831d9View commit details
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e6324d9 - Browse repository at this point
Copy the full SHA e6324d9View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b496b69 - Browse repository at this point
Copy the full SHA b496b69View commit details