zeth icon indicating copy to clipboard operation
zeth copied to clipboard

Clean up ganache build and usage in this repo

Open dtebbs opened this issue 4 years ago • 1 comments

Check status of the ganache build (seems to be broken).

  • [ ] fix the ganache build (potentially upgrading to a new version of the code)
  • [ ] either
    • [ ] remove the ganache submodule and use the docker container everywhere, or
    • [ ] execute the build within the submodule

dtebbs avatar Oct 12 '21 18:10 dtebbs

#408 replaces the locally-built version of ganache with the docker version Error building on CI machines: https://github.com/clearmatics/zeth/runs/3857573907?check_suite_focus=true#step:6:316 (link may expire)

Potentially relevant snippet:

npm ERR! prepareGitDep > [email protected] prepare /home/runner/.npm/_cacache/tmp/git-clone-a562d6a1
npm ERR! prepareGitDep > npm run build:dist
npm ERR! prepareGitDep 
npm ERR! prepareGitDep 
npm ERR! prepareGitDep > [email protected] build:dist /home/runner/.npm/_cacache/tmp/git-clone-a562d6a1
npm ERR! prepareGitDep > ethereumjs-config-build
npm ERR! prepareGitDep 
Error: npm ERR! prepareGitDep node_modules/rlp/dist/types.d.ts(2,8): error TS1259: Module '"/home/runner/.npm/_cacache/tmp/git-clone-a562d6a1/node_modules/@types/bn.js/index"' can only be default-imported using the 'esModuleInterop' flag

dtebbs avatar Oct 21 '21 15:10 dtebbs