Replace ganache with hardhat

To fix hanging tests.
This commit is contained in:
Mark Spanbroek 2021-12-02 13:37:49 +01:00 committed by markspanbroek
parent 0dfaaffc3c
commit d6ecf0898c
2 changed files with 8 additions and 2 deletions

5
.gitignore vendored
View File

@ -9,3 +9,8 @@ build/
*.la
*.exe
*.dll
node_modules
nohup.out
hardhat.config.js
package-lock.json

View File

@ -1,8 +1,9 @@
#!/bin/sh
set -ex
npm install ganache-cli
nohup ./node_modules/.bin/ganache-cli -s 0 &
npm install hardhat
touch hardhat.config.js
nohup npx hardhat node &
nimble install -y
# Wait until ganache responds