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

Make fork-off-substrate greate again #141

Closed
wants to merge 1 commit into from
Closed

Make fork-off-substrate greate again #141

wants to merge 1 commit into from

Conversation

s0me0ne-unkn0wn
Copy link

What's it all about

  • Node.JS has a hardcoded limitation of 512 Mb for string length. Because of that, storage state of mainline networks cannot be read and forked spec cannot be written synchronously as they are much bigger already (current Westend storage state JSON takes ~840 Mb). To address that, streamed reading and writing was implemented. This also fixes Polkadot state JSON not parsable #87;
  • Runtime module name ParasScheduler is outdated, current implementation names it ParaScheduler.

Caveats

Stringifying with big-json is dead slow and may take up to 10 minutes to write a Westend forked spec. Didn't test with other networks.

Fix `ParaScheduler` runtime module name
@s0me0ne-unkn0wn s0me0ne-unkn0wn closed this by deleting the head repository Oct 30, 2023
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 this pull request may close these issues.

Polkadot state JSON not parsable
1 participant