-
Discord user IDalice_or_bob Describe your question in detail.From discord
What error, if any, are you getting?No response What have you tried or looked at? Or how can we reproduce the error?No response Which operating system are you using?macOS Which SDK or tool are you using? (if any)TypeScript SDK Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, it's more recommended to use event from framework as it simplify a lot of things, most importantly no need for event store. See this example on defining event and emitting event. You can learn more about it from doc, we call the new event |
Beta Was this translation helpful? Give feedback.
-
@0xaptosj We have a requirement to update our contract, mainly because we want to replace the owner/admin address of the contract. Is it be easier to rotate the key so that we don't have to update the contract? But I don't know if there are any other details that we need to pay attention to, and I don't know if it will affect the related resource query function. |
Beta Was this translation helpful? Give feedback.
Yes, it's more recommended to use event from framework as it simplify a lot of things, most importantly no need for event store.
See this example on defining event and emitting event.
You can learn more about it from doc, we call the new event
module event