You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, was trying to bump our version of ethereumjs in our evm.codes project.
I am using the latest (6.0.0) @ethereumjs/vm and the latest (1.0.0) @ethereumjs/evm packages.
When my handler to the step event is called with a function as the 2nd arg, the EVM won't wait until the function is called and will just keep executing till the end.
From the docs, I understand that EVM execution should wait until I call continueFunc() in my handler, but this is not the case. The execution just continues. I do know for sure that my _stepInto() handler is called as I can see console.logs from there.
I know that the event emitting properties of EVM/VM changed in the last few versions, could it be a bug? Or am I doing something wrong?
Would appreciate your help, as you were always extremely helpful for us! :) @jochem-brouwer@holgerd77
The text was updated successfully, but these errors were encountered:
Thanks a lot for the quick answer @jochem-brouwer! For future reference of people who may be getting into the same problem and bump into this ticket, when using Function, it ended up asking me for a different type for the 2nd argument of the event handler, but it's now working after I used:
Hey, was trying to bump our version of ethereumjs in our evm.codes project.
I am using the latest (6.0.0) @ethereumjs/vm and the latest (1.0.0) @ethereumjs/evm packages.
When my handler to the
step
event is called with a function as the 2nd arg, the EVM won't wait until the function is called and will just keep executing till the end.My event handler declaration:
My handler function:
From the docs, I understand that EVM execution should wait until I call
continueFunc()
in my handler, but this is not the case. The execution just continues. I do know for sure that my_stepInto()
handler is called as I can seeconsole.log
s from there.I know that the event emitting properties of EVM/VM changed in the last few versions, could it be a bug? Or am I doing something wrong?
Would appreciate your help, as you were always extremely helpful for us! :) @jochem-brouwer @holgerd77
The text was updated successfully, but these errors were encountered: