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

bootstrap upgrade complicated by 5 non-durable exports #8849

Open
dckc opened this issue Jan 31, 2024 · 1 comment
Open

bootstrap upgrade complicated by 5 non-durable exports #8849

dckc opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels
bug Something isn't working cosmic-swingset package: cosmic-swingset

Comments

@dckc
Copy link
Member

dckc commented Jan 31, 2024

Describe the bug

The bootstrap vat has 5 non-durable objects. So upgrading it will sever those exports; in particular, the coreEval handler, provisioningHandler, and prioritySenders manager.

To Reproduce

test.serial('audit bootstrap exports', async t => {
const expected = {
maxExports: 5,
maxNonDurable: 5,
ifaces: {
// in bridgeCoreEval()
coreHandler: true,
// in bridgeProvisioner()
provisioningHandler: true,
'prioritySenders manager': true,
// TODO? move to provisioning vat?
clientCreator: true,
},

Expected behavior

A clear and concise description of what you expected to happen.

Platform Environment

all platforms since mainnet1B launch.

Additional context

This issue is mainly to provide back-pointers to work that it impacts.

@Chris-Hibbert
Copy link
Contributor

The provisioningHandler here may actually be the one from chainBehaviors. There are two objects defined as Far('provisioningHandler', ...). One in chainBehavior, and another in provisionPoolKit. The latter is expected to be replaced with an Exo (see #10419), possibly as soon as upgrade 19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cosmic-swingset package: cosmic-swingset
Projects
None yet
Development

No branches or pull requests

4 participants