Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM-124 Fix network interface in config toml #49

Merged
merged 1 commit into from
Mar 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker/blz-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

if [ "$NODE_NAME" = "swarm01" ]; then
tar xvf ./blz-test.tar.xz
sed -i -e 's/127.0.0.1:26657/0.0.0.0:26657/g' .blzd/config/config.toml
blzd start &
sleep 5s
blzcli rest-server --laddr tcp://0.0.0.0:1317
Expand All @@ -12,6 +13,7 @@ else
blzcli config indent true
blzcli config trust-node true
tar -xf blz-test.tar.xz .blzd/config/genesis.json
sed -i -e 's/127.0.0.1:26657/0.0.0.0:26657/g' .blzd/config/config.toml
sed -i -e 's/minimum-gas-prices = ""/minimum-gas-prices = "0.01bnt"/g' .blzd/config/app.toml
NODE_ID=$(cat .blzd/config/genesis.json | grep \"memo\" | awk -F'[@|:|\"]' '{print $5}')@${LOCAL_IP}:26656
blzd start --p2p.persistent_peers ${NODE_ID}
Expand Down