mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 17:57:56 +00:00
84811dae00
* Transaction storage runtime module * WIP: Tests * Tests, benchmarks and docs * Made check_proof mandatory * Typo * Renamed a crate * Apply suggestions from code review Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Added weight for on_finalize * Fixed counter mutations * Reorganized tests * Fixed build * Update for the new inherent API * Reworked for the new inherents API * Apply suggestions from code review Co-authored-by: cheme <emericchevalier.pro@gmail.com> Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> * Store transactions in a Vec * Added FeeDestination * Get rid of constants * Fixed node runtime build * Fixed benches * Update frame/transaction-storage/src/lib.rs Co-authored-by: cheme <emericchevalier.pro@gmail.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: cheme <emericchevalier.pro@gmail.com> Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
51 lines
2.0 KiB
TOML
51 lines
2.0 KiB
TOML
[package]
|
|
name = "pallet-transaction-storage"
|
|
version = "3.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "Unlicense"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Storage chain pallet"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.101", optional = true }
|
|
hex-literal = { version = "0.3.1", optional = true }
|
|
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
|
|
frame-support = { version = "3.0.0", default-features = false, path = "../support" }
|
|
frame-system = { version = "3.0.0", default-features = false, path = "../system" }
|
|
pallet-balances = { version = "3.0.0", default-features = false, path = "../balances" }
|
|
sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
|
|
sp-io = { version = "3.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-inherents = { version = "3.0.0", default-features = false, path = "../../primitives/inherents" }
|
|
sp-transaction-storage-proof = { version = "3.0.0", default-features = false, path = "../../primitives/transaction-storage-proof" }
|
|
frame-benchmarking = { version = "3.1.0", default-features = false, path = "../benchmarking", optional = true }
|
|
|
|
[dev-dependencies]
|
|
frame-support-test = { version = "3.0.0", path = "../support/test" }
|
|
sp-transaction-storage-proof = { version = "3.0.0", default-features = true, path = "../../primitives/transaction-storage-proof" }
|
|
sp-core = { version = "3.0.0", path = "../../primitives/core", default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking",
|
|
"hex-literal",
|
|
]
|
|
std = [
|
|
"serde",
|
|
"codec/std",
|
|
"sp-runtime/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-balances/std",
|
|
"sp-io/std",
|
|
"sp-std/std",
|
|
"sp-inherents/std",
|
|
]
|