Skip to content

Commit 76a061b

Browse files
committed
Revert "refactor: rename test contract and update workflow steps; remove unused geth files"
This reverts commit a15395d.
1 parent a15395d commit 76a061b

File tree

8 files changed

+861
-2
lines changed

8 files changed

+861
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Resolve dependencies
2323
run: npm install
2424

25-
- name: Setup chain & Deploy contracts
25+
- name: Setup ganache-cli
2626
run: NO_GEN_CODE=1 ./script/setup.sh development
2727

2828
- name: Test

chains/docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ services:
2020
interval: 2s
2121
timeout: 1s
2222
retries: 30
23+
geth:
24+
build: ./geth
25+
ports:
26+
- 8545:8545
27+
- 8546:8546

chains/geth/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM ethereum/client-go:v1.9.25
2+
3+
ADD geth.password /root/geth.password
4+
ADD genesis.json /root/genesis.json
5+
ADD privatekey /root/privatekey
6+
ADD run.sh /run.sh
7+
8+
RUN /usr/local/bin/geth --nousb --datadir /root/.ethereum init /root/genesis.json
9+
10+
RUN /usr/local/bin/geth --nousb account import /root/privatekey --password /root/geth.password
11+
12+
EXPOSE 8545
13+
14+
ENTRYPOINT ["/run.sh"]
15+
CMD ["--verbosity", "5", "--vmdebug", "--shh"]

0 commit comments

Comments
 (0)