feat: Accounts controller integration #21277
Annotations
10 errors and 1 warning
Run yarn lint:tsc:
app/core/Engine.ts#L512
Type '"AccountsController:selectedAccountChange"' is not assignable to type '"ApprovalController:addRequest"'.
|
Run yarn lint:tsc:
app/core/Engine.ts#L595
Type '"AccountsController:selectedAccountChange"' is not assignable to type '"NetworkController:stateChange" | "KeyringController:stateChange" | "PPOMController:initialisationStateChangeEvent" | "SnapController:snapBlocked" | "SnapController:snapInstalled" | ... 27 more ... | "KeyringController:qrKeyringStateChange"'.
|
Run yarn lint:tsc:
app/core/Engine.ts#L598
Type '"AccountsController:setCurrentAccount"' is not assignable to type '"SnapController:getPermitted" | "SnapController:install" | `${string}:maybeUpdateState` | `${string}:testOrigin` | "SnapController:clearSnapState" | "SnapController:get" | "SnapController:getSnapState" | ... 68 more ... | "KeyringController:getKeyringForAccount"'.
|
Run yarn lint:tsc:
app/core/Engine.ts#L599
Type '"AccountsController:setAccountName"' is not assignable to type '"SnapController:getPermitted" | "SnapController:install" | `${string}:maybeUpdateState` | `${string}:testOrigin` | "SnapController:clearSnapState" | "SnapController:get" | "SnapController:getSnapState" | ... 68 more ... | "KeyringController:getKeyringForAccount"'.
|
Run yarn lint:tsc:
app/core/Engine.ts#L600
Type '"AccountsController:listAccounts"' is not assignable to type '"SnapController:getPermitted" | "SnapController:install" | `${string}:maybeUpdateState` | `${string}:testOrigin` | "SnapController:clearSnapState" | "SnapController:get" | "SnapController:getSnapState" | ... 68 more ... | "KeyringController:getKeyringForAccount"'.
|
Run yarn lint:tsc:
app/core/Engine.ts#L601
Type '"AccountsController:getSelectedAccount"' is not assignable to type '"SnapController:getPermitted" | "SnapController:install" | `${string}:maybeUpdateState` | `${string}:testOrigin` | "SnapController:clearSnapState" | "SnapController:get" | "SnapController:getSnapState" | ... 68 more ... | "KeyringController:getKeyringForAccount"'.
|
Run yarn lint:tsc:
app/core/Engine.ts#L602
Type '"AccountsController:getAccountByAddress"' is not assignable to type '"SnapController:getPermitted" | "SnapController:install" | `${string}:maybeUpdateState` | `${string}:testOrigin` | "SnapController:clearSnapState" | "SnapController:get" | "SnapController:getSnapState" | ... 68 more ... | "KeyringController:getKeyringForAccount"'.
|
Run yarn lint:tsc:
app/core/Engine.ts#L603
Type '"AccountsController:updateAccounts"' is not assignable to type '"SnapController:getPermitted" | "SnapController:install" | `${string}:maybeUpdateState` | `${string}:testOrigin` | "SnapController:clearSnapState" | "SnapController:get" | "SnapController:getSnapState" | ... 68 more ... | "KeyringController:getKeyringForAccount"'.
|
Run yarn lint:tsc:
app/core/Engine.ts#L612
Type 'AccountsControllerState | undefined' is not assignable to type 'AccountsControllerState'.
|
Run yarn lint:tsc
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading