Skip to content

Commit 9c6e19d

Browse files
Add method to get transactions (#2065)
Re-add initApprovals method to allow client to finish initialisation before creating approvals. Remove unnecessary gas property update during initialisation since transactions are not added to the state until gas properties are updated. Normalise the gas fee values provided to speedUpTransaction and stopTransaction to support the extension arguments. Update the transaction after the afterSign hook to persist any updated properties. Report success to the result callback after publish is skipped to unblock the UI during the MMI flows. Set the value parameter to 0x0 if not specified. Limit properties updated by updateCustodianTransaction so it can initially be used for hash and status updates only, with more general MMI updates continuing to use updateTransaction. Align nonce logic with mobile. Update post transaction balance of swaps transactions after internal transactions.
1 parent 7dfc07b commit 9c6e19d

File tree

7 files changed

+947
-496
lines changed

7 files changed

+947
-496
lines changed

packages/transaction-controller/jest.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ module.exports = merge(baseConfig, {
1717
// An object that configures minimum threshold enforcement for coverage results
1818
coverageThreshold: {
1919
global: {
20-
branches: 88.48,
21-
functions: 94,
22-
lines: 98.5,
23-
statements: 98,
20+
branches: 88.78,
21+
functions: 94.14,
22+
lines: 98.29,
23+
statements: 98.25,
2424
},
2525
},
2626

0 commit comments

Comments
 (0)