Skip to content
  1. Sep 12, 2021
    • Kian Paimani's avatar
      Recursive election provider as fallback (#9648) · 056fd9b8
      Kian Paimani authored
      
      
      * Recursive election provider as fallback
      
      * minor fix
      
      * Fix integrity tests
      
      * Update frame/election-provider-multi-phase/src/lib.rs
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Fix everything
      
      * fmt again
      
      * Fix test
      
      * Fix state machine warning
      
      * Fix build
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      056fd9b8
    • Bastian Köcher's avatar
      Use tokio runtime handle instead of `TaskExecutor` abstraction (#9737) · c09d52ea
      Bastian Köcher authored
      * Use tokio runtime handle instead of TaskExecutor abstraction
      
      Before this pr we had the `TaskExecutor` abstraction which theoretically
      allowed that any futures executor could have been used. However, this
      was never tested and is currently not really required. Anyone running a
      node currently only used tokio and nothing else (because this was hard
      coded in CLI). So, this pr removes the `TaskExecutor` abstraction and
      relies directly on the tokio runtime handle.
      
      Besides this changes, this pr also makes sure that the http and ws rpc
      server use the same tokio runtime. This fixes a panic that occurred when
      you drop the rpc servers inside an async function (tokio doesn't like
      that a tokio runtime is dropped in the async context of another tokio
      runtime).
      
      As we don't use any custom runtime in the http rpc server anymore, this
      pr also removes the `rpc-http-threads` cli argument. If external parties
      complain that there aren't enough threads for the rpc server, we could
      bring support for increasing the thread count of the tokio runtime.
      
      * FMT
      
      * Fix try runtime
      
      * Fix integration tests and some other optimizations
      
      * Remove warnings
      c09d52ea
  2. Sep 10, 2021
  3. Sep 09, 2021
  4. Sep 08, 2021
  5. Sep 07, 2021
  6. Sep 06, 2021
    • Shawn Tabrizi's avatar
      Allow Skipping Benchmark Errors (#9699) · 5d78dbf2
      Shawn Tabrizi authored
      * introduce benchmark skip
      
      * fmt
      
      * Update lib.rs
      
      * fix up
      5d78dbf2
    • Alexander Theißen's avatar
      contracts: Remove state rent (#9669) · 522e77e2
      Alexander Theißen authored
      
      
      * Remove storage rent
      
      * Add storage migration
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/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_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/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_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Add migration for deletetion queue
      
      * Fix compilation
      
      * Increase gas supplied to out_of_gas to be sure that it won't deplete too early
      
      * cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      522e77e2
    • Alexander Theißen's avatar
      Add initial contract macro benchmarks (#9600) · 13f3e25e
      Alexander Theißen authored
      
      
      * Add erc20 benchmarks
      
      * Fix typos
      
      Co-authored-by: default avatarMichael Müller <[email protected]>
      
      * Fix compilation issue on case sensitive fs
      
      Co-authored-by: default avatarMichael Müller <[email protected]>
      13f3e25e
    • cheme's avatar
      reset cache when storage possibly change (fix init of tests). (#9665) · 61941f28
      cheme authored
      * reset cache when storage possibly change (fix init of tests).
      
      * remove backend_storage_mut
      
      * fix warn
      
      * remove remaining backend_storage_mut
      61941f28
    • Alexander Theißen's avatar
      Don't allow failure for cargo fmt (#9702) · d99c0cea
      Alexander Theißen authored
      * Don't allow failure for cargo fmt
      
      * cargo fmt
      d99c0cea
    • Arkadiy Paronyan's avatar
      Fixed block response limit check (#9692) · cd19c7b7
      Arkadiy Paronyan authored
      * Fixed block response limit check
      
      * Fixed start block detection and added a test
      
      * Missing test
      cd19c7b7
  7. Sep 04, 2021
  8. Sep 03, 2021
  9. Sep 02, 2021
  10. Sep 01, 2021