Skip to content

Commit

Permalink
Code formated
Browse files Browse the repository at this point in the history
  • Loading branch information
adelarja committed Jul 18, 2023
1 parent f70aff3 commit 7224de4
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const AMPLITUDE_INITIAL_ISSUANCE: Balance = 200_000_000 * UNIT;
const INITIAL_ISSUANCE_PER_SIGNATORY: Balance = 200 * UNIT;
const INITIAL_COLLATOR_STAKING: Balance = 10_010 * UNIT;

const OFF_CHAIN_WORKER_ADDRESS = "6m69vWMouLarYCbJGJisVaDDpfNGETkD5hsDWf2T7osW4Cn1";
const OFF_CHAIN_WORKER_ADDRESS: &str = "6m69vWMouLarYCbJGJisVaDDpfNGETkD5hsDWf2T7osW4Cn1";

const TOKEN_DECIMALS: u32 = 12;

Expand Down Expand Up @@ -251,9 +251,8 @@ pub fn foucoco_config() -> FoucocoChainSpec {

let sudo_account =
pallet_multisig::Pallet::<foucoco_runtime::Runtime>::multi_account_id(&signatories[..], 3);

let offchain_worker_price_feeder =
AccountId::from_ss58check(OFF_CHAIN_WORKER_ADDRESS).unwrap();

let offchain_worker_price_feeder = AccountId::from_ss58check(OFF_CHAIN_WORKER_ADDRESS).unwrap();

FoucocoChainSpec::from_genesis(
// Name
Expand Down Expand Up @@ -848,10 +847,7 @@ fn foucoco_genesis(
],
},
vault_registry: foucoco_runtime::VaultRegistryConfig {
minimum_collateral_vault: vec![
(XCM(0), 3_000_000_000_000),
(CurrencyId::Native, 0),
],
minimum_collateral_vault: vec![(XCM(0), 3_000_000_000_000), (CurrencyId::Native, 0)],
punishment_delay: foucoco_runtime::DAYS * 2,
secure_collateral_threshold: vec![
(
Expand Down

0 comments on commit 7224de4

Please sign in to comment.