You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What's the correct way how to use
cast sig-event
to get signature of an event with an enum parameter?Taking the source code literally gives an incorrect result, for example:
Replacing the
enum
argument withuint8
fixes the problem. This signature matches web3.py output from the contract's ABI:But is it always guaranteed to be
uint8
?Beta Was this translation helpful? Give feedback.
All reactions