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

An EJS template to populate the TLA+ spec of xycloans #156

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

konnov
Copy link
Contributor

@konnov konnov commented Dec 19, 2024

This PR contains two contributions in the context of the xycloans case study:

  • a custom EJS template to translate an aggregated state of the xycloans contract to TLA+. I've managed to generate several transactions with Apalache.
  • a simple script to ingest the aggregated state and a counterexample to produce a Stellar CLI command.

We still have to figure out a reasonable UX.

Ignore the commits below 3b3cb3e, as they were propagated via git merge.

@konnov konnov marked this pull request as ready for review December 19, 2024 16:29
@konnov konnov requested a review from thpani December 19, 2024 16:29
Copy link
Collaborator

@thpani thpani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the template approach better than I thought 👍

doc/case-studies/xycloans/ingest.js Outdated Show resolved Hide resolved
doc/case-studies/xycloans/ingest.js Outdated Show resolved Hide resolved
doc/case-studies/xycloans/ingest.js Outdated Show resolved Hide resolved
doc/case-studies/xycloans/MCxycloans_monitor.ejs.tla Outdated Show resolved Hide resolved
doc/case-studies/xycloans/MCxycloans_monitor.ejs.tla Outdated Show resolved Hide resolved
doc/case-studies/xycloans/MCxycloans_monitor.ejs.tla Outdated Show resolved Hide resolved
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