Skip to content

Commit

Permalink
Merge branch 'master' of github.com:uni-arts-chain/uni-arts-network
Browse files Browse the repository at this point in the history
  • Loading branch information
yxf committed Nov 11, 2020
2 parents 5029d40 + 79664ea commit 75290ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
networks:
- uniarts_network
restart: always
command: ['uart', '--chain', 'staging', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--validator', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0" ]
command: ['uart', '--chain', 'staging', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--validator', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0", ' --name', 'pangu001']

node_2:
image: uniart/uni-arts-network
Expand All @@ -29,7 +29,7 @@ services:
networks:
- uniarts_network
restart: always
command: ['uart', '--chain', 'staging', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--validator', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0" ]
command: ['uart', '--chain', 'staging', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--validator', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0", ' --name', 'pangu002']

node_3:
image: uniart/uni-arts-network
Expand All @@ -45,7 +45,7 @@ services:
networks:
- uniarts_network
restart: always
command: ['uart', '--chain', 'staging', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0" ]
command: ['uart', '--chain', 'staging', '--base-path', '/chain-data', '--port', '30333', '--ws-port', '9944', '--rpc-port', '9933', '--rpc-cors=all', '--ws-external', '--rpc-external', '--rpc-methods=Unsafe', '--telemetry-url', "wss://telemetry.polkadot.io/submit/ 0", ' --name', 'pangu003']

networks:
uniarts_network:
Expand Down
6 changes: 5 additions & 1 deletion node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,11 @@ pub fn local_testnet_config() -> Result<ChainSpec, String> {
get_account_id_from_seed::<sr25519::Public>("Dave//stash"),
get_account_id_from_seed::<sr25519::Public>("Eve//stash"),
get_account_id_from_seed::<sr25519::Public>("Ferdie//stash"),
].iter().map(|k| (k.clone(), 100_000 * UART )).collect::<Vec<_>>(),
].iter().map(|k| (k.clone(), 100_000 * UART )).chain(
get_all_module_accounts()
.iter()
.map(|x| (x.clone(), 100_000_000 * UART)),
).collect::<Vec<_>>(),
true,
),
// Bootnodes
Expand Down
2 changes: 1 addition & 1 deletion node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub fn run() -> sc_cli::Result<()> {
info!(" \\____/|_| |_|_| /_/ \\_\\_| \\__|___/ \\_____|_| |_|\\__,_|_|_| |_|");
info!(" ");
info!(" ");

info!(" by Uni-Arts Network, 2018-2020");
runner.run_node_until_exit(|config| match config.role {
Role::Light => service::new_light(config),
_ => service::new_full(config),
Expand Down

0 comments on commit 75290ff

Please sign in to comment.