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(xsnap): agd checks 'xsnap -n' for agoric-upgrade-10 #7831

Merged
merged 1 commit into from
May 24, 2023

Conversation

warner
Copy link
Member

@warner warner commented May 24, 2023

This is a quick hack to assert that xsnap has been recompiled recently. bin/agd now runs xsnap -n to get the "network upgrade version", and asserts that it matches an expected value of agoric-update-10. If a user has somehow failed to recompile xsnap, their old copy won't understand the -n command, and agd will fail, rather than running a stale version (with highly confusing results).

refs #7012

@warner warner requested a review from arirubinstein May 24, 2023 02:09
Copy link
Contributor

@ivanlei ivanlei left a comment

Choose a reason for hiding this comment

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

🚀

Please make sure the associated xsnap update lands as well so that CI passes.

@warner warner force-pushed the 7012-xsnap-version-check branch from 1ca6d40 to 4be02e7 Compare May 24, 2023 02:56
@warner warner self-assigned this May 24, 2023
Base automatically changed from 7829-require-has-builtin to release-mainnet1B May 24, 2023 04:17
This is a quick hack to assert that xsnap has been recompiled
recently. `bin/agd` now runs `xsnap -n` to get the "network upgrade
version", and asserts that it matches an expected value of
`agoric-update-10`. If a user has somehow failed to recompile `xsnap`,
their old copy won't understand the `-n` command, and `agd` will fail,
rather than running a stale version (with highly confusing results).

refs #7012
@warner warner force-pushed the 7012-xsnap-version-check branch from 4be02e7 to 5265726 Compare May 24, 2023 04:20
@warner warner merged commit 842b440 into release-mainnet1B May 24, 2023
@warner warner deleted the 7012-xsnap-version-check branch May 24, 2023 04:21
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