Skip to content

Commit

Permalink
merge eth-keyring-controller logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesposito committed Jan 24, 2024
1 parent 48735f2 commit bd80fe1
Show file tree
Hide file tree
Showing 9 changed files with 869 additions and 121 deletions.
8 changes: 4 additions & 4 deletions packages/keyring-controller/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
branches: 74.14,
functions: 98.95,
lines: 93.84,
statements: 93.88,
},
},

Expand Down
4 changes: 4 additions & 0 deletions packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
"dependencies": {
"@keystonehq/metamask-airgapped-keyring": "^0.13.1",
"@metamask/base-controller": "^4.1.1",
"@metamask/browser-passworder": "^4.3.0",
"@metamask/eth-hd-keyring": "^7.0.1",
"@metamask/eth-keyring-controller": "^17.0.1",
"@metamask/eth-sig-util": "^7.0.0",
"@metamask/eth-simple-keyring": "^6.0.1",
"@metamask/keyring-api": "^3.0.0",
"@metamask/message-manager": "^7.3.8",
"@metamask/utils": "^8.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/keyring-controller/src/KeyringController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ describe('KeyringController', () => {
data: '',
from: initialState.keyrings[0].accounts[0],
}),
).toThrow("Can't sign an empty message");
).rejects.toThrow("Can't sign an empty message");
});
});

Expand Down
Loading

0 comments on commit bd80fe1

Please sign in to comment.