Skip to content

Commit

Permalink
Merge pull request #663 from Setheum-Labs/airdrop-onchain
Browse files Browse the repository at this point in the history
Airdrop onchain - make fixes
  • Loading branch information
balqaasem authored Dec 7, 2021
2 parents fd32f9a + ad4f810 commit 91a09df
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 116 deletions.
14 changes: 0 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions lib-serml/airdrop-json/Cargo.toml

This file was deleted.

27 changes: 0 additions & 27 deletions lib-serml/airdrop-json/src/lib.rs

This file was deleted.

2 changes: 0 additions & 2 deletions lib-serml/airdrop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ authors = ["Setheum Labs"]
edition = "2018"

[dependencies]
serde = { version = "1.0.124", features = ["derive"] }
serde_json = "1.0.68"
codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate" , branch = "polkadot-v0.9.10", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate" , branch = "polkadot-v0.9.10", default-features = false }
Expand Down
1 change: 1 addition & 0 deletions lib-serml/airdrop/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ use frame_support::{pallet_prelude::*, transactional, traits::Get};
use frame_system::pallet_prelude::*;
use orml_traits::MultiCurrency;
use primitives::{AirDropCurrencyId, Balance, CurrencyId};
use sp_std::vec::Vec;

mod mock;

Expand Down
1 change: 0 additions & 1 deletion lib-serml/airdrop/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ ord_parameter_types! {
impl Config for Runtime {
type Event = Event;
type Currency = Tokens;
type StableCurrencyIds = StableCurrencyIds;
type SetterCurrencyId = SetterCurrencyId;
type GetSetUSDId = GetSetUSDId;
type DropOrigin = EnsureSignedBy<One, AccountId>;
Expand Down
Loading

0 comments on commit 91a09df

Please sign in to comment.