-
Notifications
You must be signed in to change notification settings - Fork 690
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
Unmanageable near/res/testnet.json #1878
Comments
How do we dump state? |
You can call genesis populate tool with 0 additional accounts: https://github.com/nearprotocol/nearcore/blob/96f3c599dbebe6d3d500ddc8e70c75a254630840/genesis-tools/README.md |
I'm going to split |
@nearmax I want to reiterate:
|
I suggest we unify the config migration discussion that we had in Slack and #1922 here. Here is the list of workflows that we want to cover:
The current workflowThe current workflow, for all the above cases, is to write a new python script that given the previous config.json file generates a new config.json file with a modified state/format. This approach has the following issues:
We also store the state as state records together with the rest of the config in one file. It has the following issues: |
@nearmax C1 and C2 are the same :) |
Typo. Fixed. |
As part of #1913, I need to make some changes to the
|
@evgenykuzyakov why not |
@bowenwang1996 This issue is obsolete right? We've solved it differently |
it's fixed. |
near/res/testnet.json is 39MiB and it is currently really hard to work with it especially when there is a merge conflict. We should remove the state from config and use state dump instead. Good thing this functionality is aleady implemented.
The text was updated successfully, but these errors were encountered: