informalsystems / cosmwasm-to-quint

Semi-automated modelling and Model-Based Testing for CosmWasm contracts
Apache License 2.0
14 stars 1 forks source link

Using type-level polymorphism #10

Closed bugarela closed 7 months ago

bugarela commented 7 months ago

Hello :octocat:

This closes #9

  1. Translate Rust type constructors to Quint type constructors (quite small change)
  2. Produce nondet values for a wider range of types, including structs, constructors, lists and option types. This will need to be expanded even further, but I thought the progress so far was already enough for a PR
  3. Use type-level polymorphism in our lib files and in the boilerplate code.
    • We weren't really tracking the lib files so far, but now we are.

This changes were enough to make the zero-to-hero example work soomthly. I have some other examples in my queue to test.