Skip to content

Commit

Permalink
Merge branch 'main' of github.com:webb-tools/tangle into update-ci-fo…
Browse files Browse the repository at this point in the history
…r-testnet
  • Loading branch information
1xstj committed Jan 9, 2024
2 parents c7d18d6 + 9c6db76 commit 3a505d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use parity_scale_codec::Encode;
use sc_service::{ChainType, Configuration};
use sp_core::{ecdsa, ed25519, sr25519, ByteArray, Pair, Public};
use sp_keystore::{Keystore, KeystorePtr};
use sp_runtime::{
key_types::{ACCOUNT, BABE, GRANDPA, IM_ONLINE},
KeyTypeId,
};

/// Helper function to generate a crypto pair from seed.
pub fn get_from_seed<TPublic: Public>(seed: &str) -> <TPublic::Pair as Pair>::Public {
TPublic::Pair::from_string(&format!("//{seed}"), None)
Expand Down
5 changes: 5 additions & 0 deletions scripts/run-standalone-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,34 +53,39 @@ echo "*** Start Tangle Testnet ***"
--rpc-max-request-size 3000 \
--rpc-max-response-size 3000 \
--ethapi trace,debug \
--auto-insert-keys \
--node-key 0000000000000000000000000000000000000000000000000000000000000001 &
# 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 --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 --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 --dev --validator -linfo --eve \
--rpc-cors all --rpc-methods=unsafe --rpc-external \
--port ${ports[2]} \
--rpc-port 9948 \
--ethapi trace,debug \
--auto-insert-keys \
-levm=debug \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp
popd

0 comments on commit 3a505d7

Please sign in to comment.