Skip to content

Commit

Permalink
feat(ghverify): emit event when user request verification (#2778)
Browse files Browse the repository at this point in the history
<!-- please provide a detailed description of the changes made in this
pull request. -->
related to #2777 
<details><summary>Contributors' checklist...</summary>

- [ ] Added new tests, or not needed, or not feasible
- [ ] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [ ] Updated the official documentation or not needed
- [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>

Co-authored-by: 6h057 <15034695+omarsy@users.noreply.github.com>
  • Loading branch information
Villaquiranm and omarsy authored Oct 23, 2024
1 parent e34a8f7 commit 247f2c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/gno.land/r/gnoland/ghverify/contract.gno
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ func RequestVerification(githubHandle string) {
); err != nil {
panic(err)
}
std.Emit(
"verification_requested",
"from", gnoAddress,
"handle", githubHandle,
)
}

// GnorkleEntrypoint is the entrypoint to the gnorkle oracle handler.
Expand Down

0 comments on commit 247f2c6

Please sign in to comment.