Tal Vaizman

Results 19 comments of Tal Vaizman

@maurelian I merged a PR that contains the changes described in your original post :) Closing this issue for now.

> @thevaizman Could you try building your app and point your EVM dependency to the head of #2303 and see if that resolves your issue? Updating these import/exports doesn't seem...

> Apologies, I think I've resolved that build issue now with my latest commit. Can you update to the latest HEAD commit and try it once more? Now getting a...

> Hmm, interesting. Can you link me to a repo where I can reproduce this? @acolytec3 sure thing. You can have a look [here](https://github.com/comitylabs/evm.codes/tree/replace-difficulty-with-prevrandao). This is the branch of my...

@acolytec3 btw, I managed to get more context on the problem by running `yarn typecheck`: ```typescript node_modules/@ethereumjs/evm/src/evm.ts:226:23 - error TS2351: This expression is not constructable. Type 'typeof AsyncEventEmitter' has no...

> ```ts > A namespace-style import cannot be called or constructed > ``` @acolytec3 Yeah it seems like the only way to resolve this is actually doing `import AsyncEventEmitter from...

> Unfortunately yes. We just went through the effort of removing that because of concerns we were impacting consumers of our code who might not want to use that setting....

@acolytec3 Just an update, I managed to actually get the thing to build by changing the `index.d.ts` file so that it contains a named export: `export { AsyncEventEmitter }` at...

@acolytec3 Sure thing! lmk if I can help somehow and have a great weekend :)

@acolytec3 that's weird. I am able to both build as well as use all features of the app when applying my changes. Just to be more clear, these are my...