Expand description
Functions§
- set
- ‘for_epoch_number’ parameter is needed only for validation purposes, because we need to make sure that check_inherent uses the same epoch_number as was used to create inherent data. Alternative approach would be to put epoch number inside InherentData. However, sidechain epoch number is set in Runtime, thus, inherent data provider doesn’t have to know about it. On top of that, the latter approach is slightly more complicated to code.
- set_
main_ chain_ scripts - Changes the main chain scripts used for committee rotation.