File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1661,7 +1661,16 @@ let slot_tx_end, slot_chain_end =
16611661 in
16621662 (f (fun d -> d.slot_tx_end), f (fun d -> d.slot_chain_end))
16631663
1664- let fork_config_of_ledgers ~genesis_state_timestamp ~genesis_ledger_config
1664+ (* * This method creates a runtime daemon config for a hard fork, containing the
1665+ data that can't necessarily be computed in advance of the hard fork. This
1666+ ends up being data that's computed based on the last block produced before
1667+ the transaction stop slot. The only exception is the
1668+ [genesis_state_timestamp]; this value will be known in advance if the hard
1669+ fork automation MIP is accepted, but it is convenient to include this
1670+ parameter in the config for testing purposes. That way, the output of
1671+ [make_automatic_fork_config] will set the same fields as the config created
1672+ by the legacy hard fork config generation procedure. *)
1673+ let make_automatic_fork_config ~genesis_state_timestamp ~genesis_ledger_config
16651674 ~global_slot_since_genesis ~state_hash ~blockchain_length
16661675 ~staking_ledger_config ~staking_epoch_seed ~next_epoch_ledger_config
16671676 ~next_epoch_seed =
You can’t perform that action at this time.
0 commit comments