1. Apr 26, 2023
    • Sasha Gryaznov's avatar
      [contracts] Port host functions to Weight V2 and storage deposit limit (#13565) · 60310de7
      Sasha Gryaznov authored
      
      
      * added [unstable][seal2] call()
      
      * updated test to cover new seal_call proof_limit
      
      * docs updated
      
      * add [seal2][unstable] instantiate() and test
      
      * add [seal2][unstable] weight_to_fee() + docs and test
      
      * add [seal2][unstable] gas_left() + docs and test
      
      * update benchmarks
      
      * add DefaultDepositLimit to pallet Config
      
      * specify deposit limit for nested call
      
      add test for nested call deposit limit
      
      save: separate deposit limit for nested calls
      
      * specify deposit limit for nested instantiate
      
      save: works with test
      
      cleaned up debugging outputs
      
      * update benchmarks
      
      * added missing fixtures
      
      * fix benches
      
      * pass explicit deposit limit to storage bench
      
      * explicit deposit limit for another set_storage bench
      
      * add more deposit limit for storage benches
      
      * moving to simplified benchmarks
      
      * moved to simplified benchmarks
      
      * fix seal_weight_to_fee bench
      
      * fix seal_instantiate benchmark
      
      * doc typo fix
      
      * default dl for benchmarking
      
      more dl for tests
      
      dl for tests to max
      
      deposit_limit fix in instantiate bench
      
      fix instantiate bench
      
      fix instantiate benchmark
      
      fix instantiate bench again
      
      remove dbg
      
      fix seal bench again
      
      fixing it still
      
      seal_instantiate zero deposit
      
      less runs to check if deposit enough
      
      try
      
      try 2
      
      try 3
      
      try 4
      
      * max_runtime_mem to Schedule limits
      
      * add default deposit limit fallback check to test
      
      * weight params renaming
      
      * fmt
      
      * Update frame/contracts/src/benchmarking/mod.rs
      
      Co-authored-by: default avatarPG Herveou <[email protected]>
      
      * prettify inputs in tests
      
      * typestate param refactored
      
      ---------
      
      Co-authored-by: default avatarPG Herveou <[email protected]>
      60310de7
  2. Apr 25, 2023
  3. Apr 24, 2023
  4. Apr 21, 2023
  5. Apr 20, 2023
  6. Apr 19, 2023
    • Muharem Ismailov's avatar
      Collective pallet: max proposal weight (#13771) · f8b77f64
      Muharem Ismailov authored
      * collective: max proposal weight
      
      * fix test
      
      ---------
      
      Co-authored-by: parity-processbot <>
      f8b77f64
    • gupnik's avatar
      Adds example for dev_mode and updates doc (#13944) · e458bf37
      gupnik authored
      
      
      * Adds example for dev_mode and updates doc
      
      * Addresses review comments
      
      * Update frame/examples/dev-mode/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Addresses review comment
      
      ---------
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      e458bf37
    • Davide Galassi's avatar
      VRF refactory (#13889) · bb394e08
      Davide Galassi authored
      
      
      * First iteration to encapsulate schnorrkel and merlin usage
      
      * Remove schnorkel direct dependency from BABE pallet
      
      * Remove schnorrkel direct dependency from BABE client
      
      * Trivial renaming for VrfTranscript data and value
      
      * Better errors
      
      * Expose a function to get a schnorrkel friendly transcript
      
      * Keep the vrf signature stuff together (preventing some clones around)
      
      * Fix tests
      
      * Remove vrf agnostic transcript and define it as an associated type for VrfSigner and VrfVerifier
      
      * Fix babe pallet mock
      
      * Inner types are required to be public for polkadot
      
      * Update client/consensus/babe/src/verification.rs
      
      Co-authored-by: default avatarKoute <[email protected]>
      
      * Nit
      
      * Remove Deref implementations
      
      * make_bytes as a method
      
      * Trigger CI
      
      ---------
      
      Co-authored-by: default avatarKoute <[email protected]>
      bb394e08
    • Mike Ruje's avatar
      Improve has good jugement (#13952) · d9ad6fea
      Mike Ruje authored
      
      
      * improve run_benchmark
      
      * Revert "improve run_benchmark"
      
      This reverts commit 4d9cf7a63e37fedca376d692f1461486d3dca659.
      
      * improve has_good_judgement
      
      * Update bin/node/runtime/src/impls.rs
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      ---------
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: command-bot <>
      d9ad6fea
    • Bastian Köcher's avatar
      43f9fd93
    • William Freudenberger's avatar
      feat: pallet asset-rate (#13608) · 9eb63f21
      William Freudenberger authored
      * poc
      
      * fix: remove AssetIdParameter
      
      * tests: add
      
      * docs: add pallet description
      
      * feat: add benches
      
      * refactor: UnknownAssetId
      
      * fix: normalize mock cfg
      
      * fix: benchmarks
      
      * chore: add weights
      
      * refactor: remove storage getter
      
      * chore: apply suggestions from code review
      
      * docs: add native balance to calls
      
      * chore: apply suggestions from code review
      
      * chore: apply ConversionFromAssetBalance
      
      * tests: update balance mock
      
      * chore: apply suggestions from code review
      
      * ci: set publish to false
      
      * docs: fix missing rustdoc
      
      ---------
      
      Co-authored-by: parity-processbot <>
      9eb63f21
  7. Apr 18, 2023
  8. Apr 17, 2023
  9. Apr 15, 2023