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

Add Dmarket and modified Migration pallet to testnet #212

Merged
merged 16 commits into from
Aug 21, 2024
Merged
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
2 changes: 0 additions & 2 deletions pallets/migration/src/lib.rs
Original file line number Diff line number Diff line change
@@ -10,8 +10,6 @@ mod benchmarking;
pub mod weights;
pub use weights::*;

use parity_scale_codec::Codec;

pub use pallet::*;

#[frame_support::pallet]
7 changes: 3 additions & 4 deletions pallets/migration/src/mock.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use frame_support::{
derive_impl,
pallet_prelude::DispatchResult,
parameter_types,
traits::{tokens::fungible::Mutate, ConstU128, ConstU32, ConstU64},
derive_impl, parameter_types,
traits::{ConstU128, ConstU32, ConstU64},
PalletId,
};
use frame_system as system;
@@ -114,6 +112,7 @@ impl pallet_dmarket::Config for Test {
type Signature = Signature;
type Signer = <Signature as Verify>::Signer;
type Domain = DOMAIN;
type WeightInfo = ();
pallet_dmarket::runtime_benchmarks_enabled! {
type BenchmarkHelper = ();
}