mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
247f33dc0b
* Update frame/nomination-pools/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Add admin roles and make some calls permissionless * Destroy pool in withdraw unbonded * Add docs on pool admin * Fixup tests * Test unbond_other permissionless scenarios * Test withdraw unbonded permissionless * Test only can join open pools * Move unsafe set state to mock * Test: nominate_works * Add bounds: MinJoinBond, MinCreateBond, MaxPools * Test MinCreateBond, MinJoinBond, MaxPools * Add post checks to tests * Remove some TODOs * Setup weight infrastructure * Benchmark claim_payout * Benchmark create * Benchmark nominate * Benchmark join * Benchmark unbond_other * Refactor join benchmark to use scenario setup * Clean up and address warnings * Basic withdraw unbonded benchmarks * Refactor nominate benchmark * Refactor claim payout * Add feature sp-staking/runtime-benchmarks * Get node runtime to compile * Get node to run * Make claim_payout bench work with node * Make pool_withdraw_unbonded bench work with node * Make withdraw_unbonded_other work with node runtime' * Make create benchmark work with node * Make nominate benchmark work with node runtime * WiP new benchmark crate * Implement initial mock for benchmarks * Establish benchmark setup logic * Get claim payout and nominate benchmarks working * Remove pool bench utils; make struct fields pub insteaad * Get more benchmarks to work; trim interface trait * Some more top level docs * Finish tranistion benchmarks to crate * Hook up benchmark pallet to node runtime * Get benches to work with node runtime * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Benchmark withdraw_unbonded_other_kill * Delete old benchmarking files * Refunds for withdraw_unbonded * Remove some TODOs * 'Don't return an option for the current_era' * Streamline extrinsic docs * small docs tweaks * Refactor ledger::slash * Add on_slash impl for nomination pools * slash refactor wip * WIP slash working * DRY Ledger::stash * Fix slash saturation * Remove unused param from slash * Docs and warnings * Test ledger::slash * save progress * Introduce counter for delegators * Add tests for max delegator errors * Reproducible account ids * Adapt tests to new account id format * Simplify create_accounts api * Fix staking tests * Save PerBill slash impl before removing * Rever ledger slash test * Get node runtime to work * Organize sub pools by unbond era, not curren era * staking: Proportional ledger slashing * Some comment cleanup * Add more test post checks * Update frame/staking/src/pallet/mod.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Tests: account for storing unbond era * Improve docs for staking interface * Add events Created, Destroyed * withdraw_unbonded: Remove useless withdraw dust check * Test: withdraw_unbonded_other_handles_faulty_sub_pool_accounting * Add extrinsics: set_state_other, set_metadata * Test: set_state_other_works * Test: set_metadata_works * Add benchmarks for set_state_other, set_metadata * Fix benchmarks * Add weight info for new extrinsics * Some feedback * duo feedback * Incorporate some more feedback * integrate more kian feedback * integrate more kian feedback * More improvements * Add destroying_mul * Make do_reward_payout take refs * Remove some TODOs * Add test for saturating * feedback * Fix join test * use `inner` for nested types in nomination pools (#11030) * Use nested inner type for pool * make tests and benchmarks work * remove feat * all tests work now * fix node-runtime * nomination-pools: update benches for new account format (#11033) * Update benches to new account format * More sensible seeds * bring back rward account sanity check * Comment * Add extrinsic set_configs (#11038) * Better sanity checks for nomination pools (#11042) * new sanity checks, few other changes * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * nomination-pools: Fix state event regression + benches (#11045) * new sanity checks, few other changes * Fix benches, improve sanity check * Remove useless clear storage in benchmarking * Set state * Save * Doc * Update frame/nomination-pools/src/lib.rs Co-authored-by: kianenigma <kian@parity.io> * FMT * Try fill in all staking configs * Fix build * More changes to nomination pools (#11050) * new sanity checks, few other changes * some last touches as a whole * Apply suggestions from code review * Remove redundant event * Improve unbond_other error handling * Remove comment Co-authored-by: Zeke Mostov <z.mostov@gmail.com> Co-authored-by: emostov <32168567+emostov@users.noreply.github.com> * Remove sanity module and some TODOs * round of feedback and imp from kian * Add TODO for ED QoL at reward pool creation * Make sure reward pool never gets dusted * Improve error type * demonstrate per_thing usage * Update sanity check & fix create_works * Improve test ext pool creation & fix some more tests * Try revert * Revert "Try revert" This reverts commit c044c94730e1a370eecd8f5b2c4f632835913063. * Revert "Improve test ext pool creation & fix some more tests" This reverts commit 1e862a64a7423479260c6e5ad1bd4c8c95651f3a. * Revert "Update sanity check & fix create_works" This reverts commit 568a7b727687e4d585e2796afc638df97b83c632. Roll back reward account funding * Revert "Improve error type" This reverts commit 4b993ee601a037e7a44e4a49bbfd60cf45b38b78. * Revert "Make sure reward pool never gets dusted" This reverts commit e7a3eb45bdfd156d3f6d94d194e988032ebbc593. revert * Update some tests * FMT * Test that era offset works correctly * Update mocks * Remove unnescary docs * Doc updates * Update calculate_delegator_payout_works_with_a_pool_of_1 * Fix test: claim_payout_works * do_reward_payout_correctly_sets_pool_state_to_destroying * Remove test do_reward_payout_errors_correctly * Fix test: do_reward_payout_works * Fix test: create_errors_correctly * Fix test: create works * Fix test: unbond_other_of_3_works * Ensure that ED is transferred into reward pool upon creation * WIP pool lifecycle test * Fix benchmarks * Add sanity check for ED + reward pools * `bond_extra` for nomination pools (#11100) * bond_extra for nomination pools * Update frame/nomination-pools/src/lib.rs * Update frame/nomination-pools/src/lib.rs * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * add benchmarks * remove the min logic of bond_extra Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * FMT * Update frame/nomination-pools/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * make it compile end to end * Update some type viz * Update kick terminology * Update frame/nomination-pools/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update frame/nomination-pools/src/lib.rs * Cache bonded account when creating pool * Add bond extra weight stuff * Update frame/nomination-pools/src/lib.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update docs for pool withdraw unbonded * Update docs for unbond * Improve Doc * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/Cargo.toml Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Improve Docs * Some docs improvements * fmt * Remove unlock_era * Fix accidental frame-support regression * Fix issue with transactions in tests * Fix doc links * Make sure result in test is used * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix can toggle state * Account for new_funds in ok to be open * Update docs: ok_to_withdraw_unbonded_other_with * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove some staking comments * Rename SubPoolsWithEra to UnbondingPoolsWithEra * Use validators length for benchmarks * Use metadata length for benchmarks * Remove debug assert eq * docs * Fix test: withdraw_unbonded_other_errors_correctly * Fix check for having enough balance to create the pool * Bond event for pool creation * Ok to be open * FMT * Remove _other postfix * Update frame/staking/src/lib.rs * Adjust tests to account for only remove when < ED * Remove stale TODOs * Remove dupe test * Fix build * Make sure to convert to u256 so we don't saturate * Refund depositor with reward pool fee * FMT * Remove reachable defensive * Use compact encoding for relevant extrinsics * Remove unnescary make_free_be for cleaning reward account * Add not to maintainers for reward account accounting * Remove note to maintainers from public doc * Make sure all configs have currency balance * Avoid saturation in balance_to_unbond * Partial Unbonding for Nomination Pools (#11212) * first draft of partial unbonding for pools * remove option * Add some more tests and fix issues * Fix all tests * simplify some tests * Update frame/nomination-pools/src/mock.rs * remove clone * rename to delegator_unbonding_eras * Update frame/nomination-pools/src/tests.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * Update frame/nomination-pools/src/tests.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * Update frame/nomination-pools/src/tests.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * remove pub * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * undo * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * leftovers * fix invariant * Fix the depositor assumption * round of self-review * little bit more cleanup * Update frame/nomination-pools/src/mock.rs * Apply suggestions from code review * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * Fix interpretation of MinCreateBond * controvesial refactor * rename * make everything build * add TODO about killing the reward account * Update frame/nomination-pools/src/lib.rs Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * Update frame/nomination-pools/src/lib.rs * last self-review Co-authored-by: Zeke Mostov <z.mostov@gmail.com> * Update Cargo.lock * Rename Delegator to PoolMember * fmt * Get runtime to build with runtime-benchmarks feature * Update Cargo.lock * Fix asserts to work in more scenarios * gte not gt * cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/nomination-pools/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Update frame/staking/src/mock.rs * Update frame/nomination-pools/src/lib.rs * Update frame/staking/src/slashing.rs * Apply suggestions from code review * fmt * Fix some tests Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: Parity Bot <admin@parity.io> Co-authored-by: kianenigma <kian@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
294 lines
15 KiB
TOML
294 lines
15 KiB
TOML
[package]
|
|
name = "node-runtime"
|
|
version = "3.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
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 = "3.0.0", default-features = false, features = [
|
|
"derive",
|
|
"max-encoded-len",
|
|
] }
|
|
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
|
|
static_assertions = "1.1.0"
|
|
hex-literal = { version = "0.3.4", optional = true }
|
|
log = { version = "0.4.16", 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 = "6.0.0", default-features = false, path = "../../../primitives/core" }
|
|
sp-std = { version = "4.0.0", default-features = false, path = "../../../primitives/std" }
|
|
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/api" }
|
|
sp-runtime = { version = "6.0.0", default-features = false, path = "../../../primitives/runtime" }
|
|
sp-staking = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/staking" }
|
|
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 = "5.0.0", default-features = false, path = "../../../primitives/version" }
|
|
sp-io = { version = "6.0.0", default-features = false, path = "../../../primitives/io" }
|
|
sp-sandbox = { version = "0.10.0-dev", default-features = false, path = "../../../primitives/sandbox" }
|
|
|
|
# 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-bags-list = { version = "4.0.0-dev", default-features = false, path = "../../../frame/bags-list" }
|
|
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-child-bounties = { version = "4.0.0-dev", default-features = false, path = "../../../frame/child-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 = "6.0.0", 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-conviction-voting = { version = "4.0.0-dev", default-features = false, path = "../../../frame/conviction-voting" }
|
|
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-election-provider-support-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../../../frame/election-provider-support/benchmarking", optional = true }
|
|
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-nomination-pools = { version = "1.0.0", default-features = false, path = "../../../frame/nomination-pools"}
|
|
pallet-nomination-pools-benchmarking = { version = "1.0.0", default-features = false, optional = true, path = "../../../frame/nomination-pools/benchmarking" }
|
|
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-preimage = { version = "4.0.0-dev", default-features = false, path = "../../../frame/preimage" }
|
|
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-referenda = { version = "4.0.0-dev", default-features = false, path = "../../../frame/referenda" }
|
|
pallet-remark = { version = "4.0.0-dev", default-features = false, path = "../../../frame/remark" }
|
|
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-state-trie-migration = { version = "4.0.0-dev", default-features = false, path = "../../../frame/state-trie-migration" }
|
|
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-asset-tx-payment = { version = "4.0.0-dev", default-features = false, path = "../../../frame/transaction-payment/asset-tx-payment/" }
|
|
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" }
|
|
pallet-whitelist = { version = "4.0.0-dev", default-features = false, path = "../../../frame/whitelist" }
|
|
|
|
[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-bags-list/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-conviction-voting/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-nomination-pools/std",
|
|
"pallet-identity/std",
|
|
"pallet-scheduler/std",
|
|
"node-primitives/std",
|
|
"sp-offchain/std",
|
|
"pallet-offences/std",
|
|
"pallet-preimage/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",
|
|
"pallet-state-trie-migration/std",
|
|
"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-referenda/std",
|
|
"pallet-remark/std",
|
|
"pallet-recovery/std",
|
|
"pallet-uniques/std",
|
|
"pallet-vesting/std",
|
|
"log/std",
|
|
"frame-try-runtime/std",
|
|
"sp-io/std",
|
|
"pallet-child-bounties/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"pallet-assets/runtime-benchmarks",
|
|
"pallet-babe/runtime-benchmarks",
|
|
"pallet-bags-list/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-bounties/runtime-benchmarks",
|
|
"pallet-child-bounties/runtime-benchmarks",
|
|
"pallet-collective/runtime-benchmarks",
|
|
"pallet-contracts/runtime-benchmarks",
|
|
"pallet-conviction-voting/runtime-benchmarks",
|
|
"pallet-democracy/runtime-benchmarks",
|
|
"pallet-election-provider-multi-phase/runtime-benchmarks",
|
|
"pallet-election-provider-support-benchmarking/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-nomination-pools-benchmarking",
|
|
"pallet-offences-benchmarking",
|
|
"pallet-preimage/runtime-benchmarks",
|
|
"pallet-proxy/runtime-benchmarks",
|
|
"pallet-scheduler/runtime-benchmarks",
|
|
"pallet-referenda/runtime-benchmarks",
|
|
"pallet-recovery/runtime-benchmarks",
|
|
"pallet-remark/runtime-benchmarks",
|
|
"pallet-session-benchmarking",
|
|
"pallet-society/runtime-benchmarks",
|
|
"pallet-staking/runtime-benchmarks",
|
|
"pallet-state-trie-migration/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-whitelist/runtime-benchmarks",
|
|
"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-child-bounties/try-runtime",
|
|
"pallet-collective/try-runtime",
|
|
"pallet-contracts/try-runtime",
|
|
"pallet-conviction-voting/try-runtime",
|
|
"pallet-democracy/try-runtime",
|
|
"pallet-election-provider-multi-phase/try-runtime",
|
|
"pallet-elections-phragmen/try-runtime",
|
|
"pallet-gilt/try-runtime",
|
|
"pallet-grandpa/try-runtime",
|
|
"pallet-identity/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-offences/try-runtime",
|
|
"pallet-preimage/try-runtime",
|
|
"pallet-proxy/try-runtime",
|
|
"pallet-randomness-collective-flip/try-runtime",
|
|
"pallet-recovery/try-runtime",
|
|
"pallet-referenda/try-runtime",
|
|
"pallet-scheduler/try-runtime",
|
|
"pallet-session/try-runtime",
|
|
"pallet-society/try-runtime",
|
|
"pallet-staking/try-runtime",
|
|
"pallet-state-trie-migration/try-runtime",
|
|
"pallet-sudo/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"pallet-tips/try-runtime",
|
|
"pallet-transaction-payment/try-runtime",
|
|
"pallet-treasury/try-runtime",
|
|
"pallet-uniques/try-runtime",
|
|
"pallet-utility/try-runtime",
|
|
"pallet-vesting/try-runtime",
|
|
"pallet-whitelist/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"]
|
|
# Force `sp-sandbox` to call into the host resident executor. One still need to make sure
|
|
# that `sc-executor` gets the `wasmer-sandbox` feature which happens automatically when
|
|
# specified on the command line.
|
|
# Don't use that on a production chain.
|
|
wasmer-sandbox = ["sp-sandbox/wasmer-sandbox"]
|