Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Ava configuration should init endo as necessary #54

Open
gibson042 opened this issue Aug 17, 2023 · 0 comments
Open

Ava configuration should init endo as necessary #54

gibson042 opened this issue Aug 17, 2023 · 0 comments

Comments

@gibson042
Copy link
Member

gibson042 commented Aug 17, 2023

(originally posted by @gibson042 in Agoric/agoric-sdk#8205 (review))

test-….js files in contract/test/ expect an import of @agoric/zoe/tools/prepare-test-env.js to initialize a Hardened JS environment (and possibly a vat-like one) via @agoric/zoe/tools/prepare-test-env.js importing @agoric/swingset-liveslots/tools/prepare-test-env.js, which imports @agoric/internal/src/install-ses-debug.js, which imports @endo/init/debug.js.

That's a brittle chain, and was temporarily broken during iteration on Agoric/agoric-sdk#8205 . Instead, this repository should adopt the pattern of that PR and init the expected environment in ava configuration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant