Skip to content

Commit

Permalink
fix benchmarking compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
enthusiastmartin committed Jun 10, 2021
1 parent 1fb22f6 commit 1716720
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

7 changes: 4 additions & 3 deletions pallets/transaction-multi-payment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ sp-api = {default-features = false, version = '3.0.0'}
sp-core = {default-features = false, version = '3.0.0'}
sp-runtime = {default-features = false, version = '3.0.0'}
sp-std = {default-features = false, version = '3.0.0'}

pallet-transaction-payment = {default-features = false, version = '3.0.0'}

[dev-dependencies]
# These 2 dependencies are for testing only. But need to be here for benchmarking pallet - could not figure out why yet
pallet-asset-registry = {path = '../asset-registry', default-features = false}
pallet-balances = {default-features = false, version = '3.0.0'}

[dev-dependencies]
orml-currencies = {default-features = false, version = "0.4.1-dev"}
pallet-xyk = {path = '../xyk', default-features = false}
pallet-asset-registry = {path = '../asset-registry', default-features = false}
sp-io = {default-features = false, version = '3.0.0'}

[features]
Expand Down
2 changes: 1 addition & 1 deletion pallets/transaction-multi-payment/benchmarking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ homepage = 'https://github.com/galacticcouncil/hydra-dx'
license = 'Apache 2.0'
name = 'pallet-multi-payment-benchmarking'
repository = 'https://github.com/galacticcouncil/hydra-dx'
version = '3.1.0'
version = '4.0.0'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
1 change: 0 additions & 1 deletion pallets/transaction-multi-payment/benchmarking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ use pallet_xyk::AssetPairAccountIdFor;
use std::cell::RefCell;

use frame_benchmarking::frame_support::weights::Pays;
use orml_utilities::OrderedSet;
use primitives::fee;

pub type AccountId = u64;
Expand Down

0 comments on commit 1716720

Please sign in to comment.