Skip to content

Commit

Permalink
Add method to get transactions (#2065)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthewwalsh0 authored Nov 22, 2023
1 parent 7dfc07b commit 9c6e19d
Show file tree
Hide file tree
Showing 7 changed files with 947 additions and 496 deletions.
8 changes: 4 additions & 4 deletions packages/transaction-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: 88.48,
functions: 94,
lines: 98.5,
statements: 98,
branches: 88.78,
functions: 94.14,
lines: 98.29,
statements: 98.25,
},
},

Expand Down
Loading

0 comments on commit 9c6e19d

Please sign in to comment.