You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegenerator/cli/npm/envio/src/sources/RpcSource.res
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -678,11 +678,12 @@ let make = (
678
678
| exn=>
679
679
raise(
680
680
Source.GetItemsError(
681
-
FailedParsingItems({
682
-
message: "Failed to parse events using hypersync client decoder. Please double-check your ABI.",
681
+
FailedGettingItems({
683
682
exn,
684
-
blockNumber: fromBlock,
685
-
logIndex: 0,
683
+
attemptedToBlock: toBlock,
684
+
retry: ImpossibleForTheQuery({
685
+
message: "Failed to parse events using hypersync client decoder. Please double-check your ABI.",
686
+
}),
686
687
}),
687
688
),
688
689
)
@@ -812,11 +813,12 @@ let make = (
812
813
| exn=>
813
814
raise(
814
815
Source.GetItemsError(
815
-
FailedParsingItems({
816
-
message: "Failed to parse event with viem, please double-check your ABI.",
816
+
FailedGettingItems({
817
817
exn,
818
-
blockNumber,
819
-
logIndex,
818
+
attemptedToBlock: toBlock,
819
+
retry: ImpossibleForTheQuery({
820
+
message: `Failed to parse event with viem, please double-check your ABI. Block number: ${blockNumber->Int.toString}, log index: ${logIndex->Int.toString}`,
0 commit comments