defi-wonderland / smock

The Solidity mocking library
MIT License
321 stars 39 forks source link

fix(pencil): update evm listeners for hardhat 2.11.0 #154

Closed derekbar90 closed 1 year ago

derekbar90 commented 1 year ago

Description Fixed vm.on errors when running smock in a hardhat 2.11.0 environment

Metadata

alcuadrado commented 1 year ago

I believe the ethereumjs dependencies have to be upgraded to be in sync with these https://github.com/NomicFoundation/hardhat/blob/master/packages/hardhat-core/package.json#L102-L111

derekbar90 commented 1 year ago

@alcuadrado Thanks for the review. I'll update the PR with the most recent versions shortly

0xGorilla commented 1 year ago

Any update on this?

0xDEnYO commented 1 year ago

It would be really nice if you could merge this pull request

0xOneTony commented 1 year ago

@derekbar90 Latest commit (https://github.com/defi-wonderland/smock/commit/b71cfd118a2a9579517769c0c31abede7d83ca71) should fix the issues with hardhat 2.11.0!

0xGorilla commented 1 year ago

This is fixed in version 2.3.0 of smock! Thanks @derekbar90 for being the first to point it out.