mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 05:47:58 +00:00
a706d994cb
* Fix typos * Add transaction factory `cargo run -- purge-chain -y --chain dev && cargo run -- --dev --transaction-factory 10` * Fix comment and remove build deps * Move crate to test-utils * Switch from flag to subcommand `cargo run -- factory --dev --num 5` * Decouple factory from node specifics * Introduce different manufacturing modes * Remove unrelated changes * Update Cargo.lock * Use SelectChain to fetch best block * Improve expect proof * Panic if factory executed with unsupported chain spec * Link ToDo comments to follow-up ticket * Address comments and improve style * Remove unused dependencies * Fix indent level * Replace naked unwrap * Update node/cli/src/factory_impl.rs * Fix typo * Use inherent_extrinsics instead of timestamp * Generalize factory and remove saturated conversions * Format imports * Make it clearer that database needs to be empty * Ensure factory settings * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update test-utils/transaction-factory/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Fix match guard syntax * Simplify import, remove empty line * Update node/cli/Cargo.toml * Update lockfile
23 lines
816 B
TOML
23 lines
816 B
TOML
[package]
|
|
name = "transaction-factory"
|
|
version = "0.0.1"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
cli = { package = "substrate-cli", path = "../../core/cli" }
|
|
client = { package = "substrate-client", path = "../../core/client" }
|
|
consensus_common = { package = "substrate-consensus-common", path = "../../core/consensus/common" }
|
|
log = "0.4"
|
|
parity-codec = { version = "3.3", default-features = false, features = ["derive"] }
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives", default-features = false }
|
|
sr_primitives = { package = "sr-primitives", path = "../../core/sr-primitives", default-features = false }
|
|
substrate-service = { path = "../../core/service" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"parity-codec/std",
|
|
"primitives/std",
|
|
]
|