-
Notifications
You must be signed in to change notification settings - Fork 517
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
Add a GraphQL query to generate a config file for a hard fork. #13787
Merged
Sventimir
merged 4 commits into
MinaProtocol:compatible
from
MinaFoundation:sventimir/ldeger_dump_tool
Aug 2, 2023
Merged
Add a GraphQL query to generate a config file for a hard fork. #13787
Sventimir
merged 4 commits into
MinaProtocol:compatible
from
MinaFoundation:sventimir/ldeger_dump_tool
Aug 2, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sventimir
force-pushed
the
sventimir/ldeger_dump_tool
branch
from
July 31, 2023 07:52
f481424
to
47ba904
Compare
The config gets updated with the state of the best staged ledger, so that it may serve as config file for a new network being a direct continuation of the current one. This will be useful for performing a hard fork in a controlled and automatic manner.
Sventimir
force-pushed
the
sventimir/ldeger_dump_tool
branch
from
July 31, 2023 07:53
47ba904
to
c9460e0
Compare
!ci-build-me |
7 tasks
!ci-build-me |
mrmr1993
reviewed
Aug 1, 2023
?block_window_duration_ms ?transaction_capacity ?coinbase_amount | ||
?supercharged_coinbase_factor ?account_creation_fee ?fork () = | ||
{ level | ||
; sub_windows_per_window = sub_window_per_window |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this renaming? The original is more accurate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely no reason. Removed in 074f6a7.
mrmr1993
approved these changes
Aug 1, 2023
in the resulting config.
!ci-build-me |
MartinMinkov
approved these changes
Aug 1, 2023
!ci-build-me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation:
we're going to perform a hard fork shortly. A necessary step in this activity is transferring the state of the blockchain from the old mainnet to a fresh blockchain, which becomes the new mainnet. We can do this using a config file, which contains the genesis ledger state.
Explain your changes:
genesis_ledger_timestamp
is not being updated, because I don't yet know how to update it at this point. This is something to decide upon: how to automatically compute the genesis timestamp for the ledger.Explain how you tested your changes:
Changes required on Berkeley to parse this config file are pull-requested in #13768 .
Checklist: