encodeEventLog
/ encodeLog
/ encodeEvent
function
#3094
Unanswered
krzkaczor
asked this question in
Idea / Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently viem features
decodeEventLog
which takes "raw" log info like topics and data and decodes it. I am looking for a inverse of this function --encodeEventLog
. The main use case for me would be creation synthetic logs for test purposes.Note:
encodeEventTopics
exists but it deals only with indexed arguments (topics) leaving out data.Beta Was this translation helpful? Give feedback.
All reactions