frangio / hardhat-exposed

Automatically expose internal Solidity functions for smart contract testing.
82 stars 13 forks source link

Emit events for payable and non payable internal function with return #12

Closed Amxx closed 1 year ago

Amxx commented 1 year ago

Some internal function have a return value. This should be checked in tests. However, if the function is not view/pure, then its not easily accessible.

This PR emit events that can be checked in the tests.