1. Sep 16, 2022
    • Arkadiy Paronyan's avatar
      Fix warp sync (#12281) · 86b122d7
      Arkadiy Paronyan authored
      86b122d7
    • Adrian Catangiu's avatar
      client/beefy: fix voter initialization (#12274) · d9a4d835
      Adrian Catangiu authored
      
      
      Fix corner case where voter gets a single burst of finality
      notifications just when it starts.
      
      The notification stream was consumed by "wait_for_pallet" logic,
      then main loop would subscribe to finality notifications, but by that
      time some notifications might've been lost.
      
      Fix this by subscribing the main loop to notifications before waiting
      for pallet to become available. Share the same stream with the main loop
      so that notifications for blocks before pallet available are ignored,
      while _all_ notifications after pallet available are processed.
      
      Add regression test for this.
      
      Signed-off-by: default avataracatangiu <[email protected]>
      d9a4d835
  2. Sep 15, 2022
  3. Sep 14, 2022
  4. Sep 13, 2022
  5. Sep 12, 2022
    • Sergej Sakac's avatar
      BREAKING: Rename Call & Event (#11981) · 6e8795af
      Sergej Sakac authored
      
      
      * rename Event to RuntimeEvent
      
      * rename Call
      
      * rename in runtimes
      
      * small fix
      
      * rename Event
      
      * small fix & rename RuntimeCall back to Call for now
      
      * small fixes
      
      * more renaming
      
      * a bit more renaming
      
      * fmt
      
      * small fix
      
      * commit
      
      * prep for renaming associated types
      
      * fix
      
      * rename associated Event type
      
      * rename to RuntimeEvent
      
      * commit
      
      * merge conflict fixes & fmt
      
      * additional renaming
      
      * fix.
      
      * fix decl_event
      
      * rename in tests
      
      * remove warnings
      
      * remove accidental rename
      
      * .
      
      * commit
      
      * update .stderr
      
      * fix in test
      
      * update .stderr
      
      * TRYBUILD=overwrite
      
      * docs
      
      * fmt
      
      * small change in docs
      
      * rename PalletEvent to Event
      
      * rename Call to RuntimeCall
      
      * renamed at wrong places :P
      
      * rename Call
      
      * rename
      
      * rename associated type
      
      * fix
      
      * fix & fmt
      
      * commit
      
      * frame-support-test
      
      * passing tests
      
      * update docs
      
      * rustdoc fix
      
      * update .stderr
      
      * wrong code in docs
      
      * merge fix
      
      * fix in error message
      
      * update .stderr
      
      * docs & error message
      
      * .
      
      * merge fix
      
      * merge fix
      
      * fmt
      
      * fmt
      
      * merge fix
      
      * more fixing
      
      * fmt
      
      * remove unused
      
      * fmt
      
      * fix
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      6e8795af
    • yjh's avatar
      extract some grandpa types to Primitives crate (#12208) · 472b5746
      yjh authored
      * extract some grandpa types to primitives
      
      * fmt
      
      * fmt
      472b5746
    • Kian Paimani's avatar
      Expose some of the staking miner types over metadata (#12245) · 967d790d
      Kian Paimani authored
      
      
      * Expose some of the staking miner types over metadata
      
      * Update frame/election-provider-multi-phase/src/lib.rs
      
      Co-authored-by: default avatarEmily Ostbo <[email protected]>
      
      Co-authored-by: default avatarEmily Ostbo <[email protected]>
      967d790d
    • Vladimir Istyufeev's avatar
    • Daniel Shiposha's avatar
      Add `ConstFeeMultiplier` to the transaction payment pallet (#12222) · 7679d061
      Daniel Shiposha authored
      * fix: FeeMultiplierUpdate
      
      * fix: cargo fmt
      
      * fix: rustdoc
      
      * Revert "fix: rustdoc"
      
      This reverts commit 96b6ad80a4cd4d856cf5a830889858c4dd4c385b.
      
      * Revert "fix: cargo fmt"
      
      This reverts commit 13016527bdbc53d9484642d6b52430550c0efc55.
      
      * Revert "fix: FeeMultiplierUpdate"
      
      This reverts commit 2cbddd0b85e0293d0eeda859807ddf70cee29067.
      
      * feat: add ConstFeeMultiplier
      
      * fix: use cConstFeeMultiplier in the template node
      7679d061
    • Kian Paimani's avatar
      Fuzz testing for nomination pools (#12002) · 11372795
      Kian Paimani authored
      
      
      * some additional tests and stuff
      
      * make sanity public
      
      * add some sort of fuzz test for pools
      
      * breaks every now and then
      
      * breaks every now and then
      
      * IT WORKS AND PASSES 100k TESTS
      
      * cleanup
      
      * safe id addition
      
      * fix assert_eq_error_rate
      
      * Update frame/nomination-pools/src/tests.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Update frame/nomination-pools/src/tests.rs
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * add some doc
      
      * Fix
      
      * ".git/.scripts/fmt.sh" 1
      
      Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: command-bot <>
      11372795
    • Bastian Köcher's avatar
      Remove native call (#12201) · b356a558
      Bastian Köcher authored
      * Remove native call
      
      With the recent introduction of staging runtime apis the native call wasn't supported anymore. This
      removes the entire support for this as it is not used anymore.
      
      * FMT
      
      * Fix benchmarks
      
      * FIX ui tests
      b356a558
  6. Sep 10, 2022
    • Bastian Köcher's avatar
      construct_runtime: Fix generation of types behind features (#12229) · 5647e719
      Bastian Köcher authored
      * construct_runtime: Fix generation of types behind features
      
      With the recent addition of supporting features in `construct_runtime!` there was a bug overseen.
      The `AllPalletsWithSystem` etc type declarations would be declared twice when a certain was enabled.
      The problem was that in the macro we didn't feature gate the types that should be declared when
      there is no feature enabled. This pull request now takes care of feature gating this type behind
      `all(#( not(feature) ))`. So, these types will only be enabled if no of the configured features is enabled.
      
      * Fix tests
      
      * FMT
      5647e719
  7. Sep 08, 2022
  8. Sep 07, 2022
  9. Sep 06, 2022