Replies: 1 comment 3 replies
-
OK, I have found a way to make it read by ethers: if I declare the same event in both contracts it gets automatically added to the abi, even if it is never used in the contract, and even if the bytecode is exactly the same. Is that the right way to do it, or is there a way to add it to the abi used by ethers (only when I actually need it) instead of adding it to the contract? Thank you |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get the same event emitted from one contract, also when I call it from another contract.
The second one is missing the important parts to get the actual event, so it's likely not the way to do it :).
How should I do it?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions