Skip to content

Commit

Permalink
Fund Alith (#182)
Browse files Browse the repository at this point in the history
* Fund Alith

* Use local chain type
  • Loading branch information
AurevoirXavier authored Jan 5, 2023
1 parent 511c26e commit 0a7b510
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions node/src/chain_spec/crab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub fn local_config() -> ChainSpec {
}

pub fn genesis_config() -> ChainSpec {
// TODO: update this before final release
// TODO: update this before the final release
ChainSpec::from_genesis(
"Crab2",
"crab2",
Expand All @@ -150,7 +150,7 @@ pub fn genesis_config() -> ChainSpec {

// Monetary stuff.
balances: BalancesConfig {
balances: vec![(array_bytes::hex_n_into_unchecked(ALITH), UNIT)],
balances: vec![(array_bytes::hex_n_into_unchecked(ALITH), 100_000_000 * UNIT)],
},
transaction_payment: Default::default(),
assets: AssetsConfig {
Expand Down
4 changes: 2 additions & 2 deletions node/src/chain_spec/darwinia.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub fn local_config() -> ChainSpec {
}

pub fn genesis_config() -> ChainSpec {
// TODO: update this before final release
// TODO: update this before the final release
ChainSpec::from_genesis(
"Darwinia2",
"darwinia2",
Expand All @@ -150,7 +150,7 @@ pub fn genesis_config() -> ChainSpec {

// Monetary stuff.
balances: BalancesConfig {
balances: vec![(array_bytes::hex_n_into_unchecked(ALITH), UNIT)],
balances: vec![(array_bytes::hex_n_into_unchecked(ALITH), 100_000_000 * UNIT)],
},
transaction_payment: Default::default(),
assets: AssetsConfig {
Expand Down
4 changes: 2 additions & 2 deletions node/src/chain_spec/pangolin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub fn local_config() -> ChainSpec {
}

pub fn genesis_config() -> ChainSpec {
// TODO: update this before final release
// TODO: update this before the final release
ChainSpec::from_genesis(
"Pangolin2",
"pangolin2",
Expand All @@ -150,7 +150,7 @@ pub fn genesis_config() -> ChainSpec {

// Monetary stuff.
balances: BalancesConfig {
balances: vec![(array_bytes::hex_n_into_unchecked(ALITH), UNIT)],
balances: vec![(array_bytes::hex_n_into_unchecked(ALITH), 100_000_000 * UNIT)],
},
transaction_payment: Default::default(),
assets: AssetsConfig {
Expand Down
1 change: 1 addition & 0 deletions tool/state-processor/src/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ where
mem::swap(&mut self.shell_state.map, &mut self.shell_chain_spec.genesis.raw.top);

if self.test {
self.shell_chain_spec.chain_type = "Local".into();
self.shell_chain_spec.extensions["relay_chain"] = Value::String("rococo-local".into());
}

Expand Down

0 comments on commit 0a7b510

Please sign in to comment.