mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 04:28:01 +00:00
ccc614979a
* Minimum of 1 for ED * Avoid need for ED to be minimum one * Docs * Ban ED of zero unless feature enabled * use integrity_test * Docs * Cleanup * Update frame/balances/Cargo.toml Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/balances/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/balances/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Ensure dodgy code is disabled by default * zero_ed -> insecure_zero_ed --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <>
46 lines
1.7 KiB
TOML
46 lines
1.7 KiB
TOML
[package]
|
|
name = "pallet-balances"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "FRAME pallet to manage balances"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
log = { version = "0.4.17", default-features = false }
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
frame-benchmarking = { version = "4.0.0-dev", default-features = false, optional = true, path = "../benchmarking" }
|
|
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
|
|
sp-runtime = { version = "7.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-std = { version = "5.0.0", default-features = false, path = "../../primitives/std" }
|
|
|
|
[dev-dependencies]
|
|
pallet-transaction-payment = { version = "4.0.0-dev", path = "../transaction-payment" }
|
|
sp-core = { version = "7.0.0", path = "../../primitives/core" }
|
|
sp-io = { version = "7.0.0", path = "../../primitives/io" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"frame-benchmarking?/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"scale-info/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
]
|
|
# Enable support for setting the existential deposit to zero.
|
|
insecure_zero_ed = []
|
|
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
|
|
try-runtime = ["frame-support/try-runtime"]
|