Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat request: allow mocking of internal functions #106

Open
asafyish opened this issue Dec 30, 2021 · 1 comment
Open

feat request: allow mocking of internal functions #106

asafyish opened this issue Dec 30, 2021 · 1 comment
Labels
bounty enhancement New feature or request

Comments

@asafyish
Copy link

It would be very useful to mock internal/private functions.
I have a public/external function that calls a bunch of internal functions and I would like to change those internal functions behaviour.

@smartcontracts
Copy link
Contributor

Hi, unfortunately mocking internal functions can't be supported until we refactor the code to integrate at a deeper level. We probably have to modify the ethereumjs-VM entirely for this to work.

@smartcontracts smartcontracts added the enhancement New feature or request label Mar 16, 2022
@wei3erHase wei3erHase changed the title Mock internal functions feat request: allow mocking of internal functions Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants