Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IceFrog alpha version #161

Merged
merged 21 commits into from
Dec 12, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update: chain spec
  • Loading branch information
aurexav committed Dec 12, 2019
commit 83acdd8b20b5723194efc54fec8e3e5341ffa212
174 changes: 87 additions & 87 deletions node/cli/res/icefrog.json

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions node/cli/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ use grandpa_primitives::AuthorityId as GrandpaId;
use hex_literal::hex;
use im_online::sr25519::AuthorityId as ImOnlineId;
use node_runtime::{
constants::currency::*, BabeConfig, BalancesConfig, Block, ContractsConfig, GrandpaConfig, ImOnlineConfig,
IndicesConfig, KtonConfig, SessionConfig, SessionKeys, StakerStatus, StakingConfig, SudoConfig, SystemConfig,
WASM_BINARY,
constants::currency::*, BalancesConfig, Block, ContractsConfig, IndicesConfig, KtonConfig, SessionConfig,
SessionKeys, StakerStatus, StakingConfig, SudoConfig, SystemConfig, WASM_BINARY,
};
use primitives::{crypto::UncheckedInto, sr25519, Pair, Public};
use serde::{Deserialize, Serialize};
Expand Down Expand Up @@ -205,16 +204,16 @@ pub fn darwinia_genesis(
const STASH: Balance = 100 * COIN;

GenesisConfig {
babe: Some(BabeConfig { authorities: vec![] }),
babe: Some(Default::default()),
contracts: Some(ContractsConfig {
current_schedule: contracts::Schedule {
enable_println, // this should only be enabled on development chains
..Default::default()
},
gas_price: 1 * MICRO,
}),
grandpa: Some(GrandpaConfig { authorities: vec![] }),
im_online: Some(ImOnlineConfig { keys: vec![] }),
grandpa: Some(Default::default()),
im_online: Some(Default::default()),
indices: Some(IndicesConfig {
ids: endowed_accounts
.iter()
Expand Down