ponder 0.8.21 → 0.8.22

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.
@@ -6820,8 +6820,8 @@ function encodeTrace({
6820
6820
  input: trace.input,
6821
6821
  functionSelector: trace.input.slice(0, 10),
6822
6822
  output: trace.output ?? null,
6823
- revertReason: trace.revertReason ?? null,
6824
- error: trace.error ?? null,
6823
+ revertReason: trace.revertReason ? trace.revertReason.replace(/\0/g, "") : null,
6824
+ error: trace.error ? trace.error.replace(/\0/g, "") : null,
6825
6825
  value: trace.value ? hexToBigInt(trace.value) : null,
6826
6826
  index: trace.index,
6827
6827
  subcalls: trace.subcalls,