Skip to content

Commit b0c13da

Browse files
committed
- ganache-cli use snapshot_contracts
- scripts - ethereum - ganache-cli.sh use deterministic & custom mnemonic - scripts - ethereum - Dockerfile COPY snapshot_contracts
1 parent 2bae0f7 commit b0c13da

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/ethereum/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ LABEL maintainer="[email protected]"
66
WORKDIR /scripts
77

88
COPY ganache-cli.sh .
9+
COPY snapshot_contracts snapshot
910

1011
EXPOSE 8545
1112

scripts/ethereum/ganache-cli.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
# Address 4: 0x8c4B95383a46D30F056aCe085D8f453fCF4Ed66d
1111
# Address 5: 0x1059B025E3F8b8f76A8120D6D6Fd9fBa172c80b8
1212
node /app/ganache-core.docker.cli.js --gasLimit 0xfffffffffffff \
13+
--db="./snapshot" \
14+
--deterministic \
15+
--mnemonic="diary west sketch curious expose decade symptom height minor layer carry man" \
1316
--account="0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200,9000000000000000000000000000" \
1417
--account="0xd66ecc35fe42ae2063888bfd11c4573db08bdbd5c2b9b835deef05beb43b407f,9000000000000000000000000000" \
1518
--account="0x1d00a65debb6143cebc3b48b11db2ddfa81411c1f7c443f706d4f2bd8145ee4a,9000000000000000000000000000" \

0 commit comments

Comments
 (0)