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

fix(orchestration): chainHub accepts zone #10129

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

mhofman
Copy link
Member

@mhofman mhofman commented Sep 23, 2024

refs: #9541

Description

Extracted the chain hub changes from #9785

Changed makeChainHub to accept a zone instead of it implicitly creating a heap zone. A durable zone is required for retriable.

Security Considerations

None

Scaling Considerations

This store the map in durable storage instead of keeping it in the heap, which uses more persistent storage.

Documentation Considerations

Not sure if any docs need to be updated besides the JS doc for makeChainHub

Testing Considerations

Updated tests and examples

Upgrade Considerations

This moves into durable storage some info that was heap only before, effectively commiting ourselves to the shape of the data in these maps.

Copy link
Member

@turadg turadg left a comment

Choose a reason for hiding this comment

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

effectively commiting ourselves to the shape of the data in these maps.

This gave me pause, but it's only a commitment within a vat using a durably zoned ChainHub. We still have time to massage the shapes until the first on-chain contract using one.

That said I don't reason to expect its state schema to change.

Copy link

cloudflare-workers-and-pages bot commented Sep 24, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: ee4101a
Status: ✅  Deploy successful!
Preview URL: https://9b91273c.agoric-sdk.pages.dev
Branch Preview URL: https://mhofman-9541-durable-chain-h.agoric-sdk.pages.dev

View logs

@mhofman mhofman added the automerge:squash Automatically squash merge label Sep 24, 2024
@mergify mergify bot merged commit cfec54b into master Sep 24, 2024
90 checks passed
@mergify mergify bot deleted the mhofman/9541-durable-chain-hub branch September 24, 2024 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants