diff --git a/Makefile b/Makefile index 5fc18d97..8e595abf 100755 --- a/Makefile +++ b/Makefile @@ -404,6 +404,8 @@ endif run_e2e_test: @cd $(FHEVM_SOLIDITY_PATH) && ci/scripts/prepare_fhe_keys_for_e2e_test.sh $(CURDIR)/volumes/network-public-fhe-keys @cd $(FHEVM_SOLIDITY_PATH) && npm ci +## Copy the run_tests.sh script directly in fhevm-solidity for the nxt version + @cp ./scripts/run_tests.sh $(FHEVM_SOLIDITY_PATH)/ci/scripts/ @cd $(FHEVM_SOLIDITY_PATH) && ci/scripts/run_tests.sh @sleep 5 diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh new file mode 100755 index 00000000..7dc49418 --- /dev/null +++ b/scripts/run_tests.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +cp .env.example .env +docker exec -i evmosnodelocal0 faucet $(npx hardhat task:getEthereumAddress) +sleep 8 +docker exec -i evmosnodelocal0 faucet $(npx hardhat accounts | grep 0x | sed -n '2p') +sleep 8 +docker exec -i evmosnodelocal0 faucet $(npx hardhat accounts | grep 0x | sed -n '3p') +npm test