Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

subnet initialization and subnet epoch #160

Merged
merged 3 commits into from
Apr 18, 2023
Merged

Conversation

adlrocha
Copy link
Contributor

This PR implements the Lotus side of the following IPC actors update consensus-shipyard/ipc-actors#94

  • It introduces a new config message to initialize a subnet and set the genesis epoch that is applied implicitly in the first block of the subnet.
  • It introduces a new RPC call to get the genesis epoch for a subnet.
  • The validator requests the genesis epoch for the subnet from the IPC agent that includes this information now when the validator set is queried.
  • The system also includes the corresponding updates to the bundle actor and genesis

@adlrocha adlrocha requested a review from dnkolegov April 17, 2023 18:46
Copy link
Contributor

@dnkolegov dnkolegov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@adlrocha adlrocha merged commit 7cb2675 into spacenet Apr 18, 2023
@adlrocha adlrocha deleted the adlrocha/genesis-epoch branch April 18, 2023 06:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants