From a027cf72f3850f0d2afa15ea00ee6cbf0618775d Mon Sep 17 00:00:00 2001 From: Miguel Victoria Date: Mon, 9 Sep 2024 22:40:28 +0200 Subject: [PATCH] feat: emit event on ghverify realm when user request verification --- examples/gno.land/r/gnoland/ghverify/contract.gno | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/gno.land/r/gnoland/ghverify/contract.gno b/examples/gno.land/r/gnoland/ghverify/contract.gno index b40c9ef1448..2bf519c29c0 100644 --- a/examples/gno.land/r/gnoland/ghverify/contract.gno +++ b/examples/gno.land/r/gnoland/ghverify/contract.gno @@ -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.