Commit 5eaa9d3
authored
fix (cherry-pick): Adding patch on eth-json-rpc-middleware to disable verifyContract field validation for cosmos (#27065)
Cherry-picks #27021
(4ee09fc)
## **Description**
Adding patch on eth-json-rpc-middleware to disable verifyContract field
validation for cosmos
## **Related issues**
Fixes: #26980
## **Manual testing steps**
1. Submit a types signature request with verifyingContract set to
`cosmos`
2. Ensure that you are able to sign it
## **Screenshots/Recordings**
<img width="360" alt="Screenshot 2024-09-10 at 4 08 00 PM"
src="https://github.com/user-attachments/assets/a56bb8bd-abed-4fae-9c50-a3a25addd5b5">
## **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
- [ ] 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.1 parent 75fed52 commit 5eaa9d3
File tree
3 files changed
+44
-12
lines changed- .yarn/patches
3 files changed
+44
-12
lines changedLines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5036 | 5036 | | |
5037 | 5037 | | |
5038 | 5038 | | |
5039 | | - | |
| 5039 | + | |
5040 | 5040 | | |
5041 | 5041 | | |
5042 | 5042 | | |
| |||
5088 | 5088 | | |
5089 | 5089 | | |
5090 | 5090 | | |
| 5091 | + | |
| 5092 | + | |
| 5093 | + | |
| 5094 | + | |
| 5095 | + | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
| 5099 | + | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
| 5109 | + | |
5091 | 5110 | | |
5092 | | - | |
5093 | | - | |
| 5111 | + | |
| 5112 | + | |
5094 | 5113 | | |
5095 | | - | |
5096 | | - | |
| 5114 | + | |
| 5115 | + | |
5097 | 5116 | | |
5098 | | - | |
| 5117 | + | |
5099 | 5118 | | |
5100 | 5119 | | |
5101 | 5120 | | |
5102 | 5121 | | |
5103 | 5122 | | |
5104 | | - | |
| 5123 | + | |
5105 | 5124 | | |
5106 | 5125 | | |
5107 | 5126 | | |
5108 | | - | |
| 5127 | + | |
5109 | 5128 | | |
5110 | | - | |
| 5129 | + | |
5111 | 5130 | | |
5112 | 5131 | | |
5113 | 5132 | | |
| |||
5120 | 5139 | | |
5121 | 5140 | | |
5122 | 5141 | | |
5123 | | - | |
| 5142 | + | |
5124 | 5143 | | |
5125 | 5144 | | |
5126 | 5145 | | |
| |||
25272 | 25291 | | |
25273 | 25292 | | |
25274 | 25293 | | |
25275 | | - | |
| 25294 | + | |
25276 | 25295 | | |
25277 | 25296 | | |
25278 | 25297 | | |
| |||
0 commit comments