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

Implement kasmerx verify #131

Merged
merged 3 commits into from
May 29, 2024
Merged

Implement kasmerx verify #131

merged 3 commits into from
May 29, 2024

Conversation

tothtamas28
Copy link
Contributor

Related:

Adds command kasmerx verify:

  • Loads kasmerx.json file from test directory
  • Runs prover on tests using kmxwasm.property

To try it out:

  • Clone runtimeverification/mx-semantics
  • Add <path-to-mx-semantics>/tests/contracts/foundrylike/kasmerx.json:
    {
      "contract_paths": [
        "../../../deps/mx-sdk-rs/contracts/examples/adder"
      ]
    }
  • make build-kasmer
  • poetry -C kmxwasm run -- kasmerx -C <path-to-mx-semantics>/tests/contracts/foundrylike build
  • Run
    poetry -C kmxwasm run -- kasmerx -C <path-to-mx-semantics>/tests/contracts/foundrylike verify test_call_add --booster
    

@tothtamas28 tothtamas28 self-assigned this May 28, 2024
@tothtamas28 tothtamas28 marked this pull request as ready for review May 28, 2024 12:22
@tothtamas28 tothtamas28 merged commit f0a6183 into master May 29, 2024
5 checks passed
@tothtamas28 tothtamas28 deleted the kasmerx-verify branch May 29, 2024 07:37
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.

2 participants