1. May 25, 2022
  2. May 24, 2022
    • Davide Galassi's avatar
      Fix Babe revert when last finalized block is a leaf (#11500) · 35af8fd7
      Davide Galassi authored
      * Fix Babe revert when a leaf is the last finalized block
      
      Without this fix the last finalized block weight data is wrongly removed
      on revert scenario where the last finalized block is a leaf.
      
      * Remove redundant check
      
      * Added test to exercise the fix
      
      * Rename test
      
      * Give variables better names
      35af8fd7
    • achimcc's avatar
      Contracts pallet: removal on idle (#11202) · f744a1a0
      achimcc authored
      
      
      * on_initialize -> on_idle
      
      * use remaining_weight info
      
      * no weight_limit for on_idle
      
      * call on_idle in tests
      
      * attempt to fix tests
      
      * run on_initiaize when queue full
      
      * add on_idle to weight info
      
      * add on_idle weight info to on_idle hook
      
      * add basic test for on_initialize with full queue
      
      * disbale check for all keys gone in full queue, full block test
      
      * queue_deth as usize, add comment
      
      * comment was removed by accident
      
      * Update frame/contracts/src/lib.rs
      
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      
      * cargo +nightly fmt
      
      * update lazy_removal_does_no_run_on_full_queue_and_full_block
      
      * remove changes in weights.rs
      
      * weights on_idle -> on_process_deletion_queue_batch
      
      * use block number for on_idle
      
      * use BlockNumber for on_initialize
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --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
      
      * Update frame/contracts/src/lib.rs
      
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      
      * remove outcommented code
      
      * add check that queue still full for test
      
      * cargo fmt
      
      * cargo +nightly fmt
      
      * Update frame/contracts/src/benchmarking/mod.rs
      
      Co-authored-by: default avatarAlexander Gryaznov <[email protected]>
      
      * fix weights.rs
      
      * add lazy_removal_does_no_run_on_low_remaining_weight test
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAlexander Gryaznov <[email protected]>
      
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarAlexander Gryaznov <[email protected]>
      f744a1a0
    • Sergejs Kostjucenko's avatar
      add rule to the ci job (#11511) · 6198a5fb
      Sergejs Kostjucenko authored
      6198a5fb
    • Kian Paimani's avatar
      Optimize offchain worker memory usage a bit. (#11454) · 494167a0
      Kian Paimani authored
      * add missing events to elections fallback
      
      * Merged
      
      * add some logs and stuff
      
      * undo a bunch of things
      
      * undo lock file
      
      * remove unused err
      
      * fix build
      494167a0
    • Koute's avatar
      Adjust maximum memory pages hard limit for the pooling instantiation strategy (#11482) · 4f393171
      Koute authored
      * Run `sc-executor-wasmtime` unit tests for all instantiation strategies
      
      * Adjust maximum memory pages hard limit for the pooling instantiation strategy
      4f393171
  3. May 23, 2022
  4. May 22, 2022
  5. May 21, 2022
  6. May 20, 2022
  7. May 19, 2022
  8. May 18, 2022
  9. May 17, 2022