-
Notifications
You must be signed in to change notification settings - Fork 750
-
Notifications
You must be signed in to change notification settings - Fork 750
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
Deprecate createHookedVm #435
Comments
I did searched on GitHub |
😆 Will create a PR |
Addressed in #451, will close. |
It is used in Metamask's provider-engine: https://github.com/MetaMask/provider-engine/blob/master/subproviders/vm.js Which was used to run gas estimation and calls on the client. Not sure if Metamask still does that or delegates it to Infura. |
What his means is ethereumjs-vm should have a version bump to 3.x. |
//cc @whymarrh |
//cc @danfinlay |
@axic Yes, I was thinking about doing some minor version bump release integrating the latest refactoring work, which is all not really breaking but might nevertheless cause the one or the other challenges depending on how deep people integrate with the VM code. |
Well removing the hooked vm I would say is a major bump since it removes functionality in a breaking way. |
Ah sorry, I thought you were referring to the Think we'll generally wait a bit with the release so that there is some more time for discussion, also @s1na can eventually do some more of the integrations of #424 he is planning. |
As per the jsdoc,
createHookedVm
is "a helper for creating a vm with modified state lookups, this should be made obsolete by a better public API for StateManager". Given the recent changes inStateManager
, I'm wondering if the use-cases that prompted this helper are already covered by the new API, and if not, what should be added to allow deprecatingcreateHookedVm
?The text was updated successfully, but these errors were encountered: