Closed stoobie closed 4 months ago
Your preview build is ready! ✨ Check the following link in 1-2 minutes: https://starknet-io.github.io/starknet-docs/pr-1169/documentation/ .
Your preview build is ready! ✨ Check the following link in 1-2 minutes: https://starknet-io.github.io/starknet-docs/pr-1169/documentation/ .
Description of the Changes
This PR fixes #1124.
The syscall emit_event example is incorrect, and the problem noted in num 2 also applies here.
https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/starknet-events/
The above code emits an event with two keys, the strings “status” and “deposit”
The code shown actually uses “key” and “deposit” as keys
PR Preview URL
Events emit_event
Check List
<docs/feat/fix/chore>(optional scope): <description>
, e.g:fix: minor typos in code
This change is![Reviewable](https://reviewable.io/review_button.svg)