How do get event data in unit tests? #426
Closed
ajaythxkur
started this conversation in
General
Replies: 1 comment
-
found out |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an event
#[event] struct TokenEvent has store, drop { object: address, }
i want to get the object address out of event for test.
let constructor_ref = &object::create_object(address_of(account));
Beta Was this translation helpful? Give feedback.
All reactions