Skip to content
  1. Oct 03, 2022
  2. Oct 02, 2022
  3. Sep 30, 2022
  4. Sep 29, 2022
    • Robert Klotzner's avatar
      Demote warning (#6080) · 260f70e3
      Robert Klotzner authored
      This can happen under heavy load - no value in warning here.
      
      Scenario this happens:
      
      - New slot
      - We get asked about what fork to build on
      - We start building (create inherent gets called)
      - We learn about a better fork (but Babe does not care as it already has a fork)
      - 6 seconds passed - New slot
      - Babe asks about what for to build on - we answer with the best block we learned about 6 seconds ago (slightly after we got asked the last time)
      - We start building (on that old block)
      - Milliseconds later we learn about a new block (the one from the slot we are actually in now)
      - We kick the old leaf -> create inherent fails
      
      Full discussion: https://github.com/paritytech/substrate/issues/12375
      260f70e3
    • Robert Klotzner's avatar
      Validate chunks from disk in availability-recovery (#6078) · 548b4c6c
      Robert Klotzner authored
      * Don't use corrupted chunks from disk.
      
      Otherwise we would be going to dispute the candidate and get slashed.
      
      * Add tests
      548b4c6c
    • Nikos Kontakis's avatar
      Rename zombienet extension (#6073) · 39e55ffd
      Nikos Kontakis authored
      * Rename extension files and respective entries from '.feature' to '.zndsl'
      
      * Rename zombienet extension for 0001-dispute-valid-block test
      39e55ffd
  5. Sep 27, 2022
  6. Sep 26, 2022
  7. Sep 23, 2022
  8. Sep 22, 2022
  9. 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
  10. Sep 15, 2022
  11. Sep 14, 2022
  12. Sep 13, 2022
    • Michal Kucharczyk's avatar
      Remove CanAuthorWith trait (#5986) · 85f9ad25
      Michal Kucharczyk authored
      
      
      * Remove CanAuthorWith trait
      
      CanAuthotWith trait removed. Also all dependencies, parameters, type
      paramers were removed. This is related to removal of native runtime.
      
      * update lockfile for {"substrate"}
      
      * Ensure we use unique directories after the recent change to `new_temp_dir`
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      85f9ad25
  13. 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
  14. Sep 09, 2022
  15. Sep 08, 2022
    • Chris Sosnin's avatar
      pvf-checker: enable subsystem on all chains (#5977) · ec26fbdb
      Chris Sosnin authored
      * Enable pvf checker on all chains
      
      * Disable pvf checker for non-authorities
      ec26fbdb
    • Ignacio Palacios's avatar
      Update Rococo to mirror Kusama (#5617) · 7f7f96a2
      Ignacio Palacios authored
      
      
      * upgrade to kusama base
      
      * rollback epoch and clean up
      
      * Substitue DOLLARS with UNITS
      
      * money constatns to mirror Kusama
      
      * fixing typo in test
      
      * scheduler+collective+membership+preimage
      
      * treasury+democracy+bounties+child_bounties+society
      
      * tips+claim+identity+elections_phragmen+vesting
      
      * recovery+gilt
      
      * proxy+slot+auction+registar+crowdloan
      
      * babe+epoch_time modificaction
      
      * xcm_config
      
      * xcm_config fix
      
      * constants
      
      * fix conflicts 2
      
      * fmt
      
      * update xcm_config
      
      * revert xcm_config change
      
      * fixing benchmarks
      
      * cargo.lock
      
      * Revert "babe+epoch_time modificaction"
      
      This reverts commit 663cb0292c42c8a084a8c1c36cb966389576989b.
      
      * fix benchamrks 2
      
      * fix benchmarks 3
      
      * typos
      
      * miscelaneous
      
      * fix constants test
      
      * rollback comments
      
      * rollback lease period
      
      * fmt
      
      * add ROC to spellcheck dictionary
      
      * fix cargo.toml + fixes
      
      * remove TODOs
      
      * nit fix
      
      * weights 1.5
      
      * Bumping number of perm/temp slots available
      
      Co-authored-by: default avataral3mart <[email protected]>
      Co-authored-by: default avataralvicsam <[email protected]>
      7f7f96a2
    • Bastian Köcher's avatar
      Service: Use weak dependency features (#5966) · a23aea6f
      Bastian Köcher authored
      * Service: Use weak dependency features
      
      * Set rust version
      a23aea6f
  16. Sep 06, 2022
  17. Sep 05, 2022
  18. 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
  19. Sep 02, 2022
  20. Sep 01, 2022
    • 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
  21. Aug 31, 2022
    • Shawn Tabrizi's avatar
      Companion for Weight v1.5 (#5943) · 28e94d97
      Shawn Tabrizi authored
      * fix to latest substrate pr
      
      * update weights
      
      * cargo build -p polkadot-runtime-parachains
      
      * fix xcm-builder
      
      * fix import
      
      * fix a bunch
      
      * fix a bunch of weight stuff
      
      * kusama compile
      
      * unused
      
      * builds
      
      * maybe fix
      
      * cargo test -p polkadot-runtime-parachains
      
      * xcm simulator example
      
      * fix tests
      
      * xcm sim fuzz
      
      * fix runtime tests
      
      * remove unused
      
      * fix integration tests
      
      * scalar div
      
      * update lockfile for {"substrate"}
      
      Co-authored-by: parity-processbot <>
      28e94d97
  22. Aug 30, 2022
  23. Aug 29, 2022
  24. Aug 25, 2022
  25. Aug 24, 2022