1. Oct 06, 2021
  2. Oct 05, 2021
  3. Oct 04, 2021
  4. Oct 03, 2021
  5. Oct 02, 2021
  6. Oct 01, 2021
    • ucover's avatar
      Test each benchmark case in own #[test] (#9860) · f8ce1864
      ucover authored
      
      
      * Generate one #[test] fn per bench case.
      
      * Update benchmark macro syntax in frame pallets.
      
      * Explain new benchmark macro syntax in example pallet.
      
      * support with and without a semicolon
      
      * update pallets to use individual tests
      
      * migrate staking too
      
      * migrate more pallets
      
      * fix up democracy and use individual tests
      
      * Fix comment
      
      * Put println message in panic
      
      * Remove `another_set_dummy` from doc
      
      `another_set_dummy` is not present in the benchmarking.rs (anymore).
      
      * Update doc for benchmarks macro
      
      * Update doc for impl_benchmark_test_suite macro
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      f8ce1864
  7. Sep 30, 2021
  8. Sep 29, 2021
  9. Sep 28, 2021
  10. Sep 27, 2021
  11. Sep 26, 2021
  12. Sep 25, 2021
  13. Sep 24, 2021
  14. Sep 23, 2021
  15. Sep 22, 2021
    • Georges's avatar
      Generate storage info for pallet babe (#9760) · 5922da95
      Georges authored
      
      
      * Adding MaxEncodedLen for:
      * NextConfigDescriptor
      * AllowedSlots
      * BabeEpochConfiguration
      
      In prepation for adding storage information on pallet babe
      
      * Adding stotage_info to pallet babe
      
      Refactored UNDER_CONSTRUCTION_SEGMENT_LENGTH to become a runtime
      parameter MaxSegmentLength
      
      * Reinstate Slice as opposed to Vec
      
      * Refactoring code to make it neater
      
      * Replace `MaxSegmentLength` by
      `UNDER_CONSTRUCTION_SEGMENT_LENGTH`
      Stop exposing the bounds to the runtime
      
      * Removing extra line
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      5922da95
    • Kian Paimani's avatar
      Use the automated call decode weight for `submit_unsigned` benchmark (#9766) · f86d4128
      Kian Paimani authored
      
      
      * Use the automated call decode weight for  benchmark
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * reduce the boundaries
      
      * Fix
      
      * Fox
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * reduce the numbers even less
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Fix a few things
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * update comment
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      f86d4128
    • Georges's avatar
      Adding storage_info to pallet grandpa (#9817) · 0fcc2ef6
      Georges authored
      
      
      Converting some `Vec` to `WeakBoundedVec`
      Adding `MaxAuthorities` type to bound the `WeakBoundedVec`
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      0fcc2ef6
  16. Sep 21, 2021
  17. Sep 20, 2021
    • thiolliere's avatar
      add feature and fix ci (#9800) · 09309485
      thiolliere authored
      09309485
    • Georges's avatar
      Generate storage info for pallet im_online (#9654) · cddafd52
      Georges authored
      * Integrating WrapperOpaque from PR #9738
      
      * Adding storage_info to pallet im-online
      Changing some `Vec` to `WeakBoundedVec`
      Adding the following bounds:
      * `MaxKeys
      * `MaxPeerInHeartbeats`
      * `MaxPeerDataEncodingSize`
      to limit the size of `WeakBoundedVec`
      
      * Fix syntax
      
      * Need to clone keys
      
      * Changes in formatting
      cddafd52