Skip to content

Commit

Permalink
update network name
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Nov 2, 2020
1 parent 028fc0e commit 0e5e33e
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 99 deletions.
184 changes: 92 additions & 92 deletions resources/turbulence-dist.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions resources/turbulence.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Laminar Turbulence TC1",
"id": "turbulence1",
"name": "Laminar Turbulence TC2",
"id": "turbulence2",
"chainType": "Live",
"bootNodes": [
"/dns4/testnet-bootnode-1.laminar-chain.laminar.one/tcp/30333/p2p/12D3KooWNCe9dEpPhswckrX5ZHhdtZ3r5sg6CcgKfgyhw3seuwtB"
Expand All @@ -11,7 +11,7 @@
0
]
],
"protocolId": "turbulence1",
"protocolId": "turbulence2",
"properties": {
"tokenDecimals": 18,
"tokenSymbol": "LAMI"
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-turbulence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

set -e

cargo clean
# cargo clean
WASM_BUILD_TYPE=release cargo run -- build-spec --chain turbulence-latest > ./resources/turbulence.json
WASM_BUILD_TYPE=release cargo run -- build-spec --chain ./resources/turbulence.json --raw > ./resources/turbulence-dist.json
6 changes: 3 additions & 3 deletions service/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ pub fn latest_turbulence_testnet_config() -> Result<DevChainSpec, String> {
let wasm_binary = WASM_BINARY.ok_or_else(|| "Development wasm binary not available".to_string())?;

Ok(DevChainSpec::from_genesis(
"Laminar Turbulence TC1",
"turbulence1",
"Laminar Turbulence TC2",
"turbulence2",
ChainType::Live,
// SECRET="..."
// ./target/debug/subkey inspect "$SECRET//laminar//root"
Expand Down Expand Up @@ -234,7 +234,7 @@ pub fn latest_turbulence_testnet_config() -> Result<DevChainSpec, String> {
Some(TelemetryEndpoints::new(vec![(STAGING_TELEMETRY_URL.to_string(), 0)])
.expect("Staging telemetry url is valid; qed")),
// Protocol ID
Some("turbulence1"),
Some("turbulence2"),
// Properties
Some(properties),
// Extensions
Expand Down

0 comments on commit 0e5e33e

Please sign in to comment.