metamask-extension
metamask-extension copied to clipboard
[Sentry] Error: MetamaskController - No HD Key Tree found
Sentry Issue: METAMASK-MAB4
Error: MetamaskController - No HD Key Tree found
at MetamaskController.verifySeedPhrase (app/scripts/metamask-controller.js:2651:13)
at call (app/scripts/lib/createMetaRPCHandler.js:23:31)
...
(14 additional frame(s) were not displayed)
Events in past 14 days: 117
Here's where the error is thrown in the metamask-controller:
async verifySeedPhrase() {
const [primaryKeyring] = this.keyringController.getKeyringsByType(
KeyringType.hdKeyTree,
);
if (!primaryKeyring) {
throw new Error('MetamaskController - No HD Key Tree found');
}
const serialized = await primaryKeyring.serialize();
const seedPhraseAsBuffer = Buffer.from(serialized.mnemonic);
Here are the functions in the KeyringController that lead to the creation of a keyring of type KeyringType.hdKeyTree:
- addNewKeyring
- createNewVaultAndRestore
- createFirstKeyTree
- createNewVaultAndKeychain
Sentry issue: METAMASK-X78T
Sentry issue: METAMASK-X7EJ
Sentry issue: METAMASK-X7MC
Sentry issue: METAMASK-X7PV
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.
Comment from Guto on Slack: it's still valid, lets keep it open until the keyring-controller v16 is live in extension
edit: mobile -> extension
Mobile issue: https://github.com/MetaMask/metamask-mobile/issues/8196