Skip to content
Snippets Groups Projects
  1. Nov 23, 2022
  2. Nov 22, 2022
  3. Nov 21, 2022
    • Roman Useinov's avatar
      [Fix] Get target count from TargetList instead of storage (#12748) · 4cb24da8
      Roman Useinov authored
      Co-authored-by: parity-processbot <>
      4cb24da8
    • Adrian Catangiu's avatar
      client/beefy: persist voter state (#12712) · 3e7a2778
      Adrian Catangiu authored
      
      * client/beefy: prepare worker for persisting state
      
      * client/beefy: persist voter state
      
      * client/beefy: initialize persistent state
      
      * client/beefy: try to vote from the very beginning
      
      Now that voter is initialized from persistent state, it makes
      sense that it can attempt voting right away. This also helps
      the genesis case when we consider block `One` as mandatory.
      
      * client/beefy: add tests for voter state db
      * client/beefy: persist voter state as soon as initialized
      * client/beefy: make sure min-block-delta is at least 1
      * client/beefy: persist state after voting
      
      Persist state after handling self vote to avoid double voting in case
      of voter restarts.
      
      * client/beefy: persist state after handling mandatory block vote
      
      For mandatory blocks we want to make sure we're not losing votes
      in case of crashes or restarts, since voter will not make further
      progress without finalizing them.
      
      * frame/beefy: use GENESIS_AUTHORITY_SET_ID on pallet genesis
      
      * client/beefy: initialize voter at either genesis or last finalized
      To guarantee unbroken chain of mandatory blocks justifications, voter
      will always resume from either last BEEFY-justified block or
      `pallet-beefy` genesis, whichever is more recent.
      
      Initialization walks back the chain from latest GRANDPA finalized
      block looking for one of the above. Along the way, it also records
      and enqueues for processing any BEEFY mandatory blocks that have
      been already GRANDPA finalized but not BEEFY finalized.
      
      * client/beefy: decouple voter init from aux db state load
      * client/beefy: fix voter init tests
      * remove debug prints
      * gadget future must be type ()
      * fix init from last justification
      
      Signed-off-by: default avatarAdrian Catangiu <adrian@parity.io>
      3e7a2778
    • João Paulo Silva de Souza's avatar
      Check all crates (#12709) · eae3299b
      João Paulo Silva de Souza authored
      * check all crates individually
      
      It's relevant to check workspace crates individually because otherwise their compilation problems
      due to feature misconfigurations won't be caught, as exemplified by
      https://github.com/paritytech/substrate/issues/12705
      
      * adapt to lack of multiple macos runners
      
      https://github.com/paritytech/substrate/pull/12709#discussion_r1022868752
      
      * fix cancel-pipeline-cargo-check-each-crate-macos
      
      * fix cargo-check-each-crate-macos again
      
      * time command execution
      
      * fix YAML anchors
      
      * add explanation for rounding division
      
      * ensure the minimum of one crate per group
      
      * collect artifacts for pipeline stopper
      
      * revert hardcoded crates_per_group
      
      * re-add crates_per_group=1
      eae3299b
  4. Nov 18, 2022
    • Fredrik Simonsson's avatar
      Update template to remove clippy warnings (#12670) · 69c64416
      Fredrik Simonsson authored
      * Update template to remove clippy warnings
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
      
      * Update templates from child project
      
      This should remove clippy warnings on generated files
      
      * Update after review
      
      * Update frame-weight-template.hbs
      
      Commit suggestion
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
      
      * Rerun linter on linked project
      
      Updates from child project
      
      * ".git/.scripts/bench-bot.sh" pallet dev pallet_lottery
      
      Co-authored-by: command-bot <>
      69c64416
    • Pierre Krieger's avatar
      Fix the light client protocol protobuf schema (#12732) · b52e64d6
      Pierre Krieger authored
      * Fix the light client protocol protobuf schema
      
      * Add another test
      
      * Remove unused protobuf struct
      
      * Ok you have to use the nightly rustfmt apparently
      b52e64d6
    • Koute's avatar
      Remove the `wasmtime` feature flag (#12684) · 4214bc52
      Koute authored
      * Remove the `wasmtime` feature flag
      
      * rustfmt
      4214bc52
  5. Nov 17, 2022
  6. Nov 16, 2022
  7. Nov 15, 2022
  8. Nov 14, 2022
  9. Nov 13, 2022
  10. Nov 11, 2022
  11. Nov 10, 2022
  12. Nov 09, 2022