This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Add genesis configuration to Initializer #1208
Labels
S1-implement
PR/Issue is in the implementation stage
Milestone
The initializer module is responsible for coordinating between other modules for block initialization, finalization, and session changes.
Genesis configuration can also be managed by the initializer, calling into functions on each of its managed modules.
It should be setting:
This can be implemented in the
Initializer
by having anadd_extra_genesis
block in thedecl_storage
invocation. One viable way to implement thisadd_extra_genesis
block is to call bookkeeping methods on modules (e.g.Paras::schedule_para_initialization
andConfiguration::set_*
methods), then prepare aSessionChangeNotification
and callinitializer_on_new_session
for each module.The text was updated successfully, but these errors were encountered: