Skip to content

Commit

Permalink
enable rfc1918 addreses in addrbook
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnuj committed Jul 31, 2023
1 parent 03a56a5 commit 5ae071c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devel/bin/init-chain
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ initialize_genesis(){
echo "Generating Genesis..."
${BIN_NAME} ${GENESIS} collect-gentxs \
--gentx-dir=${HOME}/.shared/gentxs \
> /dev/null
> /dev/null 2>&1

# modify the genesis.json
sed -e "s/stake/${DENOM}/g" \
Expand Down
4 changes: 3 additions & 1 deletion devel/bin/modify-config
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh -eu
#!/bin/sh -eux

# modify the config.toml
sed -e 's/^laddr *=\s*\"tcp:\/\/127.0.0.1/laddr = \"tcp:\/\/0.0.0.0/' \
-e 's/^cors_allowed_origins *=.*/cors_allowed_origins = ["*"]/' \
-e 's/^addr_book_strict *=.*/addr_book_strict = false/' \
-i ${HOME}/.*/config/config.toml

0 comments on commit 5ae071c

Please sign in to comment.