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

Split core proposals from bootstrap #8440

Open
mhofman opened this issue Oct 5, 2023 · 0 comments
Open

Split core proposals from bootstrap #8440

mhofman opened this issue Oct 5, 2023 · 0 comments
Assignees
Labels
cosmic-swingset package: cosmic-swingset enhancement New feature or request

Comments

@mhofman
Copy link
Member

mhofman commented Oct 5, 2023

What is the Problem Being Solved?

Currently bootstrap serves 2 functions: setup the core vats needed for the basic functionality of a chain, and execute a set of core proposals.

#8287 introduces a way to run core proposals, that are part of an upgrade, to completion within the block.

Description of the Design

Use the "same block" queue introduced in #8287 to queue and process bootstrap core proposals instead of relying on the bootstrap code to run those. To satisfy #8162. it would require reporting success of these core proposals back to cosmic-swingset, but that is also needed for upgrades.

We also would likely want to leverage the improvements of #8219 wrt scheduling of core proposals.

Security Considerations

None

Scaling Considerations

None

Test Plan

TBD

Upgrade Considerations

None, this only affect newly bootstrapped chains, but does remove complexity from the bootstrap vat and consolidates logic with upgrades.

@mhofman mhofman added enhancement New feature or request cosmic-swingset package: cosmic-swingset labels Oct 5, 2023
@mhofman mhofman self-assigned this Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmic-swingset package: cosmic-swingset enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant