`fromBlockData` constructor causes `uninitialized variable` error in browser
acolytec3 opened this issue · comments
acolytec3 commented
The Block.fromBlockData
static constructor causes a ReferenceError: Cannot access uninitialized variable.
error in some vitest test runs in the browser. This can be observed if you run the eip1559block.spec.ts
with npx vitest run test/eip1559block.spec.ts --config=vitest.config.browser.ts --browser.name=webkit --browser.provider=playwright --browser.headless
. Note, you also need to comment out the line here so the tests will run.
We should research and fix this.
acolytec3 commented
I believe this is fixed with the switch to vitest 1.x