Skip to content

Commit

Permalink
cosmetics: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFranzen committed Feb 26, 2025
1 parent fb04709 commit 7e4797f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pallets/launch/src/application.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use crate::Config;

use scale_codec::{Encode, Decode};
use scale_codec::{Decode, Encode};

use polkadot_sdk::*;

use frame_support::traits::LockIdentifier;
use sp_core::Get;
use sp_runtime::RuntimeDebug;
use sp_runtime::traits::AccountIdConversion;
use sp_runtime::RuntimeDebug;

#[derive(Clone, Encode, Decode, PartialEq, RuntimeDebug, scale_info::TypeInfo)]
#[repr(u8)]
Expand Down
3 changes: 1 addition & 2 deletions pallets/launch/src/benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ mod benchmarks {
use polkadot_sdk::frame_support::traits::Currency;

#[benchmark]
fn lock_operational()
{
fn lock_operational() {
let bridge_account = Application::Bridging.account_id::<T>();
let bridge_issuance = BalanceOf::<T>::from(TARGET_ISSUANCE);
let _ = CurrencyOf::<T>::deposit_creating(&bridge_account, bridge_issuance);
Expand Down
5 changes: 2 additions & 3 deletions pallets/launch/src/data/v30.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ use crate::airdrops::RawAirdropMintStage;

use time_primitives::ANLOG;

pub const AIRDROPS_VALIDATORS_MISSED: RawAirdropMintStage = &[
("an8ZYQStoJTWVqnmnsuSQwzugcxdUX9vBVSdzuCRE9LydDW9U", 160_086 * ANLOG, None),
];
pub const AIRDROPS_VALIDATORS_MISSED: RawAirdropMintStage =
&[("an8ZYQStoJTWVqnmnsuSQwzugcxdUX9vBVSdzuCRE9LydDW9U", 160_086 * ANLOG, None)];
7 changes: 6 additions & 1 deletion pallets/launch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ pub mod pallet {
// Airdrop Move 3
(29, Allocation::Airdrop, 0, Stage::AirdropTransfer(data::v29::AIRDROP_MOVE_3)),
// Validator Airdrop (missed)
(30, Allocation::Ecosystem, 160_086 * ANLOG, Stage::AirdropFromUnlocked(data::v30::AIRDROPS_VALIDATORS_MISSED))
(
30,
Allocation::Ecosystem,
160_086 * ANLOG,
Stage::AirdropFromUnlocked(data::v30::AIRDROPS_VALIDATORS_MISSED),
),
];

/// TODO: Difference that was actually minted for airdrops:
Expand Down

0 comments on commit 7e4797f

Please sign in to comment.