Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Reactive state updates in contract models #67

Merged
merged 4 commits into from
Nov 2, 2021

Conversation

MaximilianAlgehed
Copy link
Contributor

Some contracts have offchain code that runs in the background (e.g. the Auction example contract). This PR introduces a simple change to ContractModel that makes it possible to model these reactive state changes faithfully.

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description

@MaximilianAlgehed MaximilianAlgehed marked this pull request as draft October 29, 2021 13:42
@MaximilianAlgehed MaximilianAlgehed marked this pull request as ready for review October 29, 2021 13:45
@sjoerdvisscher sjoerdvisscher merged commit 4a109e9 into IntersectMBO:main Nov 2, 2021
@sjoerdvisscher
Copy link
Contributor

Thanks!

@UlfNorell UlfNorell deleted the PR-reactive-contract-model branch November 2, 2021 13:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants