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

Companion for Store voters in unsorted bags to get good stake iteration properties #3413

Merged
76 commits merged into from
Sep 17, 2021

Conversation

coriolinus
Copy link
Contributor

@coriolinus coriolinus commented Jul 5, 2021

Companion to paritytech/substrate#9507

SortedListProvider configuration:

  • polkadot: UseNominatorsMap -> no-op for all list updates; iter with NominatorsMap
  • kusama: UseNominatorsAndUpdateBagsList -> updates bags list; iter with NominatorsMap
  • westend: UseNominatorsAndUpdateBagsList -> updates bags list; iter with NominatorsMap

HEADER Outdated Show resolved Hide resolved
@coriolinus
Copy link
Contributor Author

/benchmark runtime polkadot pallet_staking

@parity-benchapp
Copy link

parity-benchapp bot commented Jul 7, 2021

Error running benchmark: prgn-companion-for-9081

stdoutFrom https://github.com/paritytech/polkadot * branch master -> FETCH_HEAD ac39b07..2bad807 master -> origin/master

@coriolinus
Copy link
Contributor Author

/benchmark runtime polkadot pallet_staking

@parity-benchapp
Copy link

parity-benchapp bot commented Jul 7, 2021

Benchmark Runtime Polkadot Pallet for branch "prgn-companion-for-9081" with command cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/

Results
    Updating git repository `https://github.com/paritytech/substrate`
    Updating git repository `https://github.com/paritytech/grandpa-bridge-gadget`
    Updating git repository `https://github.com/paritytech/substrate`
 Downloading crates ...
  Downloaded primitive-types v0.10.1
  Downloaded ethereum-types v0.12.0
  Downloaded libz-sys v1.1.3
   Compiling parity-util-mem v0.10.0
   Compiling sp-std v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sc-consensus-slots v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling winapi v0.3.9
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.43
   Compiling num-rational v0.4.0
   Compiling ahash v0.7.4
   Compiling matrixmultiply v0.3.1
   Compiling substrate-build-script-utils v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-panic-handler v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-debug-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling frame-support-procedural-tools-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling nalgebra-macros v0.1.0
   Compiling once_cell v1.6.0
   Compiling libz-sys v1.1.3
   Compiling wasmtime-runtime v0.27.0
   Compiling polkadot-cli v0.9.8 (/home/benchbot/bench-bot/git/polkadot/cli)
   Compiling thread_local v1.1.3
   Compiling blocking v1.0.2
   Compiling async-executor v1.4.1
   Compiling eyre v0.6.2
   Compiling ring v0.16.20
   Compiling sp-serializer v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling tiny-bip39 v0.8.0
   Compiling regex v1.4.2
   Compiling color-eyre v0.5.11
   Compiling hashbrown v0.11.2
   Compiling num-complex v0.4.0
   Compiling approx v0.5.0
   Compiling rand_distr v0.4.1
   Compiling ordered-float v1.1.0
   Compiling miow v0.3.5
   Compiling parity-scale-codec-derive v2.2.0
   Compiling sp-api-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling frame-support-procedural-tools v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sc-chain-spec-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-npos-elections-compact v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sc-tracing-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-staking-reward-curve v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling async-io v1.3.1
   Compiling chrono v0.4.19
   Compiling num-bigint v0.2.6
   Compiling trie-db v0.22.6
   Compiling webpki v0.21.3
   Compiling sct v0.6.0
   Compiling simba v0.5.1
   Compiling prometheus v0.11.0
   Compiling env_logger v0.7.1
   Compiling globset v0.4.5
   Compiling env_logger v0.8.4
   Compiling Inflector v0.11.4
   Compiling thrift v0.13.0
   Compiling bindgen v0.57.0
   Compiling parity-scale-codec v2.2.0
   Compiling snow v0.7.1
   Compiling sp-maybe-compressed-blob v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling async-global-executor v2.0.2
   Compiling async-process v1.0.1
   Compiling if-watch v0.2.0
   Compiling tracing-subscriber v0.2.18
   Compiling num-rational v0.2.4
   Compiling ct-logs v0.7.0
   Compiling rustls v0.19.1
   Compiling webpki-roots v0.21.0
   Compiling rustls v0.18.0
   Compiling file-per-thread-logger v0.1.3
   Compiling sp-utils v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling mick-jaeger v0.1.4
   Compiling sp-runtime-interface-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling frame-support-procedural v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling jsonrpsee-proc-macros v0.2.0
   Compiling impl-codec v0.5.1
   Compiling sp-storage v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-arithmetic v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling fork-tree v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling finality-grandpa v0.14.1
   Compiling xcm v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm)
   Compiling sc-network v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sc-authority-discovery v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling nalgebra v0.27.1
   Compiling sp-version-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling substrate-wasm-builder v4.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling async-std v1.9.0
   Compiling wasmi v0.9.0
   Compiling sp-tracing v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling wasmtime-cache v0.27.0
   Compiling futures-rustls v0.21.1
   Compiling tokio-rustls v0.15.0
   Compiling rustls-native-certs v0.5.0
   Compiling tokio-rustls v0.14.0
   Compiling rustls-native-certs v0.4.0
   Compiling librocksdb-sys v6.17.3
   Compiling primitive-types v0.10.1
   Compiling sp-externalities v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-staking-reward-fn v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling jsonrpc-server-utils v15.1.0
   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)
   Compiling westend-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/westend)
   Compiling sp-wasm-interface v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling jsonrpsee-ws-client v0.2.0
   Compiling async-std-resolver v0.20.1
   Compiling ethereum-types v0.12.0
   Compiling jsonrpc-ws-server v15.1.0
   Compiling statrs v0.15.0
   Compiling parity-tokio-ipc v0.4.0
   Compiling jsonrpc-http-server v15.1.0
   Compiling libp2p-core v0.28.2
   Compiling substrate-prometheus-endpoint v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling hyper-rustls v0.21.0
   Compiling sp-runtime-interface v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling jsonrpc-ipc-server v15.1.0
   Compiling linregress v0.4.3
   Compiling libp2p-swarm v0.29.0
   Compiling libp2p-mplex v0.28.0
   Compiling libp2p-noise v0.30.0
   Compiling libp2p-plaintext v0.28.0
   Compiling libp2p-wasm-ext v0.28.1
   Compiling libp2p-uds v0.28.0
   Compiling libp2p-yamux v0.32.0
   Compiling libp2p-tcp v0.28.0
   Compiling libp2p-dns v0.28.1
   Compiling sc-proposer-metrics v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling memory-db v0.27.0
   Compiling kvdb v0.10.0
   Compiling sp-core v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling libp2p-relay v0.2.0
   Compiling libp2p-floodsub v0.29.0
   Compiling libp2p-request-response v0.11.0
   Compiling libp2p-gossipsub v0.30.0
   Compiling libp2p-ping v0.29.0
   Compiling libp2p-mdns v0.30.0
   Compiling libp2p-kad v0.30.0
   Compiling libp2p-identify v0.29.0
   Compiling sp-database v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling kvdb-memorydb v0.10.0
   Compiling sp-trie v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-keystore v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling frame-metadata v13.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sc-allocator v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-rpc v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-npos-elections v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-state-machine v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sc-executor-common v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sc-executor-wasmi v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-io v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-application-crypto v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-tasks v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-runtime v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sc-keystore v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-version v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-inherents v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-staking v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-consensus-slots v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-consensus-vrf v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   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#3cd75117)
   Compiling sp-keyring v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   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#3cd75117)
   Compiling sp-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-authorship v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-transaction-storage-proof v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling frame-support v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling polkadot-parachain v0.9.8 (/home/benchbot/bench-bot/git/polkadot/parachain)
   Compiling sp-timestamp v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-block-builder v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-authority-discovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-finality-grandpa v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-session v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling sp-offchain v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling beefy-primitives v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#d2c06343)
   Compiling frame-system-rpc-runtime-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling frame-system v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling bp-runtime v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/runtime)
   Compiling xcm-executor v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm/xcm-executor)
   Compiling frame-try-runtime v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling bp-header-chain v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/header-chain)
   Compiling bp-message-dispatch v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/message-dispatch)
   Compiling frame-benchmarking v3.1.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   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#3cd75117)
   Compiling pallet-transaction-payment v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling frame-election-provider-support v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-mmr-primitives v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   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#3cd75117)
   Compiling pallet-nicks v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-society v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-sudo v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-recovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling bp-test-utils v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/test-utils)
   Compiling pallet-bridge-dispatch v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/modules/dispatch)
   Compiling pallet-timestamp v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-balances v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-vesting v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-indices v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-utility v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-proxy v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-collective v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-membership v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-democracy v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling frame-system-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-multisig v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-scheduler v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-identity v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-elections-phragmen v4.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-gilt v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-xcm v0.1.0 (/home/benchbot/bench-bot/git/polkadot/xcm/pallet-xcm)
   Compiling pallet-im-online v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling polkadot-statement-table v0.9.8 (/home/benchbot/bench-bot/git/polkadot/statement-table)
   Compiling pallet-election-provider-multi-phase v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-transaction-payment-rpc-runtime-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling xcm-builder v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm/xcm-builder)
   Compiling pallet-mmr v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling bp-polkadot-core v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/polkadot-core)
   Compiling bp-rialto v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/chain-rialto)
   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#3cd75117)
   Compiling pallet-offences v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-treasury v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling bp-rococo v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/chain-rococo)
   Compiling pallet-bridge-messages v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/modules/messages)
   Compiling bp-wococo v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/primitives/chain-wococo)
   Compiling pallet-tips v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-bounties v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling bridge-runtime-common v0.1.0 (/home/benchbot/bench-bot/git/polkadot/bridges/bin/runtime-common)
   Compiling pallet-staking v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-authority-discovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-beefy v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#d2c06343)
   Compiling pallet-grandpa v3.1.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling pallet-session-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
   Compiling polkadot-runtime-parachains v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/parachains)
   Compiling wasmtime-profiling v0.27.0
   Compiling wasmtime-jit v0.27.0
error: failed to run custom build command for `westend-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/westend)`

Caused by:
  process didn't exit successfully: `/home/benchbot/bench-bot/git/polkadot/target/release/build/westend-runtime-2e05a08a29673e22/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/westend-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�[32m   Compiling�[0m version_check v0.9.2
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-std v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m parity-util-mem v0.10.0
  �[0m�[0m�[1m�[32m   Compiling�[0m ahash v0.7.4
  �[0m�[0m�[1m�[32m   Compiling�[0m hashbrown v0.11.2
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-debug-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-support-procedural-tools-derive v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m trie-db v0.22.6
  �[0m�[0m�[1m�[32m   Compiling�[0m parity-scale-codec-derive v2.2.0
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-runtime-interface-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-support-procedural-tools v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-api-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-npos-elections-compact v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-staking-reward-curve v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m parity-scale-codec v2.2.0
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-support-procedural v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-maybe-compressed-blob v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m impl-codec v0.5.1
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-wasm-interface v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-storage v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-tracing v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-arithmetic v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m xcm v0.9.8 (/home/benchbot/bench-bot/git/polkadot/xcm)
  �[0m�[0m�[1m�[32m   Compiling�[0m finality-grandpa v0.14.1
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-version-proc-macro v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m substrate-wasm-builder v4.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m primitive-types v0.10.1
  �[0m�[0m�[1m�[32m   Compiling�[0m westend-runtime v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/westend)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-runtime-interface v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m memory-db v0.27.0
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-core v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-io v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-inherents v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-metadata v13.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-trie v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-npos-elections v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-application-crypto v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-runtime v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-version v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-staking v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-authorship v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-consensus-slots v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[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#3cd75117)
  �[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#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-support v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[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#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-session v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-authority-discovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-consensus-babe v0.9.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m beefy-primitives v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#d2c06343)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-finality-grandpa v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-offchain v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-system-rpc-runtime-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-block-builder v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m sp-transaction-pool v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-system v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[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#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-authorship v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-election-provider-support v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-transaction-payment v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-mmr-primitives v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[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-society v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-recovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-executive v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-sudo v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-nicks v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-membership v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-timestamp v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-balances v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-vesting v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-democracy v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-utility v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m frame-system-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-indices v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-proxy v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-elections-phragmen v4.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-scheduler v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-identity v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-multisig v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-collective v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-im-online v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-election-provider-multi-phase v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-transaction-payment-rpc-runtime-api v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-mmr v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[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#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-offences v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-treasury v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-staking v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-authority-discovery v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-babe v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-beefy v0.1.0 (https://github.com/paritytech/grandpa-bridge-gadget?branch=master#d2c06343)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-grandpa v3.1.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m pallet-session-benchmarking v3.0.0 (https://github.com/paritytech/substrate?branch=master#3cd75117)
  �[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#3cd75117)
  �[0m�[0m�[1m�[32m   Compiling�[0m polkadot-runtime-common v0.9.8 (/home/benchbot/bench-bot/git/polkadot/runtime/common)
  �[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method `rebag` is not a member of trait `pallet_staking::WeightInfo`�[0m
  �[0m   �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/westend/src/weights/pallet_staking.rs:230:2�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m|�[0m
  �[0m�[1m�[38;5;12m230�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m    fn rebag() -> Weight {�[0m
  �[0m�[1m�[38;5;12m231�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        // TODO!�[0m
  �[0m�[1m�[38;5;12m232�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        0�[0m
  �[0m�[1m�[38;5;12m233�[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_staking::WeightInfo`�[0m

  �[0m�[1m�[38;5;9merror[E0407]�[0m�[0m�[1m: method `regenerate` is not a member of trait `pallet_staking::WeightInfo`�[0m
  �[0m   �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/westend/src/weights/pallet_staking.rs:234:2�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m|�[0m
  �[0m�[1m�[38;5;12m234�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m/�[0m�[0m �[0m�[0m    fn regenerate(_: u32, _: u32) -> Weight {�[0m
  �[0m�[1m�[38;5;12m235�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        // TODO!�[0m
  �[0m�[1m�[38;5;12m236�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m�[1m�[38;5;9m|�[0m�[0m �[0m�[0m        0�[0m
  �[0m�[1m�[38;5;12m237�[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_staking::WeightInfo`�[0m

  �[0m�[1m�[38;5;9merror[E0437]�[0m�[0m�[1m: type `VoterBagThresholds` is not a member of trait `pallet_staking::Config`�[0m
  �[0m   �[0m�[0m�[1m�[38;5;12m--> �[0m�[0m/home/benchbot/bench-bot/git/polkadot/runtime/westend/src/lib.rs:460:2�[0m
  �[0m    �[0m�[0m�[1m�[38;5;12m|�[0m
  �[0m�[1m�[38;5;12m460�[0m�[0m �[0m�[0m�[1m�[38;5;12m| �[0m�[0m    type VoterBagThresholds = VoterBagThresholds;�[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_staking::Config`�[0m

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

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

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

@kianenigma
Copy link
Contributor

note: The benchmarking numbers are fake.

Co-authored-by: Andronik Ordian <[email protected]>
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: radupopa2010 <[email protected]>
Co-authored-by: CI system <>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: André Silva <[email protected]>
Co-authored-by: thiolliere <[email protected]>
Co-authored-by: André Silva <[email protected]>
Co-authored-by: Keith Yeung <[email protected]>
Co-authored-by: Bernhard Schuster <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: Robert Habermeier <[email protected]>
Co-authored-by: Robert Klotzner <[email protected]>
Co-authored-by: Alexander Theißen <[email protected]>
Co-authored-by: Lldenaurois <[email protected]>
Co-authored-by: Qinxuan Chen <[email protected]>
Co-authored-by: Seun Lanlege <[email protected]>
Co-authored-by: Denis Pisarev <[email protected]>
Co-authored-by: Andreas Doerr <[email protected]>
Co-authored-by: Chevdor <[email protected]>
Co-authored-by: Tomasz Drwięga <[email protected]>
Co-authored-by: Denis Tsai <[email protected]>
Co-authored-by: Pierre Besson <[email protected]>
Co-authored-by: kianenigma <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Xiliang Chen <[email protected]>
Co-authored-by: Hernando Castano <[email protected]>
Co-authored-by: ferrell-code <[email protected]>
Co-authored-by: Shaun W <[email protected]>
@cla-bot-2021
Copy link

cla-bot-2021 bot commented Jul 22, 2021

User @dt665m, please sign the CLA here.

@svyatonik svyatonik removed their request for review July 22, 2021 10:25
@HCastano HCastano removed their request for review July 23, 2021 19:31
edition = "2018"

[dependencies]
generate-bags = { git = "https://github.com/paritytech/substrate", branch = "zeke-voter-bags-module" }
Copy link
Contributor

@emostov emostov Sep 15, 2021

Choose a reason for hiding this comment

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

NOTE: this and all the bags-list stuff needs to get changed to the master branch before merging into master

/// Whilst `UseNominatorsAndUpdateBagsList` or `UseNominatorsMap` is in use, this can still be a
/// very large value. Once the `BagsList` is in full motion, staking might open its door to many
/// more nominators, and this value should instead be what is a "safe" number (e.g. 22500).
pub const VoterSnapshotPerBlock: u32 = u32::MAX;
Copy link
Member

Choose a reason for hiding this comment

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

@kianenigma why not put a safe number to start with?

Sounds easy to forget about this.

Copy link
Contributor

Choose a reason for hiding this comment

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

I @emostov recommended the same, sure it can already be 22500

@kianenigma
Copy link
Contributor

kianenigma commented Sep 16, 2021

@emostov apply this:

diff --git a/frame/executive/src/lib.rs b/frame/executive/src/lib.rs
index 655a38fe1..9a0fce4d6 100644
--- a/frame/executive/src/lib.rs
+++ b/frame/executive/src/lib.rs
@@ -229,7 +229,7 @@ where
                        (frame_system::Pallet::<System>, COnRuntimeUpgrade, AllPallets)
                        as
                        OnRuntimeUpgrade
-               >::pre_upgrade()?;
+               >::pre_upgrade().unwrap();

                let weight = Self::execute_on_runtime_upgrade();

@@ -237,7 +237,7 @@ where
                        (frame_system::Pallet::<System>, COnRuntimeUpgrade, AllPallets)
                        as
                        OnRuntimeUpgrade
-               >::post_upgrade()?;
+               >::post_upgrade().unwrap();

                Ok(weight)
        }

It seems like if you actually return an error in any of the functions, it is silently dropped. I will fix this in paritytech/substrate#9788.

The error that you had was:

Thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "voter list already exists"', /home/kianenigma/remote-builds/932196901925798239/frame/executive/src/lib.rs:232

@ghost
Copy link

ghost commented Sep 17, 2021

Waiting for commit status.

@ghost
Copy link

ghost commented Sep 17, 2021

Merge aborted: Checks failed for 225fdbf

@emostov
Copy link
Contributor

emostov commented Sep 17, 2021

bot merge force

@ghost
Copy link

ghost commented Sep 17, 2021

Trying merge.

@ghost ghost merged commit 6e32f58 into master Sep 17, 2021
@ghost ghost deleted the prgn-companion-for-9081 branch September 17, 2021 03:25
ordian added a commit that referenced this pull request Sep 17, 2021
* master:
  Dispute distribution improvements (#3853)
  Companion for Store voters in unsorted bags to get good stake iteration properties (#3413)
  Add info logging to dispute activation (#3870)
  update Rococo.json (#3871)
  Companion for #9764 (Force Unreserve) (#3840)
ordian added a commit that referenced this pull request Sep 21, 2021
* master:
  weights: pallet-staking & pallet-bags-list (#3872)
  Re-enable metadata compare CI check (#3895)
  Bump `parity-util-mem` to 0.10.2 (#3897)
  Revert "remove connected disconnected state only (#3868)" (#3896)
  Companion for Generate storage info for pallet im_online #9654 (#3744)
  Gather memory usage statistics through `parity-util-mem` (#3893)
  ci: cache seed in fuzzer job (#3885)
  Add benchmarking for parachain runtime configuration pallet (#3862)
  Run fmt (#3887)
  remove connected disconnected state only (#3868)
  Dispute distribution improvements (#3853)
  Companion for Store voters in unsorted bags to get good stake iteration properties (#3413)
  Add info logging to dispute activation (#3870)
  update Rococo.json (#3871)
  Companion for #9764 (Force Unreserve) (#3840)
@chevdor chevdor added the A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. label Oct 21, 2021
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. A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. C1-low PR touches the given topic and has a low impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. E0-runtime_migration PR introduces code that might require downstream chains to run a runtime upgrade.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants