Closed derekbar90 closed 2 years ago
Looks like this line is what provides the object which is missing an EventListener
Upon further investigation it looks like the _vm object missing .on which would confirm that the event listener has moved. There is now an events property which holds the event listener. I'll provide an MR shortly to resolve this.
Hey, sorry about this! We didn't realize that upgrading ethereumjs would break Smock. I promise we'll keep it in mind if we have to upgrade it in the future.
Describe the bug
When uses
smock.fake
the following error is thrown when running test suites under hardhat 2.11.0