-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various fixes to make V0 LocalNet work on WSL2
- Remove go.mod.local and use the latest go.mod in the pocket-core branch - Update the tendermint path in go.mod before `go build` - docker/pokt-net/dev-tm/Dockerfile for scaffold - docker/pokt-net/dev-tm/prepare-tendermint.sh for playground nodes - Clean up pocket-core/vendor before creating a container - Simplify data directory creation because `paths=($(echo $nodes | tr " " "\n"))` causes a syntax error somehow - Update some critical parameters in genesis.json with the same values as mainnet
- Loading branch information
Showing
8 changed files
with
25 additions
and
113 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 |
---|---|---|
|
@@ -46,7 +46,7 @@ function update_chains_json() { | |
if [[ ! -z ${ETH_ALTRUIST} && ! -z ${POLY_ALTRUIST} ]]; then | ||
echo "ETH_ALTRUIST and POLY_ALTRUIST are set so we are going update chains.json" | ||
sed "s#http://user:[email protected]#${ETH_ALTRUIST}#g" stacks/pokt-net/shared/chains.template.json > stacks/pokt-net/shared/chains.local.json | ||
sed -i '' "s#http://user:[email protected]#${POLY_ALTRUIST}#g" stacks/pokt-net/shared/chains.local.json | ||
sed -i "s#http://user:[email protected]#${POLY_ALTRUIST}#g" stacks/pokt-net/shared/chains.local.json | ||
else | ||
echo "ETH_ALTRUIST and POLY_ALTRUIST are not set so we are not going update chains.json" | ||
cp stacks/pokt-net/shared/chains.template.json > stacks/pokt-net/shared/chains.local.json | ||
|
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
rm -rf $CWD/stacks/pokt-playground | ||
sudo rm -rf $CWD/stacks/pokt-playground |
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