Closed akashin closed 5 months ago
I was able to load the necessary modules by removing the dependency on @polygon-hermez/vm
that contains a circular dependency on zkevm-commonjs @ v1.0.0
:
This still fails deeper in the import:
error: Import 'https://esm.sh/v135/@0xpolygonhermez/zkevm-commonjs@3.0.0/denonext/zkevm-commonjs.mjs' failed: 500 Internal Server Error
at https://esm.sh/gh/akashin/zkevm-proverjs@90f05fb7ef/src/sm/sm_main/sm_main.js:4:8
Closing as I don't intend to submit this.
This PR attempts to rework
tests/zkasm/run-tests-zkasm.js
to make it runnable with Deno, which should allow us to embed it into Rust binaries. It doesn't work yet as it fails to download the dependency from this line:I'm not yet sure why, but the request to this URL fails with:
In contrast, https://esm.sh/gh/0xPolygonHermez/zkasmcom@v1.0.0 succeeds with: