@xyo-network/xl1-protocol-sdk 1.26.7 → 1.26.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/neutral/index.mjs
CHANGED
|
@@ -4681,7 +4681,10 @@ var SimpleMempoolRunner = class extends AbstractCreatableProvider {
|
|
|
4681
4681
|
remainingBlockMap.length === remainingBlocks.length,
|
|
4682
4682
|
() => `remainingBlockMap length should match remainingBlocks length [${remainingBlockMap.length}/${remainingBlocks.length}]`
|
|
4683
4683
|
);
|
|
4684
|
-
const validationResults = await this.blockValidationViewer.
|
|
4684
|
+
const validationResults = await Promise.all(remainingBlocks.map((remainingBlock) => this.blockValidationViewer.validateBlock(
|
|
4685
|
+
remainingBlock,
|
|
4686
|
+
{ value: true, state: true }
|
|
4687
|
+
)));
|
|
4685
4688
|
for (const [i, r] of validationResults.entries()) {
|
|
4686
4689
|
const validated = isHydratedBlockWithHashMeta(r);
|
|
4687
4690
|
if (!validated) {
|
|
@@ -4738,7 +4741,10 @@ var SimpleMempoolRunner = class extends AbstractCreatableProvider {
|
|
|
4738
4741
|
remainingTransactionMap.length === remainingTransactions.length,
|
|
4739
4742
|
() => `remainingTransactionMap length should match remainingTransactions length [${remainingTransactionMap.length}/${remainingTransactions.length}]`
|
|
4740
4743
|
);
|
|
4741
|
-
const validationResults = await this.transactionValidationViewer.
|
|
4744
|
+
const validationResults = await Promise.all(remainingTransactions.map((remainingTransaction) => this.transactionValidationViewer.validateTransaction(
|
|
4745
|
+
remainingTransaction,
|
|
4746
|
+
{ value: true, state: true }
|
|
4747
|
+
)));
|
|
4742
4748
|
for (const [i, r] of validationResults.entries()) {
|
|
4743
4749
|
const validated = isHydratedTransactionWithHashMeta(r);
|
|
4744
4750
|
if (!validated) {
|