Closed XY-Wang closed 2 years ago
@tmcgroul
@XY-Wang sorry for the inconveniences. Will fix today
@XY-Wang fix is available in subsquid/substrate-gateway:1.2.0
i also updated https://shibuya.archive.subsquid.io/graphql so you can check correctness
Thanks for the quick fix @tmcgroul ! It works perfectly now, closing the issue.
Hi,
I'm running the newest FireSquid archive and batch processor for Rococo-contracts and noticed that the processor crashes when it tries to process a failed extrinsic.
This is the error that I'm getting:
When I query my archive API, I see that at the erroneous block there is a failed extrinsic and no calls but the extrinsic does contain a
callId
:This is causing the processor to crash since in
tryMapGatewayBlock
of ingest.ts (lines 357-362) the processor is asserting that call is not null ifcallId
exists. I imagine that the archive should be setting thecallId
to null in case of failed extrinsics?I also encountered the same issue in Shibuya at block 1010459 using the Shibuya archive endpoint, https://shibuya.archive.subsquid.io/graphql