Relayer error, can't decode block.
Closed this issue · 1 comments
1devNdogs commented
Description
After several hours working, the relayer now it is not able to decode blocks,
resulting on Kusama and Parachains blocks not getting submited.
0|index | d>:: decodeU8a: failed at 0xa07a030000000000… on :: DoNotConstruct: Cannot construct unknown type PolkadotPrimitivesV1SignedUncheckedSigned
0|index | [1635520552802] ERROR: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec<Extrinsic>"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(Call):: Call: failed decoding paraInherent.enter:: Struct: failed on args: {"data":"{\"bitfields\":\"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>\",\"backedCandidates\":\"Vec<PolkadotPrimitivesV1BackedCandidate>\",\"disputes\":\"Vec<PolkadotPrimitivesV1DisputeStatementSet>\",\"parentHeader\":\"{\\\"parentHash\\\":\\\"H256\\\",\\\"number\\\":\\\"Compact<u32>\\\",\\\"stateRoot\\\":\\\"H256\\\",\\\"extrinsicsRoot\\\":\\\"H256\\\",\\\"digest\\\":\\\"{\\\\\\\"logs\\\\\\\":\\\\\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\\\\\"}\\\"}\"}"}:: decodeU8a: failed at 0xd502a08104000000… on data: {"bitfields":"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>","backedCandidates":"Vec<PolkadotPrimitivesV1BackedCandidate>","disputes":"Vec<PolkadotPrimitivesV1DisputeStatementSet>","parentHeader":"{\"parentHash\":\"H256\",\"number\":\"Compact<u32>\",\"stateRoot\":\"H256\",\"extrinsicsRoot\":\"H256\",\"digest\":\"{\\\"logs\\\":\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\"}\"}"}:: decodeU8a: failed at 0xd502a08104000000… on bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>:: decodeU8a: failed at 0xa081040000000000… on :: DoNotConstruct: Cannot construct unknown type PolkadotPrimitivesV1SignedUncheckedSigned
0|index | [1635520552945] ERROR: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec<Extrinsic>"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(Call):: Call: failed decoding paraInherent.enter:: Struct: failed on args: {"data":"{\"bitfields\":\"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>\",\"backedCandidates\":\"Vec<PolkadotPrimitivesV1BackedCandidate>\",\"disputes\":\"Vec<PolkadotPrimitivesV1DisputeStatementSet>\",\"parentHeader\":\"{\\\"parentHash\\\":\\\"H256\\\",\\\"number\\\":\\\"Compact<u32>\\\",\\\"stateRoot\\\":\\\"H256\\\",\\\"extrinsicsRoot\\\":\\\"H256\\\",\\\"digest\\\":\\\"{\\\\\\\"logs\\\\\\\":\\\\\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\\\\\"}\\\"}\"}"}:: decodeU8a: failed at 0xd102a04a09000000… on data: {"bitfields":"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>","backedCandidates":"Vec<PolkadotPrimitivesV1BackedCandidate>","disputes":"Vec<PolkadotPrimitivesV1DisputeStatementSet>","parentHeader":"{\"parentHash\":\"H256\",\"number\":\"Compact<u32>\",\"stateRoot\":\"H256\",\"extrinsicsRoot\":\"H256\",\"digest\":\"{\\\"logs\\\":\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\"}\"}"}:: decodeU8a: failed at 0xd102a04a09000000… on bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>:: decodeU8a: failed at 0xa04a090000000000… on :: DoNotConstruct: Cannot construct unknown type PolkadotPrimitivesV1SignedUncheckedSigned
0|index | fields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>:: decodeU8a: failed at 0xa081040000000000… on :: DoNotConstruct: Cannot construct unknown type PolkadotPrimitivesV1SignedUncheckedSigned
0|index | 2021-10-29 15:15:52 VEC: Unable to decode on index 1 createType(ExtrinsicV4):: createType(Call):: Call: failed decoding paraInherent.enter:: Struct: failed on args: {"data":"{\"bitfields\":\"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>\",\"backedCandidates\":\"Vec<PolkadotPrimitivesV1BackedCandidate>\",\"disputes\":\"Vec<PolkadotPrimitivesV1DisputeStatementSet>\",\"parentHeader\":\"{\\\"parentHash\\\":\\\"H256\\\",\\\"number\\\":\\\"Compact<u32>\\\",\\\"stateRoot\\\":\\\"H256\\\",\\\"extrinsicsRoot\\\":\\\"H256\\\",\\\"digest\\\":\\\"{\\\\\\\"logs\\\\\\\":\\\\\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\\\\\"}\\\"}\"}"}:: decodeU8a: failed at 0xd102a04a09000000… on data: {"bitfields":"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>","backedCandidates":"Vec<PolkadotPrimitivesV1BackedCandidate>","disputes":"Vec<PolkadotPrimitivesV1DisputeStatementSet>","parentHeader":"{\"parentHash\":\"H256\",\"number\":\"Compact<u32>\",\"stateRoot\":\"H256\",\"extrinsicsRoot\":\"H256\",\"digest\":\"{\\\"logs\\\":\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\"}\"}"}:: decodeU8a: failed at 0xd102a04a09000000… on bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>:: decodeU8a: failed at 0xa04a090000000000… on :: DoNotConstruct: Cannot construct unknown type PolkadotPrimitivesV1SignedUncheckedSigned
0|index | 2021-10-29 15:15:52 RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec<Extrinsic>"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(Call):: Call: failed decoding paraInherent.enter:: Struct: failed on args: {"data":"{\"bitfields\":\"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>\",\"backedCandidates\":\"Vec<PolkadotPrimitivesV1BackedCandidate>\",\"disputes\":\"Vec<PolkadotPrimitivesV1DisputeStatementSet>\",\"parentHeader\":\"{\\\"parentHash\\\":\\\"H256\\\",\\\"number\\\":\\\"Compact<u32>\\\",\\\"stateRoot\\\":\\\"H256\\\",\\\"extrinsicsRoot\\\":\\\"H256\\\",\\\"digest\\\":\\\"{\\\\\\\"logs\\\\\\\":\\\\\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\\\\\"}\\\"}\"}"}:: decodeU8a: failed at 0xd102a04a09000000… on data: {"bitfields":"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>","backedCandidates":"Vec<PolkadotPrimitivesV1BackedCandidate>","disputes":"Vec<PolkadotPrimitivesV1DisputeStatementSet>","parentHeader":"{\"parentHash\":\"H256\",\"number\":\"Compact<u32>\",\"stateRoot\":\"H256\",\"extrinsicsRoot\":\"H256\",\"digest\":\"{\\\"logs\\\":\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\"}\"}"}:: decodeU8a: failed at 0xd102a04a09000000… on bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>:: decodeU8a: failed at 0xa04a090000000000… on :: DoNotConstruct: Cannot construct unknown type PolkadotPrimitivesV1SignedUncheckedSigned
0|index | 2021-10-29 15:16:23 VEC: Unable to decode on index 1 createType(ExtrinsicV4):: createType(Call):: Call: failed decoding paraInherent.enter:: Struct: failed on args: {"data":"{\"bitfields\":\"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>\",\"backedCandidates\":\"Vec<PolkadotPrimitivesV1BackedCandidate>\",\"disputes\":\"Vec<PolkadotPrimitivesV1DisputeStatementSet>\",\"parentHeader\":\"{\\\"parentHash\\\":\\\"H256\\\",\\\"number\\\":\\\"Compact<u32>\\\",\\\"stateRoot\\\":\\\"H256\\\",\\\"extrinsicsRoot\\\":\\\"H256\\\",\\\"digest\\\":\\\"{\\\\\\\"logs\\\\\\\":\\\\\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\\\\\"}\\\"}\"}"}:: decodeU8a: failed at 0xd902a09506000000… on data: {"bitfields":"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>","backedCandidates":"Vec<PolkadotPrimitivesV1BackedCandidate>","disputes":"Vec<PolkadotPrimitivesV1DisputeStatementSet>","parentHeader":"{\"parentHash\":\"H256\",\"number\":\"Compact<u32>\",\"stateRoot\":\"H256\",\"extrinsicsRoot\":\"H256\",\"digest\":\"{\\\"logs\\\":\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\"}\"}"}:: decodeU8a: failed at 0xd902a09506000000… on bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>:: decodeU8a: failed at 0xa095060000000000… on :: DoNotConstruct: Cannot construct unknown type PolkadotPrimitivesV1SignedUncheckedSigned
0|index | 2021-10-29 15:16:23 RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec<Extrinsic>"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(Call):: Call: failed decoding paraInherent.enter:: Struct: failed on args: {"data":"{\"bitfields\":\"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>\",\"backedCandidates\":\"Vec<PolkadotPrimitivesV1BackedCandidate>\",\"disputes\":\"Vec<PolkadotPrimitivesV1DisputeStatementSet>\",\"parentHeader\":\"{\\\"parentHash\\\":\\\"H256\\\",\\\"number\\\":\\\"Compact<u32>\\\",\\\"stateRoot\\\":\\\"H256\\\",\\\"extrinsicsRoot\\\":\\\"H256\\\",\\\"digest\\\":\\\"{\\\\\\\"logs\\\\\\\":\\\\\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\\\\\"}\\\"}\"}"}:: decodeU8a: failed at 0xd902a09506000000… on data: {"bitfields":"Vec<PolkadotPrimitivesV1SignedUncheckedSigned>","backedCandidates":"Vec<PolkadotPrimitivesV1BackedCandidate>","disputes":"Vec<PolkadotPrimitivesV1DisputeStatementSet>","parentHeader":"{\"parentHash\":\"H256\",\"number\":\"Compact<u32>\",\"stateRoot\":\"H256\",\"extrinsicsRoot\":\"H256\",\"digest\":\"{\\\"logs\\\":\\\"Vec<SpRuntimeGenericDigestDigestItem>\\\"}\"}"}:: decodeU8a: failed at 0xd902a09506000000… on bitfields: Vec<PolkadotPrimitivesV1SignedUncheckedSigned>:: decodeU8a: failed at 0xa095060000000000… on :: DoNotConstruct: Cannot construct unknown type PolkadotPrimitivesV1SignedUncheckedSigned
Here are the full logs
https://drive.google.com/file/d/1lD4Wbkyzrr7IbY33VKtzh6gGNdrVTAYM/view?usp=sharing
I had to restart the relayer backend, it is working again.
Will be pending if this error appears again.
isSerge commented
Could not reproduce