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

Setting --initial-balance shouldn't fail if the subnet is bootstrapped in join #357

Closed
adlrocha opened this issue Nov 14, 2023 · 0 comments
Labels
bug Something isn't working s:ipc

Comments

@adlrocha
Copy link
Contributor

If subnet join is called with the --initial-balance flag after the subnet has already been spawned (or bootstrapped), setting the --initial-balance flag will cause the call to fail because once a subnet has been started validators are not allowed to set an initial balance.

The best way to go about it is that instead of failing when --initial-balance is set, when a subnet is bootstrapped instead of trying to call pre-fund, we should directly call fund` and send a top-down message to provide the initial balance.

We should also include docs on how to start a validator once a subnet has been already started (describing how they need to wait for a bottom-up checkpoint for the subnet to make the validator set effective)

@adlrocha adlrocha added the bug Something isn't working label Nov 14, 2023
@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
bug Something isn't working s:ipc
Projects
No open projects
Status: Triage
Development

No branches or pull requests

2 participants