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

Factor out kontrol module from kevm-pyk codebase #1985

Merged
merged 35 commits into from
Aug 15, 2023
Merged

Conversation

ehildenb
Copy link
Member

@ehildenb ehildenb commented Jul 31, 2023

Fixes: runtimeverification/kontrol#4

The idea here is to factor out the kontrol codebase (now responsible for kevm foundry-* commands and also managing solc compiled artifacts) into its own codebase.

In particular:

  • Files solc_to_k.py and foundry.py are factored out into kontrol.* module.
  • File kontrol.__main__.py is added with all the solc related functionality and foundry related functionality.
  • pyproject.toml is modified to know about the kontrol binary.
  • Script bin/kevm is modified to call into kontrol binary on calls to kevm solc* or kevm foundry-*.
  • Runs the booster tests on a normal runner.

@ehildenb ehildenb self-assigned this Jul 31, 2023
@ehildenb ehildenb marked this pull request as ready for review August 9, 2023 19:57
package/docker/Dockerfile Outdated Show resolved Hide resolved
@rv-jenkins rv-jenkins merged commit a835336 into master Aug 15, 2023
12 checks passed
@rv-jenkins rv-jenkins deleted the separate-kontrol branch August 15, 2023 19:22
anvacaru pushed a commit that referenced this pull request Aug 17, 2023
* kevm-pyk/src/kontrol: separate module for kontrol

* src/kevm_pyk: remove kontrol related functionality

* kevm-pyk/pyproject: expose kontrol binary

* kevm-pyk/src/kontrol/__init__: add stub init module

* kevm_pyk/src/tests: adjust for new kontrol module

* bin/kevm: route foundry-* commands through kontrol module

* Set Version: 1.0.244

* flake.nix: patch kontrol calls for nix builds too

* bin/kevm: add kontrol help to help message

* flake.nix: fix flake

* bin/kevm: correct syntax error

* bin/kevm, flake.nix: simplify calls to gst-to-kore/kontrol

* bin/kevm, flake.nix: simplify how kevm-pyk is invoked

* {kontrol,kevm_pyk}/__main__: adjust CLI name

* kevm-pyk/pyproject.toml: publish two separate packages

* package/docker/Dockerfile: try setting up PATH appropriately

* package/docker/Dockerfile: use newer version of poetry

* package/docker/Dockerfile: correct PATH

* Set Version: 1.0.250

* kevm-pyk/pyproject: publish packages correctly

* Set Version: 1.0.251

* Set Version: 1.0.252

* package/docker/Dockerfile: correct PATH

* Set Version: 1.0.254

* flake.nix: correct substitution for new file location

* Set Version: 1.0.261

* .github/test-pr: correct to normal runner for booster tests

---------

Co-authored-by: devops <[email protected]>
iFrostizz pushed a commit that referenced this pull request Aug 28, 2023
* kevm-pyk/src/kontrol: separate module for kontrol

* src/kevm_pyk: remove kontrol related functionality

* kevm-pyk/pyproject: expose kontrol binary

* kevm-pyk/src/kontrol/__init__: add stub init module

* kevm_pyk/src/tests: adjust for new kontrol module

* bin/kevm: route foundry-* commands through kontrol module

* Set Version: 1.0.244

* flake.nix: patch kontrol calls for nix builds too

* bin/kevm: add kontrol help to help message

* flake.nix: fix flake

* bin/kevm: correct syntax error

* bin/kevm, flake.nix: simplify calls to gst-to-kore/kontrol

* bin/kevm, flake.nix: simplify how kevm-pyk is invoked

* {kontrol,kevm_pyk}/__main__: adjust CLI name

* kevm-pyk/pyproject.toml: publish two separate packages

* package/docker/Dockerfile: try setting up PATH appropriately

* package/docker/Dockerfile: use newer version of poetry

* package/docker/Dockerfile: correct PATH

* Set Version: 1.0.250

* kevm-pyk/pyproject: publish packages correctly

* Set Version: 1.0.251

* Set Version: 1.0.252

* package/docker/Dockerfile: correct PATH

* Set Version: 1.0.254

* flake.nix: correct substitution for new file location

* Set Version: 1.0.261

* .github/test-pr: correct to normal runner for booster tests

---------

Co-authored-by: devops <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Factor out kontrol codebase from KEVM codebase
3 participants