Skip to content

Commit dd4e371

Browse files
committed
[RFC] Add reviewers' suggestions.
1 parent b707b1d commit dd4e371

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

rfcs/0050-genesis-ledger-export.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ node operators.
1919
## Detailed design
2020

2121
The genesis ledger export is achieved using a GraphQL field named
22-
`fork_config`. This field, if asked for, contains a new runtime
23-
configuration, automatically updated with:
22+
`fork_config`. Asking for this field requires providing a slot or a
23+
state hash of the block that we want to base the exported ledger on.
24+
This field, if asked for, contains a new runtime configuration,
25+
automatically updated with:
2426

2527
* the dump of the current **staged ledger**, which will become the
2628
genesis ledger for the new network
@@ -43,7 +45,9 @@ migration script which will adapt a `mainnet` config file to the
4345
format required by `berkeley`. The former solution would probably
4446
be better.
4547

46-
The `fork_config` field has been added to GraphQL in [PR #13787](https://github.com/MinaProtocol/mina/pull/13787).
48+
The `fork_config` field has been added to GraphQL in [PR #13787](https://github.com/MinaProtocol/mina/pull/13787). It needs to be extended to return the blockchain state for
49+
a given block (height or state hash) so that we can export the
50+
desired ledger after the blockchain has moved on.
4751

4852
## Drawbacks
4953

0 commit comments

Comments
 (0)