Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: transactions stuck in submitted status #7519

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 46 additions & 8 deletions patches/@metamask+transaction-controller+5.0.0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ index 0000000..8da9369
+//# sourceMappingURL=IncomingTransactionHelper.js.map
\ No newline at end of file
diff --git a/node_modules/@metamask/transaction-controller/dist/TransactionController.d.ts b/node_modules/@metamask/transaction-controller/dist/TransactionController.d.ts
index e242aed..d315c6c 100644
index e242aed..7efd89a 100644
--- a/node_modules/@metamask/transaction-controller/dist/TransactionController.d.ts
+++ b/node_modules/@metamask/transaction-controller/dist/TransactionController.d.ts
@@ -2,8 +2,10 @@
Expand Down Expand Up @@ -688,7 +688,7 @@ index e242aed..d315c6c 100644
/**
* Trim the amount of transactions that are set on the state. Checks
* if the length of the tx history is longer then desired persistence
@@ -413,59 +272,36 @@ export declare class TransactionController extends BaseController<TransactionCon
@@ -413,59 +272,37 @@ export declare class TransactionController extends BaseController<TransactionCon
* @returns Whether the transaction has failed.
*/
private checkTxReceiptStatusIsFailed;
Expand Down Expand Up @@ -766,6 +766,7 @@ index e242aed..d315c6c 100644
+ private isTransactionCompleted;
+ private onIncomingTransactions;
+ private onUpdatedLastFetchedBlockNumbers;
+ private getNonceTrackerTransactions;
}
export default TransactionController;
//# sourceMappingURL=TransactionController.d.ts.map
Expand All @@ -779,7 +780,7 @@ index 07781b0..0000000
-{"version":3,"file":"TransactionController.d.ts","sourceRoot":"","sources":["../src/TransactionController.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,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;;;;;;;OAQG;IACH,OAAO,CAAC,gBAAgB;IASxB;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;CAM1B;AAED,eAAe,qBAAqB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@metamask/transaction-controller/dist/TransactionController.js b/node_modules/@metamask/transaction-controller/dist/TransactionController.js
index 814a899..2862d54 100644
index 814a899..d2da0a2 100644
--- a/node_modules/@metamask/transaction-controller/dist/TransactionController.js
+++ b/node_modules/@metamask/transaction-controller/dist/TransactionController.js
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Expand Down Expand Up @@ -900,8 +901,8 @@ index 814a899..2862d54 100644
blockTracker,
- getPendingTransactions: (address) => (0, utils_1.getAndFormatTransactionsForNonceTracker)(address, TransactionStatus.submitted, this.state.transactions),
- getConfirmedTransactions: (address) => (0, utils_1.getAndFormatTransactionsForNonceTracker)(address, TransactionStatus.confirmed, this.state.transactions),
+ getPendingTransactions: (address) => (0, utils_1.getAndFormatTransactionsForNonceTracker)(address, types_1.TransactionStatus.submitted, this.state.transactions),
+ getConfirmedTransactions: (address) => (0, utils_1.getAndFormatTransactionsForNonceTracker)(address, types_1.TransactionStatus.confirmed, this.state.transactions),
+ getPendingTransactions: this.getNonceTrackerTransactions.bind(this, types_1.TransactionStatus.submitted),
+ getConfirmedTransactions: this.getNonceTrackerTransactions.bind(this, types_1.TransactionStatus.confirmed),
+ });
+ this.incomingTransactionHelper = new IncomingTransactionHelper_1.IncomingTransactionHelper({
+ blockTracker,
Expand Down Expand Up @@ -1315,7 +1316,7 @@ index 814a899..2862d54 100644
}
return [meta, false];
default:
@@ -856,88 +652,205 @@ class TransactionController extends base_controller_1.BaseController {
@@ -856,88 +652,209 @@ class TransactionController extends base_controller_1.BaseController {
return Number(txReceipt.status) === 0;
});
}
Expand Down Expand Up @@ -1583,6 +1584,10 @@ index 814a899..2862d54 100644
+ onUpdatedLastFetchedBlockNumbers({ lastFetchedBlockNumbers, blockNumber, }) {
+ this.update({ lastFetchedBlockNumbers });
+ this.hub.emit('incomingTransactionBlock', blockNumber);
+ }
+ getNonceTrackerTransactions(status, address) {
+ const { chainId: currentChainId } = this.getNetworkState().providerConfig;
+ return (0, utils_1.getAndFormatTransactionsForNonceTracker)(currentChainId, address, status, this.state.transactions);
}
}
exports.TransactionController = TransactionController;
Expand Down Expand Up @@ -2876,7 +2881,7 @@ index 0000000..1cddb49
+//# sourceMappingURL=types.js.map
\ No newline at end of file
diff --git a/node_modules/@metamask/transaction-controller/dist/utils.d.ts b/node_modules/@metamask/transaction-controller/dist/utils.d.ts
index ccf3362..895cdf1 100644
index ccf3362..301b1b5 100644
--- a/node_modules/@metamask/transaction-controller/dist/utils.d.ts
+++ b/node_modules/@metamask/transaction-controller/dist/utils.d.ts
@@ -1,6 +1,6 @@
Expand Down Expand Up @@ -2909,6 +2914,20 @@ index ccf3362..895cdf1 100644
export declare const validateGasValues: (gasValues: GasPriceValue | FeeMarketEIP1559Values) => void;
export declare const isFeeMarketEIP1559Values: (gasValues?: GasPriceValue | FeeMarketEIP1559Values | undefined) => gasValues is FeeMarketEIP1559Values;
export declare const isGasPriceValue: (gasValues?: GasPriceValue | FeeMarketEIP1559Values | undefined) => gasValues is GasPriceValue;
@@ -63,10 +49,11 @@ export declare function validateMinimumIncrease(proposed: string, min: string):
/**
* Helper function to filter and format transactions for the nonce tracker.
*
+ * @param currentChainId - Chain ID of the current network.
* @param fromAddress - Address of the account from which the transactions to filter from are sent.
* @param transactionStatus - Status of the transactions for which to filter.
* @param transactions - Array of transactionMeta objects that have been prefiltered.
* @returns Array of transactions formatted for the nonce tracker.
*/
-export declare function getAndFormatTransactionsForNonceTracker(fromAddress: string, transactionStatus: TransactionStatus, transactions: TransactionMeta[]): NonceTrackerTransaction[];
+export declare function getAndFormatTransactionsForNonceTracker(currentChainId: string, fromAddress: string, transactionStatus: TransactionStatus, transactions: TransactionMeta[]): NonceTrackerTransaction[];
//# sourceMappingURL=utils.d.ts.map
\ No newline at end of file
diff --git a/node_modules/@metamask/transaction-controller/dist/utils.d.ts.map b/node_modules/@metamask/transaction-controller/dist/utils.d.ts.map
deleted file mode 100644
index 9d4045c..0000000
Expand All @@ -2918,7 +2937,7 @@ index 9d4045c..0000000
-{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,IAAI,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EACL,WAAW,EACX,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,eAAO,MAAM,kBAAkB,qCAAqC,CAAC;AAiBrE;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,GAAG,GACb,MAAM,CAeR;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,eAS5D;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,QAmD3D;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,gBAAiB,WAAW,KAAG,OAO/D,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAC1C,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,GAAG,CAAC,EAAE,eAAe,GACpB,OAAO,CAAC,CAAC;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,EAAE,CAAA;CAAE,EAAE;IAAE,CAAC,MAAM,EAAE,MAAM,GAAG,EAAE,CAAA;CAAE,CAAC,CAAC,CA8C/D;AAED,eAAO,MAAM,iBAAiB,cACjB,aAAa,GAAG,sBAAsB,SAUlD,CAAC;AAEF,eAAO,MAAM,wBAAwB,yGAIsC,CAAC;AAE5E,eAAO,MAAM,eAAe,gGAG0B,CAAC;AAEvD,eAAO,MAAM,oBAAoB,UAAW,MAAM,QAAQ,MAAM,KAAG,MACF,CAAC;AAElE,eAAO,MAAM,6BAA6B,UACjC,MAAM,GAAG,SAAS,QACnB,MAAM,KACX,MAEF,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAQpE;AAED;;;;;;;GAOG;AACH,wBAAgB,uCAAuC,CACrD,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,eAAe,EAAE,GAC9B,uBAAuB,EAAE,CAsB3B"}
\ No newline at end of file
diff --git a/node_modules/@metamask/transaction-controller/dist/utils.js b/node_modules/@metamask/transaction-controller/dist/utils.js
index 179a564..ce955ba 100644
index 179a564..37403ab 100644
--- a/node_modules/@metamask/transaction-controller/dist/utils.js
+++ b/node_modules/@metamask/transaction-controller/dist/utils.js
@@ -1,15 +1,6 @@
Expand Down Expand Up @@ -2997,6 +3016,25 @@ index 179a564..ce955ba 100644
const validateGasValues = (gasValues) => {
Object.keys(gasValues).forEach((key) => {
const value = gasValues[key];
@@ -206,14 +154,16 @@ exports.validateMinimumIncrease = validateMinimumIncrease;
/**
* Helper function to filter and format transactions for the nonce tracker.
*
+ * @param currentChainId - Chain ID of the current network.
* @param fromAddress - Address of the account from which the transactions to filter from are sent.
* @param transactionStatus - Status of the transactions for which to filter.
* @param transactions - Array of transactionMeta objects that have been prefiltered.
* @returns Array of transactions formatted for the nonce tracker.
*/
-function getAndFormatTransactionsForNonceTracker(fromAddress, transactionStatus, transactions) {
+function getAndFormatTransactionsForNonceTracker(currentChainId, fromAddress, transactionStatus, transactions) {
return transactions
- .filter(({ status, transaction: { from } }) => status === transactionStatus &&
+ .filter(({ chainId, status, transaction: { from } }) => chainId === currentChainId &&
+ status === transactionStatus &&
from.toLowerCase() === fromAddress.toLowerCase())
.map(({ status, transaction: { from, gas, value, nonce } }) => {
// the only value we care about is the nonce
diff --git a/node_modules/@metamask/transaction-controller/dist/utils.js.map b/node_modules/@metamask/transaction-controller/dist/utils.js.map
deleted file mode 100644
index 8f2f6e3..0000000
Expand Down