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

ci: Automatic Nova parameter generation & testing #55

Merged
merged 4 commits into from
Feb 20, 2024

Conversation

samuelburnham
Copy link
Member

@samuelburnham samuelburnham commented Feb 20, 2024

Joint work with @storojs72 and @artem-bakuta

Successful test runs:
argumentcomputer/ci-lab#71

Note

The end2end.yml changes must be merged to main before taking effect. They can be tested with a PR to the pasta branch that contains a valid rust-reference-info.env.

artem-bakuta and others added 3 commits February 20, 2024 12:52
…uter#53)

* added CI scrypt for generating pk and compression-snark from Nova repo commit

* Changed CI e2e configuration to work with NOVA_URL and NOVA_COMMIT params. Python script changed to work with any version of nova commit.
PS: Previous test on nova/src/lib.rs can be removed.

* Changed Script name. Return back from generating test in runtime

* Changed Script name. Return back from generating test in runtime

* Changed Script and CI config.

---------

Co-authored-by: Artem <asamblers@gmail.com>
* Remove hardcoded JSONs

* Update CI configuration

* Drop end2end.yml as it is not relevant for custom branches
@samuelburnham samuelburnham changed the title Ci end2end ci: Automatic Nova parameter generation & testing Feb 20, 2024
Copy link
Member

@storojs72 storojs72 left a comment

Choose a reason for hiding this comment

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

I think, generate_contract_input.py and rust-reference-info.env are not relevant in current settings (though eventually we will definitely have e2e verification in main) - since in main we don't have e2e test. And in feature branches they should be overridden

rust-reference-info.txt Outdated Show resolved Hide resolved
@samuelburnham
Copy link
Member Author

Got it, I wasn't sure if we wanted the ability to generate the contract inputs outside of CI. I've removed them and will add the minor changes to the pasta test PR

@samuelburnham samuelburnham added this pull request to the merge queue Feb 20, 2024
Merged via the queue into argumentcomputer:main with commit 5027c33 Feb 20, 2024
1 check passed
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.

3 participants