Skip to content

Commit ba06d2a

Browse files
chore(runway): cherry-pick fix: Sanitize gas values before transaction updater functions (#15699)
1 parent 7ea2c7f commit ba06d2a

4 files changed

Lines changed: 443 additions & 9 deletions

File tree

app/components/Views/confirmations/components/confirm/confirm-component.test.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ jest.mock('../../../../../core/Engine', () => ({
8787
},
8888
},
8989
},
90+
TransactionController: {
91+
getTransactions: jest.fn().mockReturnValue([]),
92+
},
9093
},
9194
controllerMessenger: {
9295
subscribe: jest.fn(),

app/components/Views/confirmations/components/info-root/info-root.test.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jest.mock('../../../../../core/Engine', () => ({
4444
},
4545
},
4646
},
47+
TransactionController: {
48+
getTransactions: jest.fn().mockReturnValue([]),
49+
},
4750
},
4851
controllerMessenger: {
4952
subscribe: jest.fn(),

0 commit comments

Comments
 (0)