mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
49b6dfd2e5
* Cargo.lock after merge * Restore scale-info feature * Fully qualify TypeInfo derive * Skip PendingSwap T * Add missing skip_type_params attr * metadata docs features * Reduce pallet event attribute to struct * Cargo.lock * Update frame/balances/src/tests_composite.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Line widths check * Cargo.lock * Add scale-info/std * Update frame/system/src/lib.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Use `skip_type_params` to remove `TypeInfo` requirements on checks * Revert "Remove unused Call metadata stuff" This reverts commit 41311f85 * Skip BalanceSwapAction type parameter * Remove unused event metadata macro * Update frame-metadata * Update primitives/npos-elections/compact/src/codec.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Manual TypeInfo for Header * Remove TypeInfo requirement for consts in BoundedVec etc. * Another TypeInfo bound removed * review: fix indentation * TypeInfo impls for Identity types * Add some todos to add custom TypeInfo impls * Update frame/support/procedural/src/pallet/expand/pallet_struct.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Add some todos to add custom TypeInfo impls * Add a test for manual Data TypeInfo impl * Add custom TypeInfo impl for Vote * Era custom TypeInfo crimes * Revert finality-grandpa version to 0.14.z * review: renamed module to pallet_constants_metadata * New line at end of file * Add missing scale-info/std * Update frame/support/src/storage/types/mod.rs Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> * Remove StorageEntryType::Map unused flag * Add missing scale-info dependency after merge * SignedExtension::AdditionalSigned metadata * Update frame-metadata, use abbreviated docs and args fields * Update frame/example/Cargo.toml Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Add scale_info/std and remove unused scale-info dependency * Remove scale-info dependency * Remove treasury pallet::metadata * Remove redundant Event test * Add back scale-info as dev dependency * fix error metadata when no error defined in decl_module * Add Module3 to tests * Fix metadata test * Add docs feature to frame-support test * WIP fixing pallet metadata test * Remove redundant FunctionMetadata, FunctionArgumentMetadata as per https://github.com/paritytech/frame-metadata/pull/20 * Use main branch of frame-metadata * Use patch of scale-info for latest changes * Use latest patched scale-info * Manual TypeInfo for DigestItem * Manual TypeInfo for DigestItem * Update scale-info * Skip __Ignore variants for Error, depends on https://github.com/paritytech/scale-info/pull/117 * Named fields for FRAME v2 pallet Call variants * Named fields for FRAME v1 pallet Call variants * Add missing scale-info dependency * WIP expand benchmark call variant * fix benchmark with new function create a new function for each variant of a pallet call. This function is called by benchmarking macro in order not to break call creation with unnamed argument * fix tests * more fix * Fix staking tests * Fix offchain workers calls * Cherry pick rustfmt.toml from master * cargo +nightly-2021-06-22 fmt --all * Update to new call variant structs * More call variant struct updates * Remove unused import * More call variant structs * More call variant structs * Even more call variant structs * Mooar variant structs * Evermore variant structs * Call variant structs ad infinitum * Fmt * More call variants * Last call variant * Call variants all done? * Fix SS58Prefix type * Potential workaround for BitFlags<IdentityFields> TypeInfo * Enable docs capturing for Call, Event, and Error types * Fix IdentityFields TypeInfo * Remove metadata-docs feature * Add capture_docs = true for legacy Call, Event and Error types * Fmt * Fix metadata test type * Update benchmarks with call struct variants * Fmt * More test fixes * Fmt * Fix benches * Use latest capture_docs attr * Latest scale_info * Fmt * review: change &Vec to &[] * Remove pallet metadata attr * review: remove commented out test code * review: skip_type_params trailing comma suggestion * Update to scale-info 0.10.0 * Update construct_runtime ui tests, different because of metadata TypeInfo impls * Add some TypeInfo derives for UI tests * Update storage ensure span ui stderrs * Update call argument bound ui tests Possibly changed because change from tuple to struct variants? * Add scale-info dev dependency * Update to latest finality-grandpa release * review: missing newline * review: missing scale-info/std * review: remove duplicate scale-info/std * review: remove fully qualified TypeInfo * review: add missing scale-info/std * review: remove unnecessary imports. * Fmt * Use crates.io RC version of frame-metadata * Remove scale-info/std because it is a dev dependency * Add missing scale_info dev-dependency for test * Delete empty metadata folder * Fix sp_std import * review: improve manual UncheckedExtrinsic TypeInfo impl * review: use full scale-info for dev-dependency * Remove DefaultByteGetter impl * review: derive TypeInfo for generic header * Fmt * Update primitives/runtime/src/generic/unchecked_extrinsic.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update primitives/runtime/src/generic/unchecked_extrinsic.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update bin/node/executor/Cargo.toml Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update frame/identity/src/types.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Update frame/support/src/dispatch.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Remove redundant derive * Simplify scale-info dependency * Strip underscore prefix from call variant struct names * Another underscore field * More underscore fields * Another underscore field * Update to frame-metadata 14.0.0-rc.2 with combined StorageEntryType::Map * Fmt * Revert weights formatting * Fix up some tests * Fix up some tests for StorageEntryTypeMetadata * scale-info dev dependency * Fix test error * Add missing TypeInfo derives * Add back missing scale-info dependency * Add back missing scale-info dependency * Fix npos compact impls * Cargo.lock * Fmt * Fix errors * Fmt * Fix renamed raw_solution field * Fix error * Fmt * Fix some benchmarks * Fmt * Stray R * Fix * Add missing TypeInfos * ui test fix * Fix line widths * Revert "ui test fix" This reverts commit 2d15ec058a216e3f92d713f1174603a2bb1eac65. * Upgrade to scale-info 0.11.0 * Revert "Upgrade to scale-info 0.11.0" This reverts commit 047bb179085a0059c36cd20ab405f55cf0867e28. * Add Runtime type * Update to scale-info 0.12 * Update to scale-info 1.0 * Update frame-metadata to version 14.0.0 * Patch finality-grandpa until release available * Fix metadata tests * Fix metadata tests * Fmt * Remove patched finality-grandpa * Fix tests, use scale_info imports * Fix pallet tests * Add BlockNumber TypeInfo bound * ui test fix * Cargo.lock * Remove pallet metadata * Cargo.lock * Add missing scale-info dependency * Remove pallet event metadata * Fix error * Fix collective errors * Semicolol * Fmt * Remove another metadata attribute * Add new variant to custom digest TypeInfo * Fmt * Cargo.lock from master * Remove comma lol * Fix example call error * Fix example call error properly Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
257 lines
13 KiB
TOML
257 lines
13 KiB
TOML
[package]
|
|
name = "node-runtime"
|
|
version = "3.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
|
|
# third-party dependencies
|
|
codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = [
|
|
"derive",
|
|
"max-encoded-len",
|
|
] }
|
|
scale-info = { version = "1.0", default-features = false, features = ["derive"] }
|
|
static_assertions = "1.1.0"
|
|
hex-literal = { version = "0.3.1", optional = true }
|
|
log = { version = "0.4.14", default-features = false }
|
|
|
|
# primitives
|
|
sp-authority-discovery = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/authority-discovery" }
|
|
sp-consensus-babe = { version = "0.10.0-dev", default-features = false, path = "../../../primitives/consensus/babe" }
|
|
sp-block-builder = { path = "../../../primitives/block-builder", default-features = false, version = "4.0.0-dev" }
|
|
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/inherents" }
|
|
node-primitives = { version = "2.0.0", default-features = false, path = "../primitives" }
|
|
sp-offchain = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/offchain" }
|
|
sp-core = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/core" }
|
|
sp-std = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/std" }
|
|
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/api" }
|
|
sp-runtime = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/runtime" }
|
|
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/staking" }
|
|
sp-keyring = { version = "4.0.0-dev", optional = true, path = "../../../primitives/keyring" }
|
|
sp-session = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/session" }
|
|
sp-transaction-pool = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/transaction-pool" }
|
|
sp-version = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/version" }
|
|
sp-npos-elections = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/npos-elections" }
|
|
sp-io = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/io" }
|
|
|
|
# frame dependencies
|
|
frame-executive = { version = "4.0.0-dev", default-features = false, path = "../../../frame/executive" }
|
|
frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../../../frame/benchmarking", optional = true }
|
|
frame-support = { version = "4.0.0-dev", default-features = false, path = "../../../frame/support" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../../frame/system" }
|
|
frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../../../frame/system/benchmarking", optional = true }
|
|
frame-election-provider-support = { version = "4.0.0-dev", default-features = false, path = "../../../frame/election-provider-support" }
|
|
frame-system-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, path = "../../../frame/system/rpc/runtime-api/" }
|
|
frame-try-runtime = { version = "0.10.0-dev", default-features = false, path = "../../../frame/try-runtime", optional = true }
|
|
pallet-assets = { version = "4.0.0-dev", default-features = false, path = "../../../frame/assets" }
|
|
pallet-authority-discovery = { version = "4.0.0-dev", default-features = false, path = "../../../frame/authority-discovery" }
|
|
pallet-authorship = { version = "4.0.0-dev", default-features = false, path = "../../../frame/authorship" }
|
|
pallet-babe = { version = "4.0.0-dev", default-features = false, path = "../../../frame/babe" }
|
|
pallet-balances = { version = "4.0.0-dev", default-features = false, path = "../../../frame/balances" }
|
|
pallet-bounties = { version = "4.0.0-dev", default-features = false, path = "../../../frame/bounties" }
|
|
pallet-collective = { version = "4.0.0-dev", default-features = false, path = "../../../frame/collective" }
|
|
pallet-contracts = { version = "4.0.0-dev", default-features = false, path = "../../../frame/contracts" }
|
|
pallet-contracts-primitives = { version = "4.0.0-dev", default-features = false, path = "../../../frame/contracts/common/" }
|
|
pallet-contracts-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, path = "../../../frame/contracts/rpc/runtime-api/" }
|
|
pallet-democracy = { version = "4.0.0-dev", default-features = false, path = "../../../frame/democracy" }
|
|
pallet-election-provider-multi-phase = { version = "4.0.0-dev", default-features = false, path = "../../../frame/election-provider-multi-phase" }
|
|
pallet-elections-phragmen = { version = "5.0.0-dev", default-features = false, path = "../../../frame/elections-phragmen" }
|
|
pallet-gilt = { version = "4.0.0-dev", default-features = false, path = "../../../frame/gilt" }
|
|
pallet-grandpa = { version = "4.0.0-dev", default-features = false, path = "../../../frame/grandpa" }
|
|
pallet-im-online = { version = "4.0.0-dev", default-features = false, path = "../../../frame/im-online" }
|
|
pallet-indices = { version = "4.0.0-dev", default-features = false, path = "../../../frame/indices" }
|
|
pallet-identity = { version = "4.0.0-dev", default-features = false, path = "../../../frame/identity" }
|
|
pallet-lottery = { version = "4.0.0-dev", default-features = false, path = "../../../frame/lottery" }
|
|
pallet-membership = { version = "4.0.0-dev", default-features = false, path = "../../../frame/membership" }
|
|
pallet-mmr = { version = "4.0.0-dev", default-features = false, path = "../../../frame/merkle-mountain-range" }
|
|
pallet-multisig = { version = "4.0.0-dev", default-features = false, path = "../../../frame/multisig" }
|
|
pallet-offences = { version = "4.0.0-dev", default-features = false, path = "../../../frame/offences" }
|
|
pallet-offences-benchmarking = { version = "4.0.0-dev", path = "../../../frame/offences/benchmarking", default-features = false, optional = true }
|
|
pallet-proxy = { version = "4.0.0-dev", default-features = false, path = "../../../frame/proxy" }
|
|
pallet-randomness-collective-flip = { version = "4.0.0-dev", default-features = false, path = "../../../frame/randomness-collective-flip" }
|
|
pallet-recovery = { version = "4.0.0-dev", default-features = false, path = "../../../frame/recovery" }
|
|
pallet-session = { version = "4.0.0-dev", features = [
|
|
"historical",
|
|
], path = "../../../frame/session", default-features = false }
|
|
pallet-session-benchmarking = { version = "4.0.0-dev", path = "../../../frame/session/benchmarking", default-features = false, optional = true }
|
|
pallet-staking = { version = "4.0.0-dev", default-features = false, path = "../../../frame/staking" }
|
|
pallet-staking-reward-curve = { version = "4.0.0-dev", default-features = false, path = "../../../frame/staking/reward-curve" }
|
|
pallet-scheduler = { version = "4.0.0-dev", default-features = false, path = "../../../frame/scheduler" }
|
|
pallet-society = { version = "4.0.0-dev", default-features = false, path = "../../../frame/society" }
|
|
pallet-sudo = { version = "4.0.0-dev", default-features = false, path = "../../../frame/sudo" }
|
|
pallet-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../../frame/timestamp" }
|
|
pallet-tips = { version = "4.0.0-dev", default-features = false, path = "../../../frame/tips" }
|
|
pallet-treasury = { version = "4.0.0-dev", default-features = false, path = "../../../frame/treasury" }
|
|
pallet-utility = { version = "4.0.0-dev", default-features = false, path = "../../../frame/utility" }
|
|
pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, path = "../../../frame/transaction-payment" }
|
|
pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", default-features = false, path = "../../../frame/transaction-payment/rpc/runtime-api/" }
|
|
pallet-transaction-storage = { version = "4.0.0-dev", default-features = false, path = "../../../frame/transaction-storage" }
|
|
pallet-uniques = { version = "4.0.0-dev", default-features = false, path = "../../../frame/uniques" }
|
|
pallet-vesting = { version = "4.0.0-dev", default-features = false, path = "../../../frame/vesting" }
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-builder" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
with-tracing = ["frame-executive/with-tracing"]
|
|
std = [
|
|
"sp-authority-discovery/std",
|
|
"pallet-assets/std",
|
|
"pallet-authority-discovery/std",
|
|
"pallet-authorship/std",
|
|
"sp-consensus-babe/std",
|
|
"pallet-babe/std",
|
|
"pallet-balances/std",
|
|
"pallet-bounties/std",
|
|
"sp-block-builder/std",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"pallet-collective/std",
|
|
"pallet-contracts/std",
|
|
"pallet-contracts-primitives/std",
|
|
"pallet-contracts-rpc-runtime-api/std",
|
|
"pallet-democracy/std",
|
|
"pallet-elections-phragmen/std",
|
|
"frame-executive/std",
|
|
"pallet-gilt/std",
|
|
"pallet-grandpa/std",
|
|
"pallet-im-online/std",
|
|
"pallet-indices/std",
|
|
"sp-inherents/std",
|
|
"pallet-lottery/std",
|
|
"pallet-membership/std",
|
|
"pallet-mmr/std",
|
|
"pallet-multisig/std",
|
|
"pallet-identity/std",
|
|
"pallet-scheduler/std",
|
|
"node-primitives/std",
|
|
"sp-offchain/std",
|
|
"pallet-offences/std",
|
|
"pallet-proxy/std",
|
|
"sp-core/std",
|
|
"pallet-randomness-collective-flip/std",
|
|
"sp-std/std",
|
|
"pallet-session/std",
|
|
"sp-api/std",
|
|
"sp-runtime/std",
|
|
"sp-staking/std",
|
|
"pallet-staking/std",
|
|
"sp-keyring",
|
|
"sp-session/std",
|
|
"pallet-sudo/std",
|
|
"frame-support/std",
|
|
"frame-benchmarking/std",
|
|
"frame-system-rpc-runtime-api/std",
|
|
"frame-system/std",
|
|
"pallet-election-provider-multi-phase/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-tips/std",
|
|
"pallet-transaction-payment-rpc-runtime-api/std",
|
|
"pallet-transaction-payment/std",
|
|
"pallet-transaction-storage/std",
|
|
"pallet-treasury/std",
|
|
"sp-transaction-pool/std",
|
|
"pallet-utility/std",
|
|
"sp-version/std",
|
|
"pallet-society/std",
|
|
"pallet-recovery/std",
|
|
"pallet-uniques/std",
|
|
"pallet-vesting/std",
|
|
"log/std",
|
|
"frame-try-runtime/std",
|
|
"sp-npos-elections/std",
|
|
"sp-io/std"
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-election-provider-multi-phase/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"pallet-assets/runtime-benchmarks",
|
|
"pallet-babe/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-bounties/runtime-benchmarks",
|
|
"pallet-collective/runtime-benchmarks",
|
|
"pallet-contracts/runtime-benchmarks",
|
|
"pallet-democracy/runtime-benchmarks",
|
|
"pallet-elections-phragmen/runtime-benchmarks",
|
|
"pallet-gilt/runtime-benchmarks",
|
|
"pallet-grandpa/runtime-benchmarks",
|
|
"pallet-identity/runtime-benchmarks",
|
|
"pallet-im-online/runtime-benchmarks",
|
|
"pallet-indices/runtime-benchmarks",
|
|
"pallet-lottery/runtime-benchmarks",
|
|
"pallet-membership/runtime-benchmarks",
|
|
"pallet-mmr/runtime-benchmarks",
|
|
"pallet-multisig/runtime-benchmarks",
|
|
"pallet-proxy/runtime-benchmarks",
|
|
"pallet-scheduler/runtime-benchmarks",
|
|
"pallet-society/runtime-benchmarks",
|
|
"pallet-staking/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"pallet-tips/runtime-benchmarks",
|
|
"pallet-transaction-storage/runtime-benchmarks",
|
|
"pallet-treasury/runtime-benchmarks",
|
|
"pallet-utility/runtime-benchmarks",
|
|
"pallet-uniques/runtime-benchmarks",
|
|
"pallet-vesting/runtime-benchmarks",
|
|
"pallet-offences-benchmarking",
|
|
"pallet-session-benchmarking",
|
|
"frame-system-benchmarking",
|
|
"hex-literal",
|
|
]
|
|
try-runtime = [
|
|
"frame-executive/try-runtime",
|
|
"frame-try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-assets/try-runtime",
|
|
"pallet-authority-discovery/try-runtime",
|
|
"pallet-authorship/try-runtime",
|
|
"pallet-babe/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"pallet-bounties/try-runtime",
|
|
"pallet-collective/try-runtime",
|
|
"pallet-contracts/try-runtime",
|
|
"pallet-democracy/try-runtime",
|
|
"pallet-elections-phragmen/try-runtime",
|
|
"pallet-grandpa/try-runtime",
|
|
"pallet-im-online/try-runtime",
|
|
"pallet-indices/try-runtime",
|
|
"pallet-lottery/try-runtime",
|
|
"pallet-membership/try-runtime",
|
|
"pallet-mmr/try-runtime",
|
|
"pallet-multisig/try-runtime",
|
|
"pallet-identity/try-runtime",
|
|
"pallet-scheduler/try-runtime",
|
|
"pallet-offences/try-runtime",
|
|
"pallet-proxy/try-runtime",
|
|
"pallet-randomness-collective-flip/try-runtime",
|
|
"pallet-session/try-runtime",
|
|
"pallet-staking/try-runtime",
|
|
"pallet-sudo/try-runtime",
|
|
"pallet-election-provider-multi-phase/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"pallet-tips/try-runtime",
|
|
"pallet-transaction-payment/try-runtime",
|
|
"pallet-treasury/try-runtime",
|
|
"pallet-utility/try-runtime",
|
|
"pallet-society/try-runtime",
|
|
"pallet-recovery/try-runtime",
|
|
"pallet-uniques/try-runtime",
|
|
"pallet-vesting/try-runtime",
|
|
"pallet-gilt/try-runtime",
|
|
]
|
|
# Make contract callable functions marked as __unstable__ available. Do not enable
|
|
# on live chains as those are subject to change.
|
|
contracts-unstable-interface = ["pallet-contracts/unstable-interface"]
|