Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit 00e918b

Browse files
committed
chore: debug
1 parent 11d62d0 commit 00e918b

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

scripts/run-test.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,14 @@ start_blockchain() {
3232
}
3333

3434

35-
echo "Starting our own testrpc instance"
35+
echo "Starting our own ganache (L1) instance"
3636
start_testrpc
3737

38-
echo "Starting our own geth instance"
38+
echo "Starting our own bor (L2) instance"
3939
start_blockchain
4040

4141
if [ "$SOLIDITY_COVERAGE" = true ]; then
4242
npm run truffle:coverage "$@"
4343
else
4444
npm run truffle:test "$@"
4545
fi
46-
47-

test-blockchain/clean.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
2+
set -xe
23

34
CWD=$PWD
45

test-blockchain/run-docker.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/usr/bin/env sh
2+
set -xe
23

3-
docker run --name bor-test -it -d -p 8545:8545 -v $(pwd):/bordata 0xpolygon/bor:1.2.0 /bin/sh -c "cd /bordata; sh start.sh"
4+
docker run --name bor-test -it -d -p 8545:8545 -v $(pwd):/bordata --entrypoint /bin/sh 0xpolygon/bor:1.2.0 -c "cd /bordata; sh start.sh"

test-blockchain/start.sh.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
2+
set -xe
23

34
BOR=bor
45
DIR=$PWD

test-blockchain/stop-docker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
2+
set -xe
23

34
docker stop bor-test
45
docker rm bor-test

test-blockchain/stop.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env sh
2+
set -xe
23

34
CWD=$PWD
45

0 commit comments

Comments
 (0)