Skip to content
  1. Sep 06, 2021
    • 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
  2. Sep 04, 2021
  3. Sep 03, 2021
  4. Sep 02, 2021
  5. Sep 01, 2021
  6. Aug 31, 2021
  7. Aug 30, 2021
  8. Aug 29, 2021
  9. Aug 27, 2021
  10. Aug 26, 2021
  11. Aug 25, 2021
    • Shawn Tabrizi's avatar
      Expose `storage_prefix` logic, and remove duplicate code (#9621) · 7c3890c6
      Shawn Tabrizi authored
      
      
      * expose storage prefix generation, remove duplicate code
      
      * remove more duplicate code
      
      * clean up import
      
      * fix io test
      
      * remove slicing
      
      * Update frame/support/src/storage/mod.rs
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      7c3890c6
    • Alexander Theißen's avatar
      Remove dependency on sandboxing host functions (#9592) · 531fd70e
      Alexander Theißen authored
      
      
      * Embed wasmi into the runtime
      
      * 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 Benchmarking Bot <[email protected]>
      531fd70e
    • Shaun Wang's avatar
      pallet-proxy: emit events on proxy added. (#9546) · a7e714ae
      Shaun Wang authored
      * pallet-proxy: emit events on proxy added.
      
      * Apply review suggestions.
      a7e714ae
    • Bastian Köcher's avatar
      Fix `state_subscribeRuntimeVersion` for parachains (#9617) · 5a347ada
      Bastian Köcher authored
      The old implementation was listening for storage changes and every time
      a block changed the `CODE` storage field, it checked if the runtime
      version changed. It used the best block to compare against the latest
      known runtime version. It could happen that you processed the storage
      notification of block Y and checked the runtime version of block X (the
      current best block). This is also what happened on parachains.
      Parachains import blocks and set the new best block in a later step.
      This means we imported the block that changed the code, got notified and
      checked the runtime version of the current best block (which would still
      be the parent of the block that changed the runtime). As the parent did
      not changed the runtime, the runtime version also did not changed and we
      never notified the subscribers.
      
      The new implementation now switches to listen for best imported blocks.
      Every time we import a new best block, we check its runtime version
      against the latest known runtime version. As we also send a notification
      when the parachains sets a block as new best block, we will trigger this
      code path correctly. It moves some computation from checking if the key
      was modified to getting the runtime version. As fetching the runtime
      version is a rather common pattern, it should not make any big
      difference performancewise.
      5a347ada
  12. Aug 24, 2021