-
The code below is from v4 I believe and it causes error in v5.3.
The error is
|
Beta Was this translation helpful? Give feedback.
Answered by
zemse
Jul 5, 2021
Replies: 1 comment
-
You can change it to: const eventTopic = ethers.utils.id(eventSig);
// or
const eventTopic = ethers.utils.keccak256(ethers.utils.toUtf8Bytes(eventSig)); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
emclab
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can change it to: