Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Ziabko <[email protected]>
  • Loading branch information
dziabko committed Feb 9, 2022
1 parent da19376 commit 25dd133
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 4 additions & 5 deletions node/src/chain_specs/dolphin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// along with Manta. If not, see <http://www.gnu.org/licenses/>.

use super::*;
use crate::command::CALAMARI_PARACHAIN_ID;
use crate::command::DOLPHIN_PARACHAIN_ID;

use dolphin_runtime::{CouncilConfig, DemocracyConfig, GenesisConfig, TechnicalCommitteeConfig};
Expand Down Expand Up @@ -78,7 +77,7 @@ pub fn dolphin_development_config() -> DolphinChainSpec {
Some(properties),
Extensions {
relay_chain: "".into(),
para_id: CALAMARI_PARACHAIN_ID.into(),
para_id: DOLPHIN_PARACHAIN_ID.into(),
},
)
}
Expand Down Expand Up @@ -138,7 +137,7 @@ pub fn dolphin_local_config() -> DolphinChainSpec {
Some(properties),
Extensions {
relay_chain: "".into(),
para_id: CALAMARI_PARACHAIN_ID.into(),
para_id: DOLPHIN_PARACHAIN_ID.into(),
},
)
}
Expand All @@ -160,7 +159,7 @@ fn dolphin_dev_genesis(
.map(|k| {
(
k.clone(),
100 * CALAMARI_ENDOWMENT / ((endowed_accounts.len() / 2) as Balance),
100 * DOLPHIN_ENDOWMENT / ((endowed_accounts.len() / 2) as Balance),
)
})
.collect(),
Expand All @@ -170,7 +169,7 @@ fn dolphin_dev_genesis(
aura: Default::default(),
sudo: dolphin_runtime::SudoConfig { key: root_key },
parachain_info: dolphin_runtime::ParachainInfoConfig {
parachain_id: CALAMARI_PARACHAIN_ID.into(),
parachain_id: DOLPHIN_PARACHAIN_ID.into(),
},
collator_selection: dolphin_runtime::CollatorSelectionConfig {
invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(),
Expand Down
2 changes: 2 additions & 0 deletions node/src/chain_specs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ pub use dolphin_runtime::currency::DOL;

const CALAMARI_ENDOWMENT: Balance = 1_000_000_000 * KMA; // 10 endowment so that total supply is 10B

const DOLPHIN_ENDOWMENT: Balance = 1_000_000_000 * DOL; // 10 endowment so that total supply is 10B

const MANTA_ENDOWMENT: Balance = 100_000_000 * MANTA; // 10 endowment so that total supply is 1B

const STAGING_TELEMETRY_URL: &str = "wss://api.telemetry.manta.systems/submit/";
Expand Down
2 changes: 1 addition & 1 deletion runtime/dolphin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ pub type Executive = frame_executive::Executive<
Block,
frame_system::ChainContext<Runtime>,
Runtime,
AllPallets,
AllPalletsReversedWithSystemFirst,
>;

impl_runtime_apis! {
Expand Down

0 comments on commit 25dd133

Please sign in to comment.