Skip to content

Loading the initial shardus configs and initial network parameters in the network account. #101

Description

@jairajdev

To make this work for both new and existing networks, we should implement it behind a Liberdus versionFlag.

  • Fresh network: If the versionFlag is enabled, populate the Shardus configuration and the initial network parameters as the first entry in listOfChanges, with cycle set to 1, when the network account is created.

  • Existing network: When the versionFlag enabled after the new version validator is activated, check whether the first entry in the network account's listOfChanges already exists with cycle set to 1. If it does, no action is needed. Otherwise, insert the current Shardus configuration and the initial network parameters as the first entry in listOfChanges.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions