Skip to content

Commit

Permalink
Fix code formatting & tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akru committed Jun 28, 2021
1 parent 9305603 commit af3b009
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/node/service/src/parachain/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub fn get_alpha_chain_spec(id: ParaId) -> AlphaChainSpec {
if id == ParaId::from(MARS_ID) {
return mars_parachain_config();
}

if id == ParaId::from(URANUS_ID) {
return uranus_parachain_config();
}
Expand Down
2 changes: 1 addition & 1 deletion frame/datalog/xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub mod pallet {
#[pallet::call]
impl<T: Config> Pallet<T> {
#[pallet::weight(5_000_000)]
fn record(
pub fn record(
origin: OriginFor<T>,
parachain_id: u32,
record: T::Record,
Expand Down
3 changes: 3 additions & 0 deletions frame/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,11 +577,14 @@ mod tests {

parameter_types! {
pub const MaxLocks: u32 = 50;
pub const MaxReserves: u32 = 50;
pub const ExistentialDeposit: Balance = 10;
}

impl pallet_balances::Config for Runtime {
type MaxLocks = MaxLocks;
type MaxReserves = MaxReserves;
type ReserveIdentifier = [u8; 8];
type Balance = Balance;
type Event = Event;
type DustRemoval = ();
Expand Down

0 comments on commit af3b009

Please sign in to comment.