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

Signature error on polkadot js #1466

Closed
kamilsa opened this issue Jan 11, 2023 · 2 comments
Closed

Signature error on polkadot js #1466

kamilsa opened this issue Jan 11, 2023 · 2 comments
Assignees
Labels

Comments

@kamilsa
Copy link
Contributor

kamilsa commented Jan 11, 2023

No description provided.

@kamilsa kamilsa added this to KAGOME Jan 9, 2023
@kamilsa kamilsa converted this from a draft issue Jan 11, 2023
@kamilsa kamilsa added the RPC label Jan 11, 2023
@kamilsa kamilsa moved this from Selected for development to In Progress in KAGOME Jan 25, 2023
@Harrm
Copy link
Contributor

Harrm commented Feb 3, 2023

This error occurs when finalization is lagging (but no more than for 512 blocks, after this threshold we have another error). It is worth noticing that extrinsic submition works when performed through python substrate interface in this scenario, only extrinsic generated via Polkadot JS fail with the signature error. It could be connected to the fact that Polkadot JS receives a lot of data that it allegedly uses to construct an extrinsic via subscription on storage keys, while python substrate interface fetches this data directly.

@kamilsa kamilsa moved this from In Progress to Todo in KAGOME Feb 9, 2023
@kamilsa kamilsa closed this as completed Mar 15, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in KAGOME Mar 15, 2023
@turuslan
Copy link
Contributor

turuslan commented Mar 6, 2024

polkadot-js/apps uses finalized block for mortality. However mortality Era uses lossy encoding, which becomes incorrect if finalized block is too far from best block.

https://github.com/paritytech/polkadot-sdk/blob/8f8297e9debe79139e3a41be8b54a5fcd603f783/substrate/frame/system/src/extensions/check_mortality.rs#L59-L75

@turuslan turuslan mentioned this issue Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants