Skip to content

Commit

Permalink
Merge pull request #286 from peaqnetwork/fix/compil-time
Browse files Browse the repository at this point in the history
fix(cargo): remove unused dependencies
  • Loading branch information
DocteurPing authored Sep 18, 2024
2 parents 50f817f + 9c767fd commit 5d9a656
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 139 deletions.
82 changes: 1 addition & 81 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion pallets/block-reward/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use frame_support::{
use mock::*;
use pallet_balances::NegativeImbalance;
use sp_runtime::{
traits::{AccountIdConversion, BadOrigin, Zero},
traits::{BadOrigin, Zero},
Perbill,
};

Expand Down
4 changes: 0 additions & 4 deletions precompiles/assets-erc20/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ edition = "2021"
authors = [ "Astar" ]

[dependencies]
log = { workspace = true }
num_enum = { workspace = true }
slices = { workspace = true }

precompile-utils = { path = "../utils", default-features = false }
peaq-primitives-xcm = { path = "../../primitives/xcm", default-features = false }

Expand Down
4 changes: 0 additions & 4 deletions precompiles/assets-factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ edition = "2021"
authors = [ "Peaq" ]

[dependencies]
log = { workspace = true }
num_enum = { workspace = true }
slices = { workspace = true }

precompile-utils = { path = "../utils", default-features = false }
pallet-evm-precompile-assets-erc20 = { path = "../assets-erc20", default-features = false }
peaq-primitives-xcm = { path = "../../primitives/xcm", default-features = false }
Expand Down
3 changes: 0 additions & 3 deletions precompiles/balances-erc20/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ edition = "2021"
version = "0.1.0"

[dependencies]
log = { workspace = true, default-features = false }
num_enum = { workspace = true, default-features = false }
paste = { workspace = true, default-features = false }
slices = { workspace = true, default-features = false }

#peaq
precompile-utils = { path = "../utils", default-features = false }
Expand Down
5 changes: 0 additions & 5 deletions precompiles/batch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ edition = "2021"
version = "0.1.0"

[dependencies]
log = { workspace = true, default-features = false }
num_enum = { workspace = true, default-features = false }
paste = { workspace = true, default-features = false }
slices = { workspace = true, default-features = false }

# Peaq
precompile-utils = { path = "../utils", default-features = false, features = [ "codec-xcm" ] }

Expand Down
4 changes: 0 additions & 4 deletions precompiles/parachain-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ edition = "2021"
authors = [ "Peaq" ]

[dependencies]
log = { workspace = true }
num_enum = { workspace = true }
slices = { workspace = true }

# Peaq
precompile-utils = { path = "../utils", default-features = false }
parachain-staking = { path = "../../pallets/parachain-staking", default-features = false }
Expand Down
5 changes: 0 additions & 5 deletions precompiles/peaq-did/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ edition = "2021"
version = "0.1.0"

[dependencies]
log = { workspace = true, default-features = false }
num_enum = { workspace = true, default-features = false }
paste = { workspace = true, default-features = false }
slices = { workspace = true, default-features = false }

# Peaq
precompile-utils = { path = "../utils", default-features = false }

Expand Down
6 changes: 0 additions & 6 deletions precompiles/peaq-rbac/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ edition = "2021"
version = "0.1.0"

[dependencies]
hex = { workspace = true, default-features = false }
log = { workspace = true, default-features = false }
num_enum = { workspace = true, default-features = false }
paste = { workspace = true, default-features = false }
slices = { workspace = true, default-features = false }

# Peaq
precompile-utils = { path = "../utils", default-features = false }
peaq-primitives-xcm = { path = "../../primitives/xcm", default-features = false }
Expand Down
6 changes: 0 additions & 6 deletions precompiles/peaq-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ edition = "2021"
version = "0.1.0"

[dependencies]
hex = { workspace = true, default-features = false }
log = { workspace = true, default-features = false }
num_enum = { workspace = true, default-features = false }
paste = { workspace = true, default-features = false }
slices = { workspace = true, default-features = false }

# Peaq
precompile-utils = { path = "../utils", default-features = false }

Expand Down
Loading

0 comments on commit 5d9a656

Please sign in to comment.