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: keyCount compatibility with updated Moddable SDK #38

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

mhofman
Copy link
Contributor

@mhofman mhofman commented Apr 24, 2023

Handle creation options change between Moddable SDK 3.7 and 3.8.7

Refs: Agoric/agoric-sdk#7083

@mhofman mhofman requested review from michaelfig and removed request for michaelfig April 25, 2023 16:10
Copy link
Collaborator

@warner warner left a comment

Choose a reason for hiding this comment

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

Looks good. Do we need to do anything to bump the heap-snapshot version field? Not a big deal if we don't (and maybe that change would live in xs/ not xsnap/), but it might be nice if someone accidentally re-using a snapshot from before this change would get a clean incompatibility error, rather than a completely corrupted engine.

@mhofman
Copy link
Contributor Author

mhofman commented Apr 25, 2023

Do we need to do anything to bump the heap-snapshot version field?

The minor version of XS stored in snapshots got bumped, which indicates a breaking snapshot change that is enforced in the snapshot loading code on the Moddable SDK side.

@mhofman mhofman merged commit 53dfd5f into Agoric Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants