Skip to content
  1. Sep 20, 2022
  2. Sep 19, 2022
    • Tsvetomir Dimitrov's avatar
      Improved dispute votes import in provisioner (#5567) · 6ae9720c
      Tsvetomir Dimitrov authored
      * Add `DisputeState` to `DisputeCoordinatorMessage::RecentDisputes`
      
      The new signature of the message is:
      ```
      RecentDisputes(oneshot::Sender<Vec<(SessionIndex, CandidateHash, DisputeStatus)>>),
      ```
      
      As part of the change also add `DispiteStatus` to
      `polkadot_node_primitives`.
      
      * Move dummy_signature() in primitives/test-helpers
      
      * Enable staging runtime api on Rococo
      
      * Implementation
      
      * Move disputes to separate module
      * Vote prioritisation
      * Duplicates handling
      * Double vote handling
      * Unit tests
      * Logs and metrics
      * Code review feedback
      * Fix ACTIVE/INACTIVE separation and update partition names
      * Add `fn dispute_is_inactive` to node primitives and refactor `fn get_active_with_status()` logic
      * Keep the 'old' logic if the staging api is not enabled
      * Fix some comments in tests
      * Add warning message if there are any inactive_unknown_onchain disputes
      * Add file headers and remove `use super::*;` usage outside tests
      * Adding doc comments
      * Fix test methods names
      
      * Fix staging api usage
      
      * Fix `get_disputes` runtime function implementation
      
      * Fix compilation error
      
      * Fix arithmetic operations in tests
      
      * Use smaller test data
      
      * Rename `RuntimeApiRequest::StagingDisputes` to `RuntimeApiRequest::Disputes`
      
      * Remove `staging-client` feature flag
      
      * fmt
      
      * Remove `vstaging` feature flag
      
      * Some comments regarding the staging api
      
      * Rename dispute selection modules in provisioner
      with_staging_api -> prioritized_selection
      without_staging_api -> random_selection
      
      * Comments for staging api
      
      * Comments
      
      * Additional logging
      
      * Code review feedback
      
      process_selected_disputes -> into_multi_dispute_statement_set
      typo
      In trait VoteType: vote_value -> is_valid
      
      * Code review feedback
      
      * Fix metrics
      
      * get_disputes -> disputes
      
      * Get time only once during partitioning
      
      * Fix partitioning
      
      * Comments
      
      * Reduce the number of hardcoded api versions
      
      * Code review feedback
      
      * Unused import
      
      * Comments
      
      * More precise log messages
      
      * Code review feedback
      
      * Code review feedback
      
      * Code review feedback - remove `trait VoteType`
      
      * Code review feedback
      
      * Trace log for DisputeCoordinatorMessage::QueryCandidateVotes counter in vote_selection
      6ae9720c
    • ordian's avatar
      gossip-support: disconnect when we're no longer in other's reserved set (#6024) · bbb71352
      ordian authored
      * gossip-support: disconnect when we're no longer in the reserved set
      
      * fmt
      bbb71352
    • Oliver Tale-Yazdi's avatar
      Use correct file header for 'benchmark overhead' (#5984) · 4a3ce875
      Oliver Tale-Yazdi authored
      
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: parity-processbot <>
      4a3ce875
  3. Sep 18, 2022
  4. Sep 15, 2022
  5. Sep 14, 2022
  6. Sep 13, 2022
  7. Sep 12, 2022
    • Sergej Sakac's avatar
      Companion for #11981 (#5915) · 8ea6076f
      Sergej Sakac authored
      
      
      * Companion for #11981
      
      * more renaming
      
      * fmt
      
      * fixes
      
      * add generic type
      
      * Companion for #11831
      
      * fix
      
      * revert changes
      
      * Delete rename-outer-enum.diff
      
      * revert
      
      * Update run_benches_for_runtime.sh
      
      * rename type Call & type Event
      
      * passing tests
      
      * fmt
      
      * small fixes
      
      * commit
      
      * fix
      
      * fmt
      
      * commit
      
      * error fixes
      
      * fix
      
      * small fix in test
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * remove RuntimeCall from pallet_grandpa
      
      * last fix
      
      * commit
      
      * rename
      
      * merge fix
      
      * update lockfile for {"substrate"}
      
      * cargo +nightly fmt
      
      * fix
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      8ea6076f
    • Mara Broda's avatar
      update weights (sync with v0.9.29) (#5989) · db0fc603
      Mara Broda authored
      * kusama: update weights
      
      * polkadot: update weights
      
      * westend: update weights
      
      * rococo: update weights
      
      * fixup
      
      * revert block weights
      db0fc603
  8. Sep 09, 2022
  9. Sep 08, 2022
  10. Sep 07, 2022
  11. Sep 06, 2022
  12. Sep 05, 2022
  13. Sep 03, 2022
    • Dmitry Markin's avatar
      Use custom type for ProtocolName (#5963) · b3480bd5
      Dmitry Markin authored
      * Use new ProtocolName in peer_set.rs
      
      * Use new ProtocolName for request-response protocols
      
      * Use new ProtocolName in polkadot-network-bridge
      
      * Import and conversion fixes
      
      * Use ProtocolName re-exported in sc_network
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      b3480bd5
  14. Sep 02, 2022
  15. Sep 01, 2022
    • Shawn Tabrizi's avatar
      Companion for Weight v1.5 Follow Up (#5949) · e28bf2e4
      Shawn Tabrizi authored
      * updates
      
      * remove new
      
      * fix up some stuff
      
      * fix cargo files
      
      * fix
      
      * fix template
      
      * update lockfile for {"substrate"}
      
      * Update block_weights.rs
      
      * remove unused
      
      * remove unused
      
      Co-authored-by: parity-processbot <>
      e28bf2e4
    • Roman Useinov's avatar
      [Feature] Make XCM benchmarks more reusable and remove a redundant bench (#5936) · 75d49dfe
      Roman Useinov authored
      * [Feature] Make XCM benchmarks more reusable and remove a redunant bench
      
      * implement track balances flag
      
      * little comment fix
      
      * Revert "little comment fix"
      
      This reverts commit 6d0d1bb4d74752aa518c4d71718c1b71673bcca8.
      
      * Revert "implement track balances flag"
      
      This reverts commit e7884cbc57d053c5d57a80aab4caa42e78cfdc17.
      
      * fix unused
      75d49dfe
    • Kian Paimani's avatar
      companion `try-state` (#5907) · f2020208
      Kian Paimani authored
      * bunch of changes for now
      
      * companion for sanity-checks
      
      * Fix
      
      * remove bridges
      
      * better logging
      
      * revert spec change
      
      * fmt
      
      * fix
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      f2020208
    • Robert Klotzner's avatar
      Don't store available data on disputes (#5950) · 254582df
      Robert Klotzner authored
      
      
      * Don't store available data on disputes
      
      If there are lots of disputes, this leads to blowing up disk space on
      validators. Rob luckily remembered that we do store the full
      availability in participation.
      
      The argument in the code does not make too much sense with the current
      implementation, as no validator will ever request anything else from us,
      than the one piece we are meant to posess.
      
      * Fix warnings.
      
      * Fix compile warnings
      
      * Remove redundant field.
      
      Co-authored-by: default avatarVsevolod Stakhov <[email protected]>
      254582df