Skip to content
  1. Apr 12, 2023
    • PG Herveou's avatar
      contracts: add sr25519_verify (#13724) · 03c99fe0
      PG Herveou authored
      
      
      * wip
      
      * fix
      
      * wip
      
      * fix lint
      
      * rm fixture fix
      
      * missing comment
      
      * fix lint
      
      * add comment to the wsm file
      
      * fix comment
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * wip
      
      * wip weights
      
      * wip weights
      
      * PR comment: test with return code
      
      * wip
      
      * PR review add mock test
      
      * remove
      
      * lint
      
      * Update frame/contracts/fixtures/sr25519_verify.wat
      
      * fix comments
      
      * Update frame/contracts/src/benchmarking/mod.rs
      
      * Update frame/contracts/src/wasm/runtime.rs
      
      * Update frame/contracts/fixtures/sr25519_verify.wat
      
      * Update frame/contracts/src/benchmarking/mod.rs
      
      * fix lint
      
      * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
      
      * Update frame/contracts/src/wasm/runtime.rs
      
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      
      * PR: review use unstable + remove arbitrary index 4
      
      * Add benchmark for calculating overhead of calling sr25519_verify
      
      * fix message length encoding
      
      * fix weights
      
      * ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_contracts
      
      * Apply suggestions from code review
      
      * Update frame/contracts/src/wasm/runtime.rs
      
      * Update frame/contracts/src/wasm/runtime.rs
      
      * Update frame/contracts/src/benchmarking/mod.rs
      
      * Update frame/contracts/src/benchmarking/mod.rs
      
      * Update frame/contracts/src/schedule.rs
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * Update frame/contracts/src/schedule.rs
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * Update frame/contracts/src/wasm/runtime.rs
      
      * Update frame/contracts/src/wasm/runtime.rs
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      
      * PR review
      
      ---------
      
      Co-authored-by: default avatarSasha Gryaznov <[email protected]>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      03c99fe0
    • Roman Useinov's avatar
      [Deps] Bump scale-info to match cumulus and polkadot (#13873) · 376a288f
      Roman Useinov authored
      * [Deps] Bump scale-info to match cumulus and polkadot
      
      * fix Cargo.lock
      
      * fix identity
      
      * more fixes
      
      * fix
      
      * fixes
      
      * more fixes
      376a288f
    • Adrian Catangiu's avatar
      sc-consensus-beefy: add peer reputation cost/benefit changes (#13881) · 4253ecbc
      Adrian Catangiu authored
      
      
      * add cost/benefit to gossip messages
      * report BEEFY gossip peer reputation changes
      * drop WorkerParams helper struct
      * add reputation costs to tests
      * add peer reputation cost/benefit to on-demand-requests protocol
      * include amount of signatures checked in invalid proof reputation cost
      
      Signed-off-by: default avatarAdrian Catangiu <[email protected]>
      4253ecbc
    • Mira Ressel's avatar
      invoke clippy with `--locked` (#13882) · 84c9e2f6
      Mira Ressel authored
      84c9e2f6
    • gupnik's avatar
      Fixes error message when _ is used without dev mode (#13886) · 6669c8ae
      gupnik authored
      * Initial changes
      
      * Adds UI test for error when _ is used without dev_mode
      
      * Minor
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Adds test to verify hasher
      
      * Fixes error message when _ is used without dev mode
      
      * Updates test
      
      * Addresses review comment
      
      ---------
      
      Co-authored-by: command-bot <>
      6669c8ae
  2. Apr 11, 2023
  3. Apr 10, 2023
  4. Apr 09, 2023
    • yjh's avatar
      refactor(sc-executor): use wasm executor builder instead of old apis (#13740) · d5e460b3
      yjh authored
      * refactor: use builder api for all executors
      
      * improve a lot
      
      * remove unused args
      
      * cleanup deps
      
      * fix inconsistency about heap alloc
      
      * add `heap_pages` back to try-runtime
      
      * fix
      
      * chore: reduce duplicated code for sc-service-test
      
      * cleanup code
      
      * fmt
      
      * improve test executor
      
      * improve
      
      * use #[deprecated]
      
      * set runtime_cache_size: 4
      
      * fix and improve
      
      * refactor builder
      
      * fix
      
      * fix bench
      
      * fix tests
      
      * fix warnings
      
      * fix warnings
      
      * fix
      
      * fix
      
      * update by suggestions
      
      * update name
      d5e460b3
  5. Apr 08, 2023
  6. Apr 07, 2023
  7. Apr 06, 2023
  8. Apr 05, 2023
  9. Apr 04, 2023
  10. Apr 03, 2023