Skip to content

Commit a97d7d3

Browse files
committed
move everything into new pallet
1 parent ed4a36d commit a97d7d3

File tree

11 files changed

+489
-312
lines changed

11 files changed

+489
-312
lines changed

Cargo.lock

Lines changed: 18 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ members = [
1515
"sugondat-chain/pallets/*",
1616
"sugondat-chain/runtimes/*",
1717
"sugondat-chain/primitives",
18-
"sugondat-chain/dynamic-fee-adjustment",
1918
"adapters/sovereign",
2019
"sugondat-nmt",
2120
"sugondat-serde-util",

sugondat-chain/dynamic-fee-adjustment/src/lib.rs

Lines changed: 0 additions & 233 deletions
This file was deleted.

sugondat-chain/dynamic-fee-adjustment/Cargo.toml renamed to sugondat-chain/pallets/length-fee-adjustment/Cargo.toml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,40 @@
11
[package]
2-
name = "dynamic-fee-adjustment"
2+
name = "pallet-sugondat-length-fee-adjustment"
33
version = "0.1.0"
44
authors = ["Anonymous"]
5-
description = "Fee Adjustment based on block length and weight"
5+
description = "Pallet for fee Adjustment based on block length and weight"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/thrumdev/blobs"
88
edition = "2021"
99

10+
[package.metadata.docs.rs]
11+
targets = ["x86_64-unknown-linux-gnu"]
1012

1113
[dependencies]
14+
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false }
15+
scale-info = { version = "2.2.0", default-features = false, features = ["derive"] }
1216
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0" }
1317
frame-system = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0" }
1418
pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0" }
19+
pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0" }
1520
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0" }
1621
sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0"}
1722
sp-arithmetic = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0"}
1823

24+
[dev-dependencies]
25+
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0"}
26+
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.4.0" }
27+
1928
[features]
2029
default = [ "std" ]
2130
std = [
31+
"codec/std",
2232
"frame-support/std",
2333
"frame-system/std",
2434
"sp-runtime/std",
2535
"sp-weights/std",
36+
"scale-info/std",
2637
"sp-arithmetic/std",
2738
"pallet-transaction-payment/std",
39+
"pallet-balances/std",
2840
]
29-
30-
#runtime-benchmarks = ["sp-runtime/runtime-benchmarks",]
31-
#
32-
#try-runtime = [
33-
# "pallet-transaction-payment/try-runtime",
34-
# "sp-runtime/try-runtime"
35-
#]

0 commit comments

Comments
 (0)