mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
80af50b830
* Features needed for reserve-backed stablecoins * Builds & tests. * Double map for an efficient destroy. * Update frame/assets/src/lib.rs Co-authored-by: Nikolay Volf <nikvolf@gmail.com> * ED/zombie-count/refs Feature: ED/minimum balance enforcement Feature: enforce zombie count Feature: allow system-alive accounts to exist, but add reference * Update frame/assets/src/lib.rs Co-authored-by: Nikolay Volf <nikvolf@gmail.com> * Update frame/assets/Cargo.toml Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> * Docs * Some tests * More tests * Allow for max_zombies to be adjusted * Test for set_max_zombies * Tests and a couple of fixes * First few benchmarks * Benchmarks. * Fix error message in test * Fixes * Fixes * Fixes * cargo run --release --features runtime-benchmarks --manifest-path bin/node/cli/Cargo.toml -- benchmark --chain dev --steps 50 --repeat 20 --extrinsic * --execution=wasm --wasm-execution=compiled --output ./bin/node/runtime/src/weights --header ./HEADER --pallet pallet_assets * Update frame/assets/src/lib.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Fixes * Fixes * Fixes * cargo run --release --features runtime-benchmarks --manifest-path bin/node/cli/Cargo.toml -- benchmark --chain dev --steps 50 --repeat 20 --extrinsic * --execution=wasm --wasm-execution=compiled --output ./bin/node/runtime/src/weights --header ./HEADER --pallet pallet_assets * Fixes * Update default weight * Add proper verification to benchmarks * minor improvements to tests * Update frame/assets/src/benchmarking.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Fix * New weights system * fix compile * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_assets --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/assets/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by: Nikolay Volf <nikvolf@gmail.com> Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by: Parity Benchmarking Bot <admin@parity.io> Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
49 lines
1.7 KiB
TOML
49 lines
1.7 KiB
TOML
[package]
|
|
name = "pallet-assets"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "FRAME asset management pallet"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.101", optional = true }
|
|
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false }
|
|
sp-std = { version = "2.0.0", default-features = false, path = "../../primitives/std" }
|
|
# Needed for various traits. In our case, `OnFinalize`.
|
|
sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
# Needed for type-safe access to storage DB.
|
|
frame-support = { version = "2.0.0", default-features = false, path = "../support" }
|
|
# `system` module provides us with all sorts of useful stuff and macros depend on it being around.
|
|
frame-system = { version = "2.0.0", default-features = false, path = "../system" }
|
|
frame-benchmarking = { version = "2.0.0", default-features = false, path = "../benchmarking", optional = true }
|
|
|
|
[dev-dependencies]
|
|
sp-core = { version = "2.0.0", path = "../../primitives/core" }
|
|
sp-std = { version = "2.0.0", path = "../../primitives/std" }
|
|
sp-io = { version = "2.0.0", path = "../../primitives/io" }
|
|
pallet-balances = { version = "2.0.0", default-features = false, path = "../balances" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"serde",
|
|
"codec/std",
|
|
"sp-std/std",
|
|
"sp-runtime/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"frame-benchmarking/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
]
|