Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

substrate #9202 companion: Multiple vesting schedules #3407

Merged
23 commits merged into from
Aug 24, 2021

Conversation

emostov
Copy link
Contributor

@emostov emostov commented Jul 5, 2021

substrate companion: paritytech/substrate#9202

Areas for feedback:

  • What should MaxVestingSchedules be for each runtime? I have initially set it to 24, which is based on if you get 1 schedule a month you can go 2 years without merging any schedules; but this is a very arbitrary goal.

TODO:

  • make sure benchmarks work with each runtime's values

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Jul 5, 2021
@emostov emostov added B1-releasenotes C3-medium PR touches the given topic and has a medium impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Jul 5, 2021
@emostov emostov added D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. and removed D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Jul 5, 2021
@emostov
Copy link
Contributor Author

emostov commented Jul 5, 2021

/benchmark runtime kusama pallet_vesting

@parity-benchapp
Copy link

parity-benchapp bot commented Jul 5, 2021

Finished benchmark for branch: zeke-companion-multi-vest

Benchmark: Benchmark Runtime Kusama Pallet

cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_vesting --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Results
Updating git repository `https://github.com/paritytech/substrate`
Updating git repository `https://github.com/paritytech/grandpa-bridge-gadget`

Compiling sp-std v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-consensus-slots v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling camino v1.0.4
Compiling substrate-build-script-utils v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-panic-handler v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-debug-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling frame-support-procedural-tools-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling zstd-sys v1.4.20+zstd.1.4.9
Compiling sp-serializer v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling max-encoded-len-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-api-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-chain-spec-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-npos-elections-compact v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-tracing-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-staking-reward-curve v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling metered-channel v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/metered-channel)
Compiling sp-utils v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-runtime-interface-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-cli v0.9.8 (/home/benchbot/bench-bot/git/polkadot/cli)
Compiling frame-support-procedural-tools v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-maybe-compressed-blob v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-storage v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-tracing v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-wasm-interface v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-arithmetic v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling fork-tree v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling xcm v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm)
Compiling sp-version-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-network v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-authority-discovery v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling frame-support-procedural v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-externalities v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-staking-reward-fn v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling cargo_metadata v0.13.1
Compiling max-encoded-len v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling substrate-prometheus-endpoint v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-database v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-proposer-metrics v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-peerset v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-telemetry v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-runtime-interface v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-core v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-trie v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-keystore v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling frame-metadata v13.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-allocator v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-rpc v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-npos-elections v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-state-machine v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-executor-common v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-executor-wasmtime v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-executor-wasmi v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-io v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-application-crypto v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-tasks v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-runtime v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-keystore v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-version v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-inherents v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-staking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-consensus-slots v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-consensus-vrf v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-core-primitives v0.9.8 (/home/benchbot/bench-bot/git/polkadot/core-primitives)
Compiling sc-rpc-server v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-keyring v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling slot-range-helper v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/common/slot_range_helper)
Compiling remote-externalities v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-parachain v0.9.8 (/home/benchbot/bench-bot/git/polkadot/parachain)
Compiling sc-executor v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-authority-discovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-finality-grandpa v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-session v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-offchain v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling beefy-primitives v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#10872bb2)
Compiling frame-system-rpc-runtime-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-node-core-pvf v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/pvf)
Compiling frame-support v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-consensus v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-timestamp v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-block-builder v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-authorship v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-transaction-storage-proof v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-blockchain v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-consensus-babe v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sp-transaction-pool v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-client-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-transaction-graph v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-block-builder v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-consensus v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-consensus-uncles v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-tracing v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-state-db v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-light v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-basic-authorship v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-consensus-epochs v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-transaction-pool v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-client-db v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-consensus-babe v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling frame-system v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling xcm-executor v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm/xcm-executor)
Compiling bp-runtime v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/runtime)
Compiling frame-try-runtime v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling bp-header-chain v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/header-chain)
Compiling frame-benchmarking v3.1.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-primitives v0.9.8 (/home/benchbot/bench-bot/git/polkadot/primitives)
Compiling pallet-authorship v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling frame-election-provider-support v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-transaction-payment v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-mmr-primitives v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling bp-messages v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/messages)
Compiling frame-executive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-nicks v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-society v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-recovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-sudo v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-network-gossip v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-offchain v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-informant v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling bp-test-utils v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/test-utils)
Compiling pallet-timestamp v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-balances v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-vesting v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-utility v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-proxy v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-membership v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-indices v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-collective v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-identity v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-elections-phragmen v4.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-democracy v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-scheduler v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-multisig v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling frame-system-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-gilt v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-election-provider-multi-phase v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-im-online v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-transaction-payment-rpc-runtime-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-mmr v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-mmr-rpc v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-statement-table v0.9.8 (/home/benchbot/bench-bot/git/polkadot/statement-table)
Compiling pallet-xcm v0.1.0 (/home/benchbot/bench-bot/git/polkadot/xcm/pallet-xcm)
Compiling xcm-builder v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm/xcm-builder)
Compiling bp-polkadot-core v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/polkadot-core)
Compiling sc-finality-grandpa v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling beefy-gadget v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#10872bb2)
Compiling pallet-bridge-grandpa v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/modules/grandpa)
Compiling pallet-session v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-treasury v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-offences v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-transaction-payment-rpc v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-node-primitives v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/primitives)
Compiling bp-rococo v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/chain-rococo)
Compiling pallet-tips v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-bounties v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-node-jaeger v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/jaeger)
Compiling polkadot-erasure-coding v0.9.8 (/home/benchbot/bench-bot/git/polkadot/erasure-coding)
Compiling bp-wococo v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/chain-wococo)
Compiling sc-chain-spec v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-node-network-protocol v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/protocol)
Compiling sc-rpc-api v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-node-subsystem v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/subsystem)
Compiling polkadot-node-subsystem-util v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/subsystem-util)
Compiling pallet-staking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-authority-discovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-babe v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-grandpa v3.1.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-beefy v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#10872bb2)
Compiling sc-rpc v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-consensus-babe-rpc v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling substrate-frame-rpc-system v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-sync-state-rpc v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-overseer v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/overseer)
Compiling polkadot-node-core-runtime-api v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/runtime-api)
Compiling polkadot-node-core-backing v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/backing)
Compiling polkadot-statement-distribution v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/statement-distribution)
Compiling polkadot-node-core-candidate-validation v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/candidate-validation)
Compiling polkadot-node-core-bitfield-signing v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/bitfield-signing)
Compiling polkadot-node-core-chain-api v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/chain-api)
Compiling polkadot-approval-distribution v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/approval-distribution)
Compiling polkadot-gossip-support v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/gossip-support)
Compiling polkadot-node-core-provisioner v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/provisioner)
Compiling polkadot-availability-recovery v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/availability-recovery)
Compiling polkadot-node-collation-generation v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/collation-generation)
Compiling polkadot-collator-protocol v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/collator-protocol)
Compiling polkadot-availability-bitfield-distribution v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/bitfield-distribution)
Compiling polkadot-network-bridge v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/bridge)
Compiling polkadot-runtime-parachains v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/parachains)
Compiling pallet-offences-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling pallet-session-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-service v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling beefy-gadget-rpc v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#10872bb2)
Compiling sc-finality-grandpa-rpc v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-availability-distribution v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/network/availability-distribution)
Compiling polkadot-node-core-av-store v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/av-store)
Compiling polkadot-node-core-approval-voting v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/approval-voting)
Compiling polkadot-node-core-parachains-inherent v0.1.0 (/home/benchbot/bench-bot/git/polkadot/node/core/parachains-inherent)
Compiling polkadot-rpc v0.9.8 (/home/benchbot/bench-bot/git/polkadot/rpc)
Compiling sc-cli v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling sc-finality-grandpa-warp-sync v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling polkadot-runtime-common v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/common)
Compiling try-runtime-cli v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling frame-benchmarking-cli v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling zstd-safe v3.0.1+zstd.1.4.9
Compiling zstd v0.6.1+zstd.1.4.9
Compiling substrate-wasm-builder v4.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
Compiling westend-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/westend)
Compiling rococo-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/rococo)
Compiling polkadot-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/polkadot)
Compiling kusama-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/kusama)
error: failed to run custom build command for kusama-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/kusama)

Caused by:
process didn't exit successfully: /home/benchbot/bench-bot/git/polkadot/target/release/build/kusama-runtime-f6c0ed5e94f5ddd5/build-script-build (exit status: 1)
--- stdout
�[1;33mInformation that should be included in a bug report.�[0m
�[1;33mExecuting build command:�[0m "/home/benchbot/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/benchbot/bench-bot/git/polkadot/target/release/wbuild/kusama-runtime/Cargo.toml" "--color=always" "--release"
�[1;33mUsing rustc version:�[0m rustc 1.54.0-nightly (716394d65 2021-05-03)

--- stderr
�[0m�[0m�[1m�[36m Blocking�[0m waiting for file lock on package cache
�[0m�[0m�[1m�[36m Blocking�[0m waiting for file lock on package cache
�[0m�[0m�[1m�[36m Blocking�[0m waiting for file lock on package cache
�[0m�[0m�[1m�[36m Blocking�[0m waiting for file lock on package cache
�[0m�[0m�[1m�[32m Compiling�[0m sp-std v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m zstd-safe v3.0.1+zstd.1.4.9
�[0m�[0m�[1m�[32m Compiling�[0m camino v1.0.4
�[0m�[0m�[1m�[32m Compiling�[0m jobserver v0.1.21
�[0m�[0m�[1m�[32m Compiling�[0m cc v1.0.67
�[0m�[0m�[1m�[32m Compiling�[0m sp-debug-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-support-procedural-tools-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m zstd-sys v1.4.20+zstd.1.4.9
�[0m�[0m�[1m�[32m Compiling�[0m max-encoded-len-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-runtime-interface-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-support-procedural-tools v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-api-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-npos-elections-compact v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m cargo_metadata v0.13.1
�[0m�[0m�[1m�[32m Compiling�[0m frame-support-procedural v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-storage v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-tracing v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-wasm-interface v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-arithmetic v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m xcm v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm)
�[0m�[0m�[1m�[32m Compiling�[0m sp-version-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-staking-reward-fn v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-runtime-interface v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m max-encoded-len v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-core v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-io v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-inherents v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-metadata v13.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-trie v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-npos-elections v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-application-crypto v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-runtime v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-version v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-staking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-authorship v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-consensus-slots v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m polkadot-core-primitives v0.9.8 (/home/benchbot/bench-bot/git/polkadot/core-primitives)
�[0m�[0m�[1m�[32m Compiling�[0m sp-consensus-vrf v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m slot-range-helper v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/common/slot_range_helper)
�[0m�[0m�[1m�[32m Compiling�[0m sp-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-support v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m polkadot-parachain v0.9.8 (/home/benchbot/bench-bot/git/polkadot/parachain)
�[0m�[1m�[33mwarning�[0m�[0m�[1m: function is never used: load_params�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/parachain/src/wasm_api.rs:24:15�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m24�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0mpub unsafe fn load_params(params: *const u8, len: usize)�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[33m^^^^^^^^^^^�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: #[warn(dead_code)] on by default�[0m

�[0m�[1m�[33mwarning�[0m�[0m�[1m: function is never used: write_result�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/parachain/src/wasm_api.rs:37:8�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m37�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0mpub fn write_result(result: &crate::primitives::ValidationResult) -> u64 {�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[33m^^^^^^^^^^^^�[0m

�[0m�[1m�[33mwarning�[0m�[0m�[1m: 2 warnings emitted�[0m

�[0m�[0m�[1m�[32m Compiling�[0m sp-timestamp v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-session v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-authority-discovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-consensus-babe v0.9.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m beefy-primitives v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#10872bb2)
�[0m�[0m�[1m�[32m Compiling�[0m sp-finality-grandpa v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-offchain v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-transaction-pool v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m sp-block-builder v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-system-rpc-runtime-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-system v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m xcm-executor v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm/xcm-executor)
�[0m�[0m�[1m�[32m Compiling�[0m frame-benchmarking v3.1.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-authorship v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-election-provider-support v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-transaction-payment v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m polkadot-primitives v0.9.8 (/home/benchbot/bench-bot/git/polkadot/primitives)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-mmr-primitives v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-executive v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-recovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-nicks v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-society v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-timestamp v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-balances v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-vesting v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-multisig v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-membership v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m frame-system-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-proxy v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-gilt v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-utility v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-scheduler v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-indices v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-identity v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-elections-phragmen v4.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-collective v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-democracy v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-election-provider-multi-phase v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-transaction-payment-rpc-runtime-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-im-online v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-mmr v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-xcm v0.1.0 (/home/benchbot/bench-bot/git/polkadot/xcm/pallet-xcm)
�[0m�[0m�[1m�[32m Compiling�[0m xcm-builder v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm/xcm-builder)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-session v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-treasury v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-offences v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-tips v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-bounties v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-staking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-authority-discovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-babe v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-beefy v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#10872bb2)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-grandpa v3.1.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m polkadot-runtime-parachains v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/parachains)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-offences-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m pallet-session-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m polkadot-runtime-common v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/common)
�[0m�[0m�[1m�[32m Compiling�[0m zstd v0.6.1+zstd.1.4.9
�[0m�[0m�[1m�[32m Compiling�[0m sp-maybe-compressed-blob v3.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m substrate-wasm-builder v4.0.0 (https://github.com/paritytech/substrate?branch=master#baf37363)
�[0m�[0m�[1m�[32m Compiling�[0m kusama-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/kusama)
�[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method last_vested_transfer is not a member of trait pallet_vesting::WeightInfo�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:82:2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m82�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m fn last_vested_transfer(l: u32, _s: u32, ) -> Weight {�[0m
�[0m�[1m�[38;5;12m83�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m (101_019_000 as Weight)�[0m
�[0m�[1m�[38;5;12m84�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m // Standard Error: 5_000�[0m
�[0m�[1m�[38;5;12m85�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add((135_000 as Weight).saturating_mul(l as Weight))�[0m
�[0m�[1m�[38;5;12m86�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().reads(3 as Weight))�[0m
�[0m�[1m�[38;5;12m87�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().writes(3 as Weight))�[0m
�[0m�[1m�[38;5;12m88�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m }�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait pallet_vesting::WeightInfo�[0m

�[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method first_vested_transfer is not a member of trait pallet_vesting::WeightInfo�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:89:2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m89�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m fn first_vested_transfer(l: u32, ) -> Weight {�[0m
�[0m�[1m�[38;5;12m90�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m (118_733_000 as Weight)�[0m
�[0m�[1m�[38;5;12m91�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m // Standard Error: 5_000�[0m
�[0m�[1m�[38;5;12m92�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add((138_000 as Weight).saturating_mul(l as Weight))�[0m
�[0m�[1m�[38;5;12m93�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().reads(3 as Weight))�[0m
�[0m�[1m�[38;5;12m94�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().writes(3 as Weight))�[0m
�[0m�[1m�[38;5;12m95�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m }�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait pallet_vesting::WeightInfo�[0m

�[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method first_force_vested_transfer is not a member of trait pallet_vesting::WeightInfo�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:96:2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m96�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m fn first_force_vested_transfer(l: u32, ) -> Weight {�[0m
�[0m�[1m�[38;5;12m97�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m (117_482_000 as Weight)�[0m
�[0m�[1m�[38;5;12m98�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m // Standard Error: 3_000�[0m
�[0m�[1m�[38;5;12m99�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add((146_000 as Weight).saturating_mul(l as Weight))�[0m
�[0m�[1m�[38;5;12m100�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().reads(4 as Weight))�[0m
�[0m�[1m�[38;5;12m101�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().writes(4 as Weight))�[0m
�[0m�[1m�[38;5;12m102�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m }�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait pallet_vesting::WeightInfo�[0m

�[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method last_force_vested_transfer is not a member of trait pallet_vesting::WeightInfo�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:103:2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m103�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m fn last_force_vested_transfer(l: u32, _s: u32, ) -> Weight {�[0m
�[0m�[1m�[38;5;12m104�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m (100_191_000 as Weight)�[0m
�[0m�[1m�[38;5;12m105�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m // Standard Error: 6_000�[0m
�[0m�[1m�[38;5;12m106�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add((144_000 as Weight).saturating_mul(l as Weight))�[0m
�[0m�[1m�[38;5;12m107�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().reads(4 as Weight))�[0m
�[0m�[1m�[38;5;12m108�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().writes(4 as Weight))�[0m
�[0m�[1m�[38;5;12m109�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m }�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait pallet_vesting::WeightInfo�[0m

�[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method not_unlocking_merge_schedules is not a member of trait pallet_vesting::WeightInfo�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:110:2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m110�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {�[0m
�[0m�[1m�[38;5;12m111�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m (71_299_000 as Weight)�[0m
�[0m�[1m�[38;5;12m112�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m // Standard Error: 1_000�[0m
�[0m�[1m�[38;5;12m113�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add((115_000 as Weight).saturating_mul(l as Weight))�[0m
�[0m�[1m�[38;5;12m...�[0m�[0m �[0m�[0m�[1m�[38;5;9m|�[0m
�[0m�[1m�[38;5;12m117�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().writes(3 as Weight))�[0m
�[0m�[1m�[38;5;12m118�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m }�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait pallet_vesting::WeightInfo�[0m

�[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method unlocking_merge_schedules is not a member of trait pallet_vesting::WeightInfo�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:119:2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m119�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight {�[0m
�[0m�[1m�[38;5;12m120�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m (70_606_000 as Weight)�[0m
�[0m�[1m�[38;5;12m121�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m // Standard Error: 1_000�[0m
�[0m�[1m�[38;5;12m122�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add((151_000 as Weight).saturating_mul(l as Weight))�[0m
�[0m�[1m�[38;5;12m...�[0m�[0m �[0m�[0m�[1m�[38;5;9m|�[0m
�[0m�[1m�[38;5;12m126�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m .saturating_add(T::DbWeight::get().writes(3 as Weight))�[0m
�[0m�[1m�[38;5;12m127�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m }�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|_____^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait pallet_vesting::WeightInfo�[0m

�[0m�[1m�[38;5;9merror[E0437]�[0m�[0m�[1m: type MaxVestingSchedules is not a member of trait pallet_vesting::Config�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/lib.rs:961:2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m961�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m type MaxVestingSchedules = MaxVestingSchedules;�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[38;5;9m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[38;5;9mnot a member of trait pallet_vesting::Config�[0m

�[0m�[1m�[38;5;9merror[E0050]�[0m�[0m�[1m: method vest_locked has 2 parameters but the declaration in trait vest_locked has 1�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:46:20�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m46�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m fn vest_locked(l: u32, s: u32, ) -> Weight {�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[38;5;9m^^^^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[38;5;9mexpected 1 parameter, found 2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: vest_locked from trait: �[0m�[0m�[1mfn(u32) -> u64�[0m�[0m�[0m

�[0m�[1m�[38;5;9merror[E0050]�[0m�[0m�[1m: method vest_unlocked has 2 parameters but the declaration in trait vest_unlocked has 1�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:55:22�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m55�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m fn vest_unlocked(l: u32, s: u32, ) -> Weight {�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[38;5;9m^^^^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[38;5;9mexpected 1 parameter, found 2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: vest_unlocked from trait: �[0m�[0m�[1mfn(u32) -> u64�[0m�[0m�[0m

�[0m�[1m�[38;5;9merror[E0050]�[0m�[0m�[1m: method vest_other_locked has 2 parameters but the declaration in trait vest_other_locked has 1�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:64:26�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m64�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m fn vest_other_locked(l: u32, s: u32, ) -> Weight {�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[38;5;9m^^^^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[38;5;9mexpected 1 parameter, found 2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: vest_other_locked from trait: �[0m�[0m�[1mfn(u32) -> u64�[0m�[0m�[0m

�[0m�[1m�[38;5;9merror[E0050]�[0m�[0m�[1m: method vest_other_unlocked has 2 parameters but the declaration in trait vest_other_unlocked has 1�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:73:28�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m73�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m fn vest_other_unlocked(l: u32, s: u32, ) -> Weight {�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m �[0m�[0m�[1m�[38;5;9m^^^^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[38;5;9mexpected 1 parameter, found 2�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: vest_other_unlocked from trait: �[0m�[0m�[1mfn(u32) -> u64�[0m�[0m�[0m

�[0m�[1m�[38;5;9merror[E0046]�[0m�[0m�[1m: not all trait items implemented, missing: vested_transfer, force_vested_transfer�[0m
�[0m �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/kusama/src/weights/pallet_vesting.rs:45:1�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m�[1m�[38;5;12m45�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0mimpl<T: frame_system::Config> pallet_vesting::WeightInfo for WeightInfo {�[0m
�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[38;5;9mmissing vested_transfer, force_vested_transfer in implementation�[0m
�[0m �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: �[0m�[0mimplement the missing item: fn vested_transfer(_: u32) -> u64 { todo!() }�[0m
�[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: �[0m�[0mimplement the missing item: fn force_vested_transfer(_: u32) -> u64 { todo!() }�[0m

�[0m�[1m�[38;5;9merror�[0m�[0m�[1m: aborting due to 12 previous errors�[0m

�[0m�[1mSome errors have detailed explanations: E0046, E0050, E0407, E0437.�[0m
�[0m�[1mFor more information about an error, try rustc --explain E0046.�[0m
�[0m�[0m�[1m�[31merror�[0m�[1m:�[0m could not compile kusama-runtime

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

@emostov
Copy link
Contributor Author

emostov commented Jul 5, 2021

VestingInfo encoded size can be described as Balance + Balance + BlockNumber == u128 + u128 + u32 == 16 + 16 + 4 == 34.

Assuming a BoundedVec has no overhead when encoded, we can say the encoded size of a user's vesting schedules == 34 * schedule_count

Below is a map of schedule count -> encoded size

3 -> 102   // closest to 2^7
7 -> 238   // closest to 2^8
14 -> 504  // closest to 2^9
24 -> 816
30 -> 1020 // closest to 2^10
50 -> 1700
60 -> 2040 // closest to 2^11

EDIT: according to max_encoded_len each schedule is 36 bytes (not sure why), so the above mapping is incorrect. This means 28 schedules is 1009 bytes, the closest to 2^10.

Here is a test showing how I measured: https://github.com/paritytech/polkadot/pull/3407/files#diff-e5e76e02c0d16e79c70b024cbe3c6ea56f3249382a0f987ba203c34fcb40ed66R1598-R1610

runtime/polkadot/src/lib.rs Outdated Show resolved Hide resolved
@emostov emostov requested a review from shawntabrizi July 6, 2021 00:26
runtime/common/src/claims.rs Outdated Show resolved Hide resolved
runtime/polkadot/src/lib.rs Outdated Show resolved Hide resolved
runtime/kusama/src/lib.rs Outdated Show resolved Hide resolved
@@ -433,7 +433,7 @@ impl claims::Config for Runtime {
}

parameter_types! {
pub storage MinVestedTransfer: Balance = 100 * DOLLARS;
pub const MinVestedTransfer: Balance = 100 * DOLLARS;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this change being made?

sounds like instead you should be placing something within a externalities environment instead of doing this

@ghost
Copy link

ghost commented Aug 24, 2021

Waiting for commit status.

@ghost ghost merged commit 23f0329 into master Aug 24, 2021
@ghost ghost deleted the zeke-companion-multi-vest branch August 24, 2021 00:56
ordian added a commit that referenced this pull request Aug 24, 2021
* master:
  backing-availability-audit: Move ErasureChunk Proof to BoundedVec (#3626)
  Substrate Companion #9575 (#3695)
  Fill up requests slots via `launch_parallel_requests` (#3681)
  Bump serde_json from 1.0.64 to 1.0.66 (#3669)
  substrate #9202 companion: Multiple vesting schedules (#3407)
  XCM: Introduce versioning to dispatchables' params (#3693)
  remove dead_code from chain selection test (#3685)
  Improve MultiLocation conversion functions in xcm-procedural (#3690)
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. C3-medium PR touches the given topic and has a medium impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants