1. Oct 22, 2021
  2. Oct 21, 2021
  3. Oct 20, 2021
  4. Oct 18, 2021
  5. Oct 16, 2021
  6. Oct 15, 2021
  7. Oct 12, 2021
  8. Oct 11, 2021
    • Zeke Mostov's avatar
      Add para pallets to polkadot benchmarks (#4045) · ed00ebf2
      Zeke Mostov authored
      
      
      * Add para pallets to polkadot benchmarks
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_configuration.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_initializer.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_paras.rs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      ed00ebf2
  9. Oct 08, 2021
    • ordian's avatar
      validator-discovery: don't remove multiaddr of requested `PeerId`s (#4036) · 47202727
      ordian authored
      
      
      * validator-discovery: remove from peer set before inserting
      
      * bump spec versions
      
      * rework into a companion
      
      * fmt
      
      * fix
      
      * fix
      
      * one more time
      
      * one more try
      
      * one more try
      
      * Revert "one more try"
      
      This reverts commit ab6568d3b828a33dc06f5650037597fc88dd06b1.
      
      * one more try
      
      * one more try
      
      * Revert "one more try"
      
      This reverts commit 8d7369f7b78633bd1b1c5ba3e0f2a0544bdd77a5.
      
      * fix a warning
      
      * fix another warn
      
      * correct log
      
      * fix compilation
      
      * ffs
      
      * less cloning
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      
      * add comments and a small refactoring
      
      * use set_reserved_peers
      
      * cargo update -p sp-io
      
      * rename added to num_peers
      
      * update Substrate
      
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      Co-authored-by: parity-processbot <>
      47202727
    • Bastian Köcher's avatar
      Bump spec_versions (#4041) · da67fd93
      Bastian Köcher authored
      da67fd93
  10. Oct 07, 2021
  11. Oct 06, 2021
    • Bernhard Schuster's avatar
      collect included disputes from on-chain (#3924) · 30bdc8f5
      Bernhard Schuster authored
      
      
      * dummy: impl another runtime API
      
      * query the on chain disputes, and inform self
      
      * make use of the refactor
      
      * minro
      
      * SPLIT ME
      
      * write dispute values
      
      * wip
      
      * impl for all runtimes
      
      * chore: fmt
      
      * [] -> get
      
      * fixup mock runtime
      
      * fixup
      
      * fixup discovery for overseer init
      
      * chore: fmt
      
      * spellcheck
      
      * rename imported_on_chain_disputes -> on_chain_votes
      
      * reduction
      
      * make it mockable
      
      * rename and refactor
      
      * don't query on chain info if it's not needed
      
      * yikes
      
      * fmt
      
      * fix test
      
      * minimal fix for existing tests
      
      * attempt to fetch the session info from the rolling window before falling back
      
      * moved
      
      * comments
      
      * comments
      
      * test for backing votes
      
      * rename
      
      * Update runtime/polkadot/src/lib.rs
      
      * chore: spellcheck + dict
      
      * chore: fmt
      
      * fixup cache size
      
      * add warning
      
      * logging, rationale, less defense
      
      * introduce new unchecked, that still checks in debug builds
      
      * fix
      
      * draft alt approach
      
      * fix unused imports
      
      * include the session
      
      * Update node/core/dispute-coordinator/src/real/mod.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * provide where possible
      
      * expand comment
      
      * fixin
      
      * fixup
      
      * ValidityVote <-> ValidityAttestation <-> CompactStatement has a 1:1 representation
      
      * mark TODO
      
      * Update primitives/src/v1/mod.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * address review comments
      
      * update docs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      30bdc8f5
    • André Silva's avatar
      Companion for substrate#9448 (#3527) · 9bdded5f
      André Silva authored
      
      
      * Companion for substrate#9448
      
      * fix on_disabled
      
      * use temporary beefy branch
      
      * revert beefy updates
      
      * update Substrate
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: parity-processbot <>
      9bdded5f
    • Kian Paimani's avatar
    • Falco Hirschenberger's avatar
      Add call-decoding weight to benchmarks (#3866) · 4b9fc646
      Falco Hirschenberger authored
      * Add add call-decoding weight to benchmarks
      
      fixes #3864
      
      * Change order as suggested by @thiolliere
      
      * More reordering as @KiChjang
      
       suggested
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::claims --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_claims.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::claims --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_claims.rs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      4b9fc646
    • Zeke Mostov's avatar
      Add benchmarking to rococo; Remove weights from runtime_parachains (#3914) · dc38cf89
      Zeke Mostov authored
      
      
      * Add benchmarking to rococo; Remove weights from runtime_parachains
      
      * cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtime/rococo/src/weights/runtime_parachains_paras.rs --header=./file_header.txt
      
      * Impl TestWeightInfo for Paras and Configuration
      
      * fmt
      
      * cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtime/rococo/src/weights/runtime_parachains_configuration.rs --header=./file_header.txt
      
      * Fix CI complaint: error: unused variable: `c`
      
      * polkadot-runtime-common & polkadot-test-runtime compile
      
      * xcm-simulator compile
      
      * change TestWeightInfo to max_block
      
      * cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtime/rococo/src/weights/runtime_parachains_paras.rs --header=./file_header.txt
      
      * ordering
      
      * cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./runtime/rococo/src/weights/runtime_parachains_paras.rs --header=./file_header.txt
      
      * Replace max_block with Weight::MAX
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      dc38cf89
  12. Oct 05, 2021
    • Shawn Tabrizi's avatar
      individual benchmark tests (#4018) · bc732638
      Shawn Tabrizi authored
      bc732638
    • Shawn Tabrizi's avatar
      Allow an Offset to Lease Periods (#3980) · d6d37621
      Shawn Tabrizi authored
      
      
      * add slot offset for slots
      
      * trying things out
      
      * fix test
      
      * improve api to return the first block of a new lease period
      
      * add an integration test with offset
      
      * de-duplicate test
      
      * hide lease period_period_length from public api
      
      * fix benchmarks
      
      * Update runtime/common/src/slots.rs
      
      * support the exact same range of crowdloans
      
      * fix docs
      
      * fix docs again
      
      * introduce offset to runtimes
      
      * fix and check edge case w/ offset and lease period first block
      
      * remove newline
      
      * turn into an option
      
      * fix benchmarks
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      d6d37621
  13. Oct 04, 2021
  14. Oct 03, 2021
  15. Oct 01, 2021
  16. Sep 30, 2021
  17. Sep 29, 2021
  18. Sep 28, 2021
    • Keith Yeung's avatar
      Add benchmarking for parachain runtime initializer pallet (#3913) · 7da1421b
      Keith Yeung authored
      
      
      * Add benchmarking for parachain runtime initializer pallet
      
      * Fix default impl for initializer pallet WeightInfo
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_initializer.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_initializer.rs
      
      * Use real weights and use max_block as default weight
      
      * Add variable for digest vec length for initializer benchmark
      
      * Fix compilation errors
      
      * Add WeightInfo to parachains_initializer config in polkadot runtime
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_initializer.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::initializer --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_initializer.rs
      
      * Appease spellchecker
      
      * Use kusama weights in polkadot runtime for parachain initializer pallet
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      7da1421b
  19. Sep 27, 2021