-
Notifications
You must be signed in to change notification settings - Fork 0
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
Workflow change #122
Comments
How about:
|
I started implementing It assumes a file {
"contract_path": "../../../deps/mx-sdk-rs/contracts/examples/adder"
} Based on this information, the test and main contracts can be compiled with @virgil-serbanuta, does this make sense so far? |
Yes. |
I think it might be better if it accepts multiple contracts, so instead of {
"contract_paths": [
"../../../deps/mx-sdk-rs/contracts/examples/adder"
]
} |
Current workflow with examples:
foundry.json
file pointing to the main contract ( https://github.com/runtimeverification/mx-semantics/blob/master/tests/contracts/foundrylike/foundry.json )poetry -C kmultiversx run -- kasmer --directory "tests/contracts/foundrylike"
)poetry run python3 -m src.kmxwasm.property --claim $CLAIM --kcfg=$KCFG --booster
)This workflow also needs various things to be kompiled and
poetry install
commands.Desired workflow:
kasmer build --main=deps/mx-sdk-rs/contracts/examples/adder --test=tests/contracts/foundrylike
kasmer fuzz tests/contracts/foundrylike
kasmer verify tests/contracts/foundrylike
The desired workflow could also look something like this (we're skipping the
foundry.json
file):kasmer build --main=deps/mx-sdk-rs/contracts/examples/adder --test=tests/contracts/foundrylike
kasmer fuzz --main=deps/mx-sdk-rs/contracts/examples/adder --test=tests/contracts/foundrylike
kasmer verify --main=deps/mx-sdk-rs/contracts/examples/adder --test=tests/contracts/foundrylike
I'm not that good with user experience, so the following may or may not be a good idea. The
verify
command should allow users to debug:verify --restart
andverify --restart <N>
)verify --tree
andverify --show-node <n>
).verify --remove <n>
).verify --step <m> --iterations <n>
).verify --job-name=<name>
)The text was updated successfully, but these errors were encountered: