mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 03:01:02 +00:00
9c53fd7299
* typo * - create test files for each fungile trait - begin implementing tests for the Inspect trait * wrap inspect tests in a macro * first run of mutate tests * move test implementation out of ballances * make tests more generic * transfer tests * combine inspect and mutate tests * set balance failing tests * can_deposit tests * can_withdraw tests * test reducible_balance * remove balanced stub * revert set_balance return val fix * typo * macro and dust trap tests * disable test when it doesn't make sense * remove debug comment * reduce macro boilerplate * improved var naming * improve variable naming * remove redundant comment * remove placeholder tests * remove placeholder tests * simplify macro * Update frame/balances/src/tests/fungible_conformance_tests.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * use Balance from T * fix copyright * add test doc comments * improve test naming * clippy * fix rustdoc errors * fix rustdoc * improve macro * improve variable naming * remove redundant comment * use path --------- Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
47 lines
1.7 KiB
TOML
47 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.5.0", 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" }
|
|
paste = "1.0.12"
|
|
|
|
[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"]
|