Skip to content

Commit

Permalink
fix: update testnet script (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj authored Dec 22, 2023
1 parent b813698 commit 14bdbae
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions scripts/run-standalone-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,53 +46,41 @@ cd "$PROJECT_ROOT"

echo "*** Start Tangle Testnet ***"
# Alice
./target/release/tangle --tmp --chain local --validator -lerror --alice \
./target/release/tangle --tmp --dev --validator -lerror --alice \
--rpc-cors all --rpc-methods=unsafe --rpc-external \
--port ${ports[0]} \
--rpc-port 9944 \
--rpc-max-request-size 3000 \
--rpc-max-response-size 3000 \
--ethapi trace,debug \
--auto-insert-keys \
--node-key 0000000000000000000000000000000000000000000000000000000000000001 &
# Bob
./target/release/tangle --tmp --chain local --validator -lerror --bob \
./target/release/tangle --tmp --dev --validator -lerror --bob \
--rpc-cors all --rpc-methods=unsafe --rpc-external \
--port ${ports[1]} \
--rpc-port 9945 \
--ethapi trace,debug \
--auto-insert-keys \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp &
# Charlie
./target/release/tangle --tmp --chain local --validator -lerror --charlie \
./target/release/tangle --tmp --dev --validator -lerror --charlie \
--rpc-cors all --rpc-methods=unsafe --rpc-external \
--port ${ports[1]} \
--rpc-port 9946 \
--ethapi trace,debug \
--auto-insert-keys \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp &
# Dave
./target/release/tangle --tmp --chain local --validator -lerror --dave \
./target/release/tangle --tmp --dev --validator -lerror --dave \
--rpc-cors all --rpc-methods=unsafe --rpc-external \
--port ${ports[1]} \
--rpc-port 9947 \
--ethapi trace,debug \
--auto-insert-keys \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp &
# Eve
./target/release/tangle --tmp --chain local --validator -linfo --eve \
./target/release/tangle --tmp --dev --validator -linfo --eve \
--rpc-cors all --rpc-methods=unsafe --rpc-external \
--port ${ports[2]} \
--rpc-port 9948 \
--ethapi trace,debug \
-levm=debug \
-ldkg=debug \
-ldkg_gadget::worker=debug \
-lruntime::dkg_metadata=debug \
-ldkg_metadata=debug \
-lruntime::dkg_proposal_handler=debug \
-lruntime::offchain=debug \
-ldkg_proposal_handler=debug \
--auto-insert-keys \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp
popd

0 comments on commit 14bdbae

Please sign in to comment.