Skip to content

Commit

Permalink
chore: Bump gridplus-sdk to 2.7.1 (#28008)
Browse files Browse the repository at this point in the history
## **Description**

Bump dependency `gridplus-sdk` to latest by lifting pin.

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28008?quickstart=1)

## **Related issues**

- Follow-up to: #27973

#### Resolves
- #15927

#### Progresses
- #15532


## **Manual testing steps**

- Test basic GridPlus Lattic1 HW wallet flow


## **Screenshots/Recordings**

### **Before**

### **After**

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
  • Loading branch information
legobeat authored Oct 24, 2024
1 parent be68e2c commit fa895e5
Show file tree
Hide file tree
Showing 6 changed files with 418 additions and 249 deletions.
120 changes: 76 additions & 44 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,19 @@
"console.warn": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util>micro-ftch": true,
"@ethereumjs/tx>ethereum-cryptography": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"webpack>events": true
}
},
"@ethereumjs/tx>@ethereumjs/util>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"@ethereumjs/tx>@ethereumjs/util>micro-ftch": {
"globals": {
"Headers": true,
Expand Down Expand Up @@ -370,9 +375,9 @@
"@ethereumjs/tx": true,
"@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring": true,
"@keystonehq/metamask-airgapped-keyring>rlp": true,
"@metamask/obs-store": true,
"browserify>buffer": true,
"ethereumjs-util>rlp": true,
"uuid": true,
"webpack>events": true
}
Expand All @@ -382,16 +387,15 @@
"@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@keystonehq/bc-ur-registry-eth": true,
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": true,
"@metamask/eth-trezor-keyring>hdkey": true,
"browserify>buffer": true,
"eth-lattice-keyring>rlp": true,
"uuid": true
}
},
"@keystonehq/metamask-airgapped-keyring>rlp": {
"packages": {
"bn.js": true,
"browserify>buffer": true
"@keystonehq/metamask-airgapped-keyring>@keystonehq/base-eth-keyring>rlp": {
"globals": {
"TextEncoder": true
}
},
"@lavamoat/lavadome-react": {
Expand Down Expand Up @@ -872,14 +876,19 @@
},
"packages": {
"@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask/eth-ledger-bridge-keyring>@ethereumjs/rlp": true,
"@metamask/eth-sig-util": true,
"@metamask/eth-trezor-keyring>hdkey": true,
"browserify>buffer": true,
"webpack>events": true
}
},
"@metamask/eth-ledger-bridge-keyring>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"@metamask/eth-query": {
"packages": {
"@metamask/eth-query>json-rpc-random-id": true,
Expand Down Expand Up @@ -1362,18 +1371,12 @@
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util": {
"packages": {
"@metamask/keyring-controller>ethereumjs-wallet>ethereum-cryptography": true,
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>rlp": true,
"bn.js": true,
"browserify>assert": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"ethereumjs-util>create-hash": true
}
},
"@metamask/keyring-controller>ethereumjs-wallet>ethereumjs-util>rlp": {
"packages": {
"bn.js": true,
"browserify>buffer": true
"ethereumjs-util>create-hash": true,
"ethereumjs-util>rlp": true
}
},
"@metamask/logging-controller": {
Expand Down Expand Up @@ -2348,8 +2351,8 @@
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/smart-transactions-controller>@ethereumjs/tx>@ethereumjs/common": true,
"@metamask/smart-transactions-controller>@ethereumjs/tx>@ethereumjs/rlp": true,
"@metamask/smart-transactions-controller>@ethereumjs/util": true
"@metamask/smart-transactions-controller>@ethereumjs/util": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp": true
}
},
"@metamask/smart-transactions-controller>@ethereumjs/tx>@ethereumjs/common": {
Expand All @@ -2358,27 +2361,17 @@
"webpack>events": true
}
},
"@metamask/smart-transactions-controller>@ethereumjs/tx>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"@metamask/smart-transactions-controller>@ethereumjs/util": {
"globals": {
"console.warn": true,
"fetch": true
},
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/smart-transactions-controller>@ethereumjs/util>@ethereumjs/rlp": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp": true,
"webpack>events": true
}
},
"@metamask/smart-transactions-controller>@ethereumjs/util>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"@metamask/smart-transactions-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
Expand Down Expand Up @@ -2428,21 +2421,26 @@
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/tx": {
"packages": {
"@ethereumjs/tx>@ethereumjs/common": true,
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/tx>@ethereumjs/rlp": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/util": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/tx>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/util": {
"globals": {
"console.warn": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/rlp": true,
"@ethereumjs/tx>@ethereumjs/util>micro-ftch": true,
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/tx>@ethereumjs/rlp": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"webpack>events": true
Expand Down Expand Up @@ -4032,7 +4030,6 @@
"setTimeout": true
},
"packages": {
"@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/common>crc-32": true,
"@ethersproject/abi": true,
"@metamask/eth-sig-util": true,
Expand All @@ -4042,23 +4039,51 @@
"bn.js": true,
"browserify>buffer": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx": true,
"eth-lattice-keyring>gridplus-sdk>aes-js": true,
"eth-lattice-keyring>gridplus-sdk>bignumber.js": true,
"eth-lattice-keyring>gridplus-sdk>bitwise": true,
"eth-lattice-keyring>gridplus-sdk>borc": true,
"eth-lattice-keyring>gridplus-sdk>bs58check": true,
"eth-lattice-keyring>gridplus-sdk>secp256k1": true,
"eth-lattice-keyring>gridplus-sdk>uuid": true,
"eth-lattice-keyring>rlp": true,
"ethereumjs-util>ethereum-cryptography>bs58check": true,
"ethers>@ethersproject/sha2>hash.js": true,
"lodash": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": {
"packages": {
"@ethereumjs/tx>@ethereumjs/common>crc-32": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/util": true,
"webpack>events": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx": {
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/common": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/util": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/util": true,
"webpack>events": true
}
},
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/tx>@ethereumjs/util": {
"globals": {
"console.warn": true,
"fetch": true
},
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/rlp": true,
"webpack>events": true
}
},
Expand All @@ -4073,11 +4098,6 @@
"define": true
}
},
"eth-lattice-keyring>gridplus-sdk>bitwise": {
"packages": {
"browserify>buffer": true
}
},
"eth-lattice-keyring>gridplus-sdk>borc": {
"globals": {
"console": true
Expand All @@ -4099,7 +4119,19 @@
"globals": {
"URL": true,
"URLSearchParams": true,
"location": true
"location": true,
"navigator": true
}
},
"eth-lattice-keyring>gridplus-sdk>bs58check": {
"packages": {
"@noble/hashes": true,
"eth-lattice-keyring>gridplus-sdk>bs58check>bs58": true
}
},
"eth-lattice-keyring>gridplus-sdk>bs58check>bs58": {
"packages": {
"eth-lattice-keyring>gridplus-sdk>bs58check>bs58>base-x": true
}
},
"eth-lattice-keyring>gridplus-sdk>secp256k1": {
Expand Down
Loading

0 comments on commit fa895e5

Please sign in to comment.