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

Cleanup deps #2166

Merged
merged 9 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
37 changes: 1 addition & 36 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions pallets/bridge-transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "polk
pallet-bridge = { path = "../bridge", default-features = false }
pallet-parachain-staking = { path = "../parachain-staking", default-features = false }

hex = { version = "0.4", default-features = false }

[dev-dependencies]
hex-literal = "0.4"
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }
Expand Down
3 changes: 0 additions & 3 deletions pallets/evm-address/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ scale-info = { version = "2.9.0", default-features = false, features = ["derive"
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }

frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false, optional = true }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }

Expand All @@ -34,7 +33,6 @@ fp-evm = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0
[features]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-ethereum/runtime-benchmarks",
Expand All @@ -45,6 +43,5 @@ std = [
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking?/std",
]
try-runtime = ["frame-support/try-runtime"]
4 changes: 0 additions & 4 deletions pallets/identity-management/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ version = '0.1.0'
[dependencies]
# third-party dependencies
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] }
log = { version = "0.4", default-features = false }
pallet-teerex = { path = "../teerex", default-features = false }
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }

# primitives
sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false }
Expand All @@ -25,7 +23,6 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "polk

# benchmarking
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.39", default-features = false, optional = true }
hex = { version = "0.4", default-features = false }
test-utils = { path = "../test-utils", default-features = false, optional = true }

# local
Expand Down Expand Up @@ -58,7 +55,6 @@ std = [
"sp-runtime/std",
"sp-io/std",
"sp-core/std",
"sp-arithmetic/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking?/std",
Expand Down
6 changes: 0 additions & 6 deletions pallets/parentchain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ edition = "2021"

[dependencies]
codec = { version = "3.0.0", default-features = false, features = ["derive"], package = "parity-scale-codec" }
log = { version = "0.4", default-features = false }
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
serde = { version = "1.0", features = ["derive"], optional = true }

# substrate dependencies
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
frame-system = { default-features = false, package = "frame-system", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }

[dev-dependencies]
env_logger = "0.9.0"
Expand All @@ -31,16 +28,13 @@ pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch
default = ["std"]
std = [
"codec/std",
"log/std",
"scale-info/std",
"serde",
# substrate dependencies
"frame-support/std",
"frame-system/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
]

try-runtime = ["frame-support/try-runtime"]
3 changes: 0 additions & 3 deletions pallets/sidechain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,13 @@ sp-std = { default-features = false, git = "https://github.com/paritytech/substr

# benchmarking
frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
hex-literal = { version = "0.4.1", optional = true }
pallet-balances = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
test-utils = { path = "../test-utils", default-features = false, optional = true }

[dev-dependencies]
env_logger = "0.9.0"
externalities = { package = "sp-externalities", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
frame-benchmarking = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
hex-literal = "0.4.1"
pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
test-utils = { path = "../test-utils" }
Expand All @@ -65,7 +63,6 @@ std = [
]
runtime-benchmarks = [
"frame-benchmarking",
"hex-literal",
"pallet-balances",
"pallet-timestamp/runtime-benchmarks",
"test-utils",
Expand Down
2 changes: 0 additions & 2 deletions pallets/teerex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ edition = "2021"
codec = { version = "3.0.0", default-features = false, features = ["derive"], package = "parity-scale-codec" }
log = { version = "0.4", default-features = false }
scale-info = { version = "2.9.0", default-features = false, features = ["derive"] }
serde = { version = "1.0", features = ["derive"], optional = true }

# local
sgx-verify = { path = "./sgx-verify", default-features = false }
Expand Down Expand Up @@ -48,7 +47,6 @@ std = [
"codec/std",
"log/std",
"scale-info/std",
"serde",
# local
"sgx-verify/std",
"teerex-primitives/std",
Expand Down
2 changes: 0 additions & 2 deletions pallets/teerex/sgx-verify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ teerex-primitives = { path = "../../../primitives/teerex", default-features = fa
# substrate dependencies
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }
sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.39" }

[dev-dependencies]
Expand All @@ -52,6 +51,5 @@ std = [
# substrate
"frame-support/std",
"sp-core/std",
"sp-io/std",
"sp-std/std",
]
1 change: 0 additions & 1 deletion pallets/teerex/sgx-verify/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ cargo-fuzz = true
[dependencies]
base64 = { version = "0.13", default-features = false, features = ["alloc"] }
codec = { version = "3.0.0", default-features = false, features = ["derive"], package = "parity-scale-codec" }
hex-literal = "0.3.4"
libfuzzer-sys = "0.4"
serde_json = { version = "1.0" }
webpki = { default-features = false, git = "https://github.com/scs/webpki-nostd.git", branch = "master" }
Expand Down
2 changes: 0 additions & 2 deletions pallets/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ edition = "2021"

[dependencies]
hex-literal = { version = "0.4.1" }
log = { version = "0.4", default-features = false }

[dependencies.teerex-primitives]
default-features = false
Expand All @@ -21,6 +20,5 @@ path = "../../primitives/teerex"
[features]
default = ['std']
std = [
"log/std",
"teerex-primitives/std",
]
Loading