Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subnet manager #481

Closed
4 tasks done
adlrocha opened this issue Dec 9, 2022 · 1 comment
Closed
4 tasks done

Subnet manager #481

adlrocha opened this issue Dec 9, 2022 · 1 comment
Labels

Comments

@adlrocha
Copy link
Contributor

adlrocha commented Dec 9, 2022

Background

All commands for subnet management pertain to a specific subnet and are executed on behalf of an account. The subnet and the account need to be specified in the configuration, otherwise, the command is rejected.

In the CLI, the commands are generally of the form:

./ipc-agent <subnet|checkpoint|crossmsg> <command> [params] --as=<account>

Subnet Management Commands

The subnet management commands that need to be implemented are:

  • subnet create: Creates a SA in the parent subnet P for subnet C on behalf of A.
  • subnet join: Account A joins a subnet C as a validator. It sends a message to the parent P of C calling the Join method of the SA deployed on P.
  • subnet leave: Account A leaves a subnet C as a validator. It sends a message to the parent P of C calling the Leave method of the SA deployed on P.
  • subnet kill: Kills a subnet C on behalf of A. It calls the Kill method on the SA of C deployed on P. This does not destroy the SA.

More details about the specific implementation of this commands can be found in the IPC Agent design doc.

@adlrocha adlrocha transferred this issue from consensus-shipyard/lotus Feb 16, 2023
@adlrocha adlrocha changed the title Subnet controller Subnet manager Feb 16, 2023
@adlrocha
Copy link
Contributor Author

This has been finalized and is being tested by @cryptoAtwill

@jsoares jsoares transferred this issue from consensus-shipyard/ipc-libs Dec 19, 2023
@jsoares jsoares added the s:ipc label Dec 19, 2023
@jsoares jsoares closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants