freespek / solarkraft

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

Fetch and instrument block timestamp #83

Closed thpani closed 1 month ago

thpani commented 1 month ago

Fetch and instrument the block timestamp, which is available in Soroban as env.ledger().timestamp().

Also modifies and moves around some e2e test assets, to match the repository after running npm run e2e. This is the result of (a) including time stamps and (b) writing back the verification result in verify.

Finally I'm moving an rmSync() call to keep the JSON TLA+ for debugging purposes, in case Apalache fails.