Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Exercise on the uses of assert #138

Closed
tekkac opened this issue May 20, 2022 · 0 comments · Fixed by #188
Closed

Exercise on the uses of assert #138

tekkac opened this issue May 20, 2022 · 0 comments · Fixed by #188
Assignees
Labels
Difficulty: easy anybody can understand it Duration: under a day wil take up to one day good first issue Good for newcomers State: open ready for contribution Techno: cairo cairo Type: feature a new feature to implement

Comments

@tekkac
Copy link
Contributor

tekkac commented May 20, 2022

Description

Show that Cairo uses the assert keyword for two purposes:

  • Verifying a value against a memory location
  • Assigning a value to a memory location

Resource:

Acceptance criteria

  • The exercise shows different uses of assert
  • The contract compiles and tests pass
  • An exercise patch is generated
@tekkac tekkac added Type: feature a new feature to implement Duration: under a day wil take up to one day Techno: cairo cairo State: open ready for contribution Difficulty: easy anybody can understand it labels May 20, 2022
@tekkac tekkac added the good first issue Good for newcomers label May 30, 2022
@tekkac tekkac moved this to 🔖 Ready in Starklings backlog Jun 6, 2022
@tdelabro tdelabro self-assigned this Jun 9, 2022
@tdelabro tdelabro linked a pull request Jun 9, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Difficulty: easy anybody can understand it Duration: under a day wil take up to one day good first issue Good for newcomers State: open ready for contribution Techno: cairo cairo Type: feature a new feature to implement
Projects
Status: 🔖 Ready
Development

Successfully merging a pull request may close this issue.

2 participants