freespek / solarkraft

Solakraft: a runtime monitoring tool for Soroban, powered by TLA+ and Apalache
Apache License 2.0
10 stars 0 forks source link

Support custom types in the checker #76

Closed thpani closed 1 month ago

thpani commented 1 month ago

Add support for custom types (struct, enum) in the checker. The JSDoc on tlaJsonOfNative() explains how the mapping to Apalache types works in detail.

Adds an E2E test, with transactions pre-fetched from the setter contract.

Also, extends the setter contract with an init function, so we can test the checker with fully initialized fields.

Closes #73