@xyo-network/xl1-protocol-sdk 1.26.8 → 1.26.9
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
|
@@ -4589,8 +4589,6 @@ import {
|
|
|
4589
4589
|
ChainContractViewerMoniker as ChainContractViewerMoniker4,
|
|
4590
4590
|
DEFAULT_MAX_EXP_AHEAD,
|
|
4591
4591
|
FinalizationViewerMoniker as FinalizationViewerMoniker4,
|
|
4592
|
-
isHydratedBlockWithHashMeta,
|
|
4593
|
-
isHydratedTransactionWithHashMeta,
|
|
4594
4592
|
isSignedHydratedBlockWithHashMeta,
|
|
4595
4593
|
isSignedHydratedTransactionWithHashMeta,
|
|
4596
4594
|
MempoolRunnerMoniker,
|
|
@@ -4686,7 +4684,7 @@ var SimpleMempoolRunner = class extends AbstractCreatableProvider {
|
|
|
4686
4684
|
{ value: true, state: true }
|
|
4687
4685
|
)));
|
|
4688
4686
|
for (const [i, r] of validationResults.entries()) {
|
|
4689
|
-
const validated =
|
|
4687
|
+
const validated = isSignedHydratedBlockWithHashMeta(r);
|
|
4690
4688
|
if (!validated) {
|
|
4691
4689
|
this.logger?.info(`Pruning block ${bundles[remainingBlockMap[i]]._hash} during block validation`);
|
|
4692
4690
|
this.logger?.info(` - validation result: ${JSON.stringify(r, null, 2)}`);
|
|
@@ -4746,7 +4744,7 @@ var SimpleMempoolRunner = class extends AbstractCreatableProvider {
|
|
|
4746
4744
|
{ value: true, state: true }
|
|
4747
4745
|
)));
|
|
4748
4746
|
for (const [i, r] of validationResults.entries()) {
|
|
4749
|
-
const validated =
|
|
4747
|
+
const validated = isSignedHydratedTransactionWithHashMeta(r);
|
|
4750
4748
|
if (!validated) {
|
|
4751
4749
|
this.logger?.info(`Pruning transaction ${bundles[remainingTransactionMap[i]]._hash} during transaction validation`);
|
|
4752
4750
|
this.logger?.info(` - validation result: ${JSON.stringify(r, null, 2)}`);
|