@xyo-network/xl1-protocol-sdk 1.26.15 → 1.26.18

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.
@@ -4053,8 +4053,7 @@ var SimpleBlockValidationViewer = class extends AbstractCreatableProvider {
4053
4053
  const windowedUncleChain = await this.updateWindowedChainCache();
4054
4054
  const uncles = findUncles(this.context, windowedUncleChain, blocks);
4055
4055
  if (uncles.length !== 1) {
4056
- this.logger?.warn(JSON.stringify({ uncles, blocks }, null, 2));
4057
- this.logger?.warn(JSON.stringify(windowedUncleChain, null, 2));
4056
+ this.logger?.warn(JSON.stringify({ uncles, blocks: blocks.length }, null, 2));
4058
4057
  throw new Error(`No uncles or greater than one uncle found in block validation, which is not supported [${uncles.length}, ${blocks.length}]`);
4059
4058
  }
4060
4059
  return await Promise.all(uncles[0].map(async (block) => {
@@ -4687,7 +4686,7 @@ var SimpleMempoolRunner = class extends AbstractCreatableProvider {
4687
4686
  const validated = isSignedHydratedBlockWithHashMeta(r);
4688
4687
  if (!validated) {
4689
4688
  this.logger?.info(`Pruning block ${bundles[remainingBlockMap[i]]._hash} during block validation`);
4690
- this.logger?.info(` - validation result: ${JSON.stringify(r, null, 2)}`);
4689
+ this.logger?.info(` - validation result: ${r.at(0)?.message}`);
4691
4690
  }
4692
4691
  valid[remainingBlockMap[i]] = validated;
4693
4692
  }
@@ -4747,7 +4746,7 @@ var SimpleMempoolRunner = class extends AbstractCreatableProvider {
4747
4746
  const validated = isSignedHydratedTransactionWithHashMeta(r);
4748
4747
  if (!validated) {
4749
4748
  this.logger?.info(`Pruning transaction ${bundles[remainingTransactionMap[i]]._hash} during transaction validation`);
4750
- this.logger?.info(` - validation result: ${JSON.stringify(r, null, 2)}`);
4749
+ this.logger?.info(` - validation result: ${r.at(0)?.message}`);
4751
4750
  }
4752
4751
  valid[remainingTransactionMap[i]] = validated;
4753
4752
  }