Skip to content

Commit

Permalink
Merge pull request godwokenrises#290 from zeroqn/feat-remove-block-pr…
Browse files Browse the repository at this point in the history
…oducer-wallet-config-for-readonly-node

feat(entrypoint-readonly): remove block producer wallet config
  • Loading branch information
keroro520 authored Jul 27, 2022
2 parents 2c18e47 + 2ca5918 commit 59913a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/layer2/entrypoint-readonly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function generate-godwoken-readonly-config() {
sed -i 's#^node_mode = .*$#node_mode = '"'$GODWOKEN_MODE'"'#' $CONFIG_DIR/godwoken-config-readonly.toml
sed -i 's#^path = .*$#path = '"'$STORE_PATH'"'#' $CONFIG_DIR/godwoken-config-readonly.toml
sed -i 's@listen = "/ip4/.*"@dial = ["/dns4/godwoken/tcp/9999"]@' $CONFIG_DIR/godwoken-config-readonly.toml
sed -i '/^\[block_producer.wallet_config\]/,+7d' $CONFIG_DIR/godwoken-config-readonly.toml

log "Generate file \"$CONFIG_DIR/godwoken-config-readonly.toml\""
}
Expand Down

0 comments on commit 59913a4

Please sign in to comment.