1. Jun 21, 2023
  2. Jun 20, 2023
  3. Jun 18, 2023
  4. Jun 16, 2023
    • juangirini's avatar
      Companion for Soft deprecate GenesisConfig (#7288) · ced77b3d
      juangirini authored
      * update genesis config
      
      * fix wrong RuntimeGenesisConfig name
      
      * update lockfile for {"substrate"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      ced77b3d
    • Mira Ressel's avatar
      docs: update references to NetworkConfiguration::extra_sets (#7386) · e7560710
      Mira Ressel authored
      * docs: update references to NetworkConfiguration::extra_sets
      
      Since paritytech/substrate#14080, this struct field no longer exists,
      now the `add_notification_protocol()` function of
      `sc_network::config::FullNetworkConfiguration` is used.
      
      Also neuter the doc links for now; rustdoc can't resolve them
      (presumably because sc_network::config isn't in scope, though weirdly
      enough even spelling the link out as
      ``[`FullNetworkConfiguration`](struct@sc_network::config::FullNetworkConfiguration)``
      doesn't work?). Normally this wouldn't be an issue and rustdoc would
      just not generate links, but rust 1.70 has a bug that completely crashes
      rustdoc in this case.
      e7560710
    • Aaro Altonen's avatar
      Wait peers to connect before doing anything else (#7375) · 134655ee
      Aaro Altonen authored
      There is a race condition in `NetworkBridgeRx` between registering
      incoming peers and handling overseer signals. While the peer connection
      was sent to `NetworkBridgeRx` first, sometimes the peer would be added to
      `validation/collation_peers` with enough delay that the bridge handled
      an overseer signal that was meant do send notifications to the registered
      peer and as the peer was not present in the bridge, the notification was
      never sent and the test would hang.
      
      When peers are registered to `NetworkBridgeRx` using `connect_peer()`,
      wait until they show up in `shared.validation/collation_peers` before
      doing anything else.
      
      Co-authored-by: parity-processbot <>
      134655ee
  5. Jun 15, 2023
    • Keith Yeung's avatar
      [XCM] Make NetworkId and Junction versioned (#7376) · 9e31bcdc
      Keith Yeung authored
      * [XCM] Make NetworkId and Junction versioned
      
      * Fixes
      
      ---------
      
      Co-authored-by: parity-processbot <>
      9e31bcdc
    • Andrei Eres's avatar
      Delay reputation updates (#7214) · 0a1bc654
      Andrei Eres authored
      
      
      * Add futures-timer
      
      * Make cost_or_benefit public
      
      * Update ReportPeer message format
      
      * Add delay to reputation updates (dirtywork)
      
      * Update ReputationAggregator
      
      * Update tests
      
      * Fix flucky tests
      
      * Move reputation to state
      
      * Use the main loop for handling reputation sendings
      
      * Update
      
      * Move reputation to utils
      
      * Update reputation sending
      
      * Fix arguments order
      
      * Update state
      
      * Remove new from state
      
      * Add constant
      
      * Add failing test for delay
      
      * Change mocking approach
      
      * Fix type errors
      
      * Fix comments
      
      * Add message handling to select
      
      * Fix bitfields-distribution tests
      
      * Add docs to reputation aggregator
      
      * Replace .into_base_rep
      
      * Use one REPUTATION_CHANGE_INTERVAL by default
      
      * Add reputation change to statement-distribution
      
      * Update polkadot-availability-bitfield-distribution
      
      * Update futures selecting in subsystems
      
      * Update reputation adding
      
      * Send malicious changes right away without adding to state
      
      * Add reputation to StatementDistributionSubsystem
      
      * Handle reputation in statement distribution
      
      * Add delay test for polkadot-statement-distribution
      
      * Fix collator-protocol tests before applying reputation delay
      
      * Remove into_base_rep
      
      * Add reputation to State
      
      * Fix failed tests
      
      * Add reputation delay
      
      * Update tests
      
      * Add batched network message for peer reporting
      
      * Update approval-distribution tests
      
      * Update bitfield-distribution tests
      
      * Update statement-distribution tests
      
      * Update collator-protocol tests
      
      * Remove levels in matching
      
      * Address clippy errors
      
      * Fix overseer test
      
      * Add a metric for original count of rep changes
      
      * Update Reputation
      
      * Revert "Add a metric for original count of rep changes"
      
      This reverts commit 6c9b0c1ec34491d16e562bdcba8db6b9dcf484db.
      
      * Update node/subsystem-util/src/reputation.rs
      
      Co-authored-by: default avatarVsevolod Stakhov <[email protected]>
      
      * Remove redundant vec
      
      ---------
      
      Co-authored-by: default avatarVsevolod Stakhov <[email protected]>
      0a1bc654
    • Anton's avatar
      [frame/im-online] remove network state from heartbeats (#7309) · d3d9d4ae
      Anton authored
      * [frame/im-online] remove external_addresses from heartbeat
      
      * new benchmarks
      
      * format code
      
      * Revert "format code"
      
      This reverts commit 586ddaa6f588b4aef92a0169cfd6a9610d1337b8.
      
      * remove MaxPeerDataEncodingSize
      
      * update lockfile for {"substrate"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      d3d9d4ae
    • Mira Ressel's avatar
      ci: add new test-linux-oldkernel-stable job (#7371) · ed227b9b
      Mira Ressel authored
      closes paritytech/ci_cd#811
      ed227b9b
  6. Jun 14, 2023
    • Andrei Sandu's avatar
      adjust buckets (#7368) · edfbbc8c
      Andrei Sandu authored
      
      
      Signed-off-by: default avatarAndrei Sandu <[email protected]>
      edfbbc8c
    • s0me0ne-unkn0wn's avatar
      Hotfix for #7360 (#7365) · 21897336
      s0me0ne-unkn0wn authored
      * CI job hotfix
      * Instruct `cargo` to build all the binaries
      21897336
    • s0me0ne-unkn0wn's avatar
      ce76f6d3
    • eskimor's avatar
      Unify code paths of create_inherent and enter (#7137) · 596a9ccd
      eskimor authored
      
      
      * Remove redundant enter call.
      
      * Remove optionality in dispute signature checking
      
      * Make enter_inner and create_inherent the same.
      
      * Remove redundant metric.
      
      * Unification: enter and create_inherent.
      
      * Remove `enter_inner` function.
      
      * Remove dead code.
      
      * Remove redundant import.
      
      * Remove dead code in disputes.
      
      * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent
      
      * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras_inherent
      
      * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras_inherent
      
      * Merge fix.
      
      * Fix tests.
      
      * Remove obsolete comment.
      
      * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent
      
      * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras_inherent
      
      * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras_inherent
      
      * Review remarks, fixes.
      
      * Guide updates.
      
      * Fmt.
      
      * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent
      
      ---------
      
      Co-authored-by: default avatareskimor <[email protected]>
      Co-authored-by: command-bot <>
      596a9ccd
  7. Jun 13, 2023
  8. Jun 12, 2023
  9. Jun 11, 2023
  10. Jun 08, 2023
  11. Jun 06, 2023
  12. Jun 05, 2023
    • Oliver Tale-Yazdi's avatar
      Fix feature (#7333) · 884225d3
      Oliver Tale-Yazdi authored
      
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: parity-processbot <>
      884225d3
    • ordian's avatar
      dispute-coordinator: past session dispute slashing (#6811) · 01a19b45
      ordian authored
      
      
      * runtime/vstaging: unapplied_slashes runtime API
      
      * runtime/vstaging: key_ownership_proof runtime API
      
      * runtime/ParachainHost: submit_report_dispute_lost
      
      * fix key_ownership_proof API
      
      * runtime: submit_report_dispute_lost runtime API
      
      * nits
      
      * Update node/subsystem-types/src/messages.rs
      
      Co-authored-by: default avatarMarcin S. <[email protected]>
      
      * revert unrelated fmt changes
      
      * dispute-coordinator: past session dispute slashing
      
      * encapsule runtime api call for submitting report
      
      * prettify: extract into a function
      
      * do not exit on runtime api error
      
      * fix tests
      
      * try initial zombienet test
      
      * try something
      
      * fix a typo
      
      * try cumulus-based collator
      
      * fix clippy
      
      * build polkadot-debug images with fast-runtime enabled
      
      * wip
      
      * runtime/inclusion: fix availability_threshold
      
      * fix wip
      
      * fix wip II
      
      * revert native provider
      
      * propagate tx submission error
      
      * DEBUG: sync=trace
      
      * print key ownership proof len
      
      * panic repro
      
      * log validator index in panic message
      
      * post merge fixes
      
      * replace debug assertion with a log
      
      * fix compilation
      
      * Let's log the dispatch info in validate block.
      
      * fix double encoding
      
      * Revert "Let's log the dispatch info in validate block."
      
      This reverts commit a70fbc51b464d7f4355dbada5e16cd83cf71eab4.
      
      * Revert "Let's log the dispatch info in validate block."
      
      This reverts commit a70fbc51b464d7f4355dbada5e16cd83cf71eab4.
      
      * fix compilation
      
      * update to latest zombienet and fix test
      
      * lower finality lag to 11
      
      * bump zombienet again
      
      * add a workaround, but still does not work
      
      * Update .gitlab-ci.yml
      
      bump zombienet.
      
      * add a comment and search logs on all nodes
      
      ---------
      
      Co-authored-by: default avatarMarcin S. <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarJavier Viola <[email protected]>
      01a19b45
    • Keith Yeung's avatar
      Implement AliasOrigin processing in XCVM (#7245) · f2fe05a7
      Keith Yeung authored
      
      
      * Implement AliasOrigin processing in XCVM
      
      * add builder types and first test
      
      * switch to more general builder types
      
      * clone target for RemovePrefixAccountId32
      
      * change builder types
      
      * change AliasForeignAccountId32 and add test for AliasCase
      
      * add Aliasers type to xcm configs
      
      * add benchmark
      
      * benchmark fix
      
      * add benchmark function for runtimes
      
      * fix alias_origin result types
      
      * fix benchmark test
      
      * add runtime-benchmarks feature in pallet-xcm-benchmarks
      
      * fmt
      
      * remove AliasCase, add test and fmt
      
      * address feedback
      
      * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic
      
      * ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic
      
      * ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic
      
      * address feedback
      
      * lock
      
      * ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic
      
      * ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic
      
      * ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic
      
      * change doc
      
      * fmt
      
      ---------
      
      Co-authored-by: default avatarJust van Stam <[email protected]>
      Co-authored-by: default avatarJust van Stam <[email protected]>
      Co-authored-by: command-bot <>
      f2fe05a7
    • Gavin Wood's avatar
      XCM: Remove & replace XCM `Convert` trait (#7329) · c8f9b1b7
      Gavin Wood authored
      
      
      * Introduce an extensible location-to-hash-account
      
      * Convert becomes RevFallRefConvert
      
      * Use ConvertLocation trait
      
      * Remove Convert usage
      
      * Builds
      
      * Fix warnings
      
      * Remove unused types
      
      * Bump lock
      
      * No need for aliasing
      
      * Remove unused
      
      * Deprecate legacy conversion
      
      * Fixes
      
      * Fixes
      
      * Update Cargo.toml
      
      Co-authored-by: default avatarMuharem Ismailov <[email protected]>
      
      * Update xcm/xcm-builder/src/location_conversion.rs
      
      Co-authored-by: default avatarLiam Aharon <[email protected]>
      
      * Update xcm/xcm-builder/src/location_conversion.rs
      
      Co-authored-by: default avatarLiam Aharon <[email protected]>
      
      * Update xcm/xcm-builder/src/location_conversion.rs
      
      Co-authored-by: default avatarLiam Aharon <[email protected]>
      
      * Update xcm/xcm-builder/src/location_conversion.rs
      
      Co-authored-by: default avatarLiam Aharon <[email protected]>
      
      * Update xcm/xcm-builder/src/location_conversion.rs
      
      Co-authored-by: default avatarLiam Aharon <[email protected]>
      
      * Update xcm/xcm-builder/src/location_conversion.rs
      
      Co-authored-by: default avatarLiam Aharon <[email protected]>
      
      ---------
      
      Co-authored-by: default avatarMuharem Ismailov <[email protected]>
      Co-authored-by: default avatarLiam Aharon <[email protected]>
      c8f9b1b7
    • Muharem Ismailov's avatar
      descend first (#7327) · 429b1e4d
      Muharem Ismailov authored
      429b1e4d
  13. Jun 02, 2023
  14. Jun 01, 2023
  15. May 31, 2023