Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Substrate extrinsic v5 #348

Closed
jasl opened this issue Oct 24, 2024 · 3 comments · Fixed by #359
Closed

Support Substrate extrinsic v5 #348

jasl opened this issue Oct 24, 2024 · 3 comments · Fixed by #359

Comments

@jasl
Copy link

jasl commented Oct 24, 2024

TransactionExtension paritytech/polkadot-sdk#3685 is a major upgrade of Substrate, which bumps the extrinsic version to 5.
Although it still needs a few months to be released to the stable channel,
I would appreciate it if you could schedule to support it.

@dzhelezov
Copy link
Contributor

Thanks for the heads up!

@jasl
Copy link
Author

jasl commented Nov 8, 2024

FYI: The extrinsic v5 spec hasn't finished yet polkadot-fellows/RFCs#124

@Tbaut
Copy link

Tbaut commented Dec 5, 2024

Westend who has probably upgraded is now failing with the following:

23544579 / 23736588, rate: 6 blocks/sec, mapping: 604 blocks/sec, 60 items/sec, eta: 8h 55m
20:18:07 FATAL sqd:processor AssertionError [ERR_ASSERTION]: unsupported extrinsic version
                                 at decodeExtrinsic (/home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-runtime/lib/runtime/extrinsic.js:16:26)
                                 at Runtime.decodeExtrinsic (/home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-runtime/lib/runtime/runtime.js:233:48)
                                 at /home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-data/lib/parsing/extrinsic.js:12:27
                                 at Array.map (<anonymous>)
                                 at decodeExtrinsics (/home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-data/lib/parsing/extrinsic.js:10:23)
                                 at BlockParser.decodedExtrinsics (/home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-data/lib/parsing/block.js:93:49)
                                 at BlockParser.value (/home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-data/node_modules/@subsquid/util-internal/lib/def.js:20:30)
                                 at BlockParser.timestamp (/home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-data/lib/parsing/block.js:121:70)
                                 at BlockParser.value (/home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-data/node_modules/@subsquid/util-internal/lib/def.js:20:30)
                                 at parseBlock (/home/thib/Github/ChainSafe/multix/squid/node_modules/@subsquid/substrate-data/lib/parsing/block.js:35:37)
                                 generatedMessage: false
                                 code: ERR_ASSERTION
                                 actual: false
                                 expected: true
                                 operator: ==
                                 blockHeight: 23544583
                                 blockHash: 0xb095192cfc5cbbcd379cbc511c509b9df411ea1a19f45bca134f7e0d93e58f92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants