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

ability to start a contract without a bundle #10558

Open
turadg opened this issue Nov 22, 2024 · 0 comments
Open

ability to start a contract without a bundle #10558

turadg opened this issue Nov 22, 2024 · 0 comments
Labels

Comments

@turadg
Copy link
Member

turadg commented Nov 22, 2024

What is the Problem Being Solved?

The main problem is that we want to have code coverage reports on contracts. Zoe can only start a contract from an Installation of a bundle. Currently the Endo bundler is incompatible with code coverage tooling (#1817).

A secondary problem is that unit tests of contracts have to bundle just to be able to run the code that's right there on disk.

Description of the Design

What could solve both these problems is some way to startInstance with some sort of Installation that represents a set of files on disk. (either by being some new kind of installation that's used just for testing, or some new kind of bundle that virtualizes a set of local files).

This would in turn cause Zoe to load the JS code directly from disk, and hopefully then be visible to C8.

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

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

No branches or pull requests

1 participant