8000 Fixes the and removes other networks. by lasarojc · Pull Request #200 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixes the and removes other networks. #200

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

Merged
merged 1 commit into from
Jan 25, 2023
Merged
Show file tree
Hide file tree
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
177 changes: 0 additions & 177 deletions docs/networks/terraform-and-ansible.md

This file was deleted.

13 changes: 7 additions & 6 deletions networks/local/localnode/wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,34 @@
##
## Input parameters
##
BINARY=/tendermint/${BINARY:-tendermint}
BINARY=/cometbft/${BINARY:-cometbft}
ID=${ID:-0}
LOG=${LOG:-tendermint.log}
LOG=${LOG:-cometbft.log}

##
## Assert linux binary
##
if ! [ -f "${BINARY}" ]; then
echo "The binary $(basename "${BINARY}") cannot be found. Please add the binary to the shared folder. Please use the BINARY environment variable if the name of 8000 the binary is not 'tendermint' E.g.: -e BINARY=tendermint_my_test_version"
echo "The binary $(basename "${BINARY}") cannot be found. Please add the binary to the shared folder. Please use the BINARY environment variable if the name of the binary is not 'cometbft' E.g.: -e BINARY=my_test_binary"

exit 1
fi
BINARY_CHECK="$(file "$BINARY" | grep 'ELF 64-bit LSB executable, x86-64')"
if [ -z "${BINARY_CHECK}" ]; then
echo "Binary needs to be OS linux, ARCH amd64"
echo "Binary needs to be OS linux, ARCH amd64 (build with 'make build-linux')"
exit 1
fi

##
## Run binary with all parameters
##
export TMHOME="/tendermint/node${ID}"
export TMHOME="/cometbft/node${ID}"

if [ -d "`dirname ${TMHOME}/${LOG}`" ]; then
"$BINARY" "$@" | tee "${TMHOME}/${LOG}"
else
"$BINARY" "$@"
fi

chmod 777 -R /tendermint
chmod 777 -R /cometbft

3 changes: 0 additions & 3 deletions networks/remote/README.md

This file was deleted.

1 change: 0 additions & 1 deletion networks/remote/ansible/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions networks/remote/ansible/ansible.cfg

This file was deleted.

17 changes: 0 additions & 17 deletions networks/remote/ansible/config.yml

This file was deleted.

10 changes: 0 additions & 10 deletions networks/remote/ansible/install.yml

This file was deleted.

Loading
0