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

Cannot supply custom --kore-rpc-command to kevm foundry-prove #2033

Open
geo2a opened this issue Aug 23, 2023 · 0 comments
Open

Cannot supply custom --kore-rpc-command to kevm foundry-prove #2033

geo2a opened this issue Aug 23, 2023 · 0 comments
Labels
bug Something isn't working cli

Comments

@geo2a
Copy link
Contributor

geo2a commented Aug 23, 2023

When calling kevm found-prove, kevm does not have access to neither kore-rpc-booster nor even kore-rpc.

An attempt to provide a trivial custom command fails as follows (shortened):

cd test/foundry
...
$ kevm foundry-prove --verbose --test AccountParamsTest.testDealConcrete --kore-rpc-command 'kore–rpc'
...
INFO 2023-08-23 12:10:40,636 pyk.kore.rpc - Starting KoreServer: kore–rpc out/kompiled/definition.kore --module FOUNDRY-MAIN --server-port 0 --smt-timeout 300 --smt-retry-limit 10
...
FileNotFoundError: [Errno 2] No such file or directory: 'kore–rpc'

The command works as expected if given an absolute path to kore-rpc/kore-rpc-booster`:

$ kevm foundry-prove --verbose --test AccountParamsTest.testDealConcrete --kore-rpc-command '/nix/store/<LONG_STRING>/bin/kore–rpc'
...Normal output...
@geo2a geo2a added the bug Something isn't working label Aug 23, 2023
@ehildenb ehildenb added the cli label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli
Projects
None yet
Development

No branches or pull requests

2 participants