-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-606: Reduce logging levels and simplify
- Loading branch information
1 parent
105421b
commit 3784786
Showing
9 changed files
with
57 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Copyright (c) 2019, MASQ (https://masq.ai) and/or its affiliates. All rights reserved. | ||
FROM trufflesuite/ganache-cli:v6.7.0 | ||
FROM trufflesuite/ganache-cli:v6.12.2 | ||
|
||
ADD ./entrypoint.sh /app/ | ||
|
||
EXPOSE 18545 | ||
|
||
ENTRYPOINT /app/entrypoint.sh | ||
ENTRYPOINT ["/app/entrypoint.sh"] |
15 changes: 14 additions & 1 deletion
15
multinode_integration_tests/docker/blockchain/entrypoint.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
#!/bin/sh | ||
|
||
node /app/ganache-core.docker.cli.js -p 18545 --networkId 2 --verbose --mnemonic "timber cage wide hawk phone shaft pattern movie army dizzy hen tackle lamp absent write kind term toddler sphere ripple idle dragon curious hold" | ||
# All wallets begin with null balances. The only exception is the contract owner wallet whose means are to be | ||
# redistributed from there to every account that would need it. (Notice the argument --account '<contract owner wallet | ||
# private key>,<ETH in wei>' that assigns a certain initial balance.) This same principle of initialization needs to be | ||
# regarded, during the test setup, and applied with both the transaction fee (wei of ETH) and the service fee (MASQ). | ||
# While on the transaction fee it's a choice done by us, with the latter, there probably isn't any other solution given | ||
# the mechanism how the deployment of the blockchain smart contract generates the entire token supply only on | ||
# the account of the contract owner's wallet from where it must be sent out to other wallets if needed. | ||
|
||
node /app/ganache-core.docker.cli.js \ | ||
-h 0.0.0.0 \ | ||
-p 18545 \ | ||
--networkId 2 \ | ||
--verbose \ | ||
--mnemonic "timber cage wide hawk phone shaft pattern movie army dizzy hen tackle lamp absent write kind term toddler sphere ripple idle dragon curious hold" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters