-
Notifications
You must be signed in to change notification settings - Fork 214
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
Updated ContractModel tutorial #399
Conversation
@sjoerdvisscher do you understand why there are diffs with |
@sjoerdvisscher Also, do you understand the error in the tutorial build system? It appears to be complaining that |
@MaximilianAlgehed Try fetching and rebasing again, there are definitely still changes. For the build error: you need to add |
42e15d4
to
fae8a44
Compare
…h something to gain.
a2a8649
to
61c1e1c
Compare
* Small changes to Uniswap model; test out-of-order tokens * Changes to GameStateMachine generation * Add some negative testing to Spec.Uniswap * Add HTML coverage reporting for on-chain coverage info * First push on tutorial * Add ...WithOptions versions of checkNoLockedFundsProof(Fast) * Add No Locked Funds tutorial * checkNoLockedFundsProof: only run the wallet strategy for wallets with something to gain. * DynamicLogic: make anyActions_ generate a length depending on size parameter * Add time awareness section to the tutorial * Add coverage section to the tutorial * Make nextReactiveState and monitoring work in CrashTolerance tests * Add crash tolerance to the tutorial * Add ghc options to Auction.hs * Update tutorial Escrow specs to compile again * Add section on Auction to the tutorial * Enable SymValue in Actions (by deriving Data) * Add actionName to ContractModel * ContractModel: check *all* wallet balances, not just those changed in the model * Short section about certification in tutorial * fixed build errors in tutorial modules and ran updateMaterialized Co-authored-by: John <john.hughes@quviq.com>
* Small changes to Uniswap model; test out-of-order tokens * Changes to GameStateMachine generation * Add some negative testing to Spec.Uniswap * Add HTML coverage reporting for on-chain coverage info * First push on tutorial * Add ...WithOptions versions of checkNoLockedFundsProof(Fast) * Add No Locked Funds tutorial * checkNoLockedFundsProof: only run the wallet strategy for wallets with something to gain. * DynamicLogic: make anyActions_ generate a length depending on size parameter * Add time awareness section to the tutorial * Add coverage section to the tutorial * Make nextReactiveState and monitoring work in CrashTolerance tests * Add crash tolerance to the tutorial * Add ghc options to Auction.hs * Update tutorial Escrow specs to compile again * Add section on Auction to the tutorial * Enable SymValue in Actions (by deriving Data) * Add actionName to ContractModel * ContractModel: check *all* wallet balances, not just those changed in the model * Short section about certification in tutorial * fixed build errors in tutorial modules and ran updateMaterialized Co-authored-by: John <john.hughes@quviq.com>
This PR introduces a new ContractModel tutorial.
Most of the material is in place already but due to some delays on our end there are some additions later. Some of these are hinted in the tutorial right now but that should not hamper readability until we've finalized the last sections.
I think it makes sense to start reviewing and merging this as soon as possible regardless of this, as this is already 60 A4 pages of material :)
Pre-submit checklist: