Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[DNM] Wrapper allocator PoC #7206

Draft
wants to merge 39 commits into
base: master
Choose a base branch
from
Draft

Commits on May 6, 2023

  1. Configuration menu
    Copy the full SHA
    d86bd79 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Minor fixes

    s0me0ne-unkn0wn committed May 9, 2023
    Configuration menu
    Copy the full SHA
    998a6ff View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. 4 Configuration menu
    Copy the full SHA
    dbd40a7 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2023

  1. Try spinlock approach

    s0me0ne-unkn0wn committed May 19, 2023
    Configuration menu
    Copy the full SHA
    c8e9d1c View commit details
    Browse the repository at this point in the history
  2. Rename things

    s0me0ne-unkn0wn committed May 19, 2023
    Configuration menu
    Copy the full SHA
    b841129 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3e3e72 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Fix feature name

    s0me0ne-unkn0wn committed May 22, 2023
    Configuration menu
    Copy the full SHA
    089e6d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    818699a View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    052b096 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Configuration menu
    Copy the full SHA
    66e8a8b View commit details
    Browse the repository at this point in the history
  2. ".git/.scripts/commands/fmt/fmt.sh"

    command-bot committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    dbdeb52 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. XcmContext to buy_weight / refund_weight (#7563)

    * added XcmContext to WeightTrader trait
    
    * cargo fmt
    
    * make xcm context optional
    
    * make compile
    
    * fix compile
    
    * `XcmContext` to `buy_weight / refund_weight`
    
    ---------
    
    Co-authored-by: Patricio Napoli <[email protected]>
    Co-authored-by: Giles Cope <[email protected]>
    Co-authored-by: parity-processbot <>
    3 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    1dfd9ca View commit details
    Browse the repository at this point in the history
  2. Take into account size as well in weight limiting. (#7369)

    * Take into account size as well in weight limiting.
    
    * Fix logging.
    
    * More logs.
    
    * Remove randomized selection in provisioner
    
    No longer supported by runtime.
    
    * Fix and simplify weight calculation.
    
    Random filtering of remote disputes got dropped.
    
    * Make existing tests pass.
    
    * Tests for size limiting.
    
    * Fix provisioner.
    
    * Remove rand dependency.
    
    * Better default block length for tests.
    
    * ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras_inherent
    
    * ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent
    
    * ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras_inherent
    
    * Update runtime/parachains/src/paras_inherent/mod.rs
    
    Co-authored-by: Tsvetomir Dimitrov <[email protected]>
    
    * Update runtime/parachains/src/paras_inherent/mod.rs
    
    Co-authored-by: Chris Sosnin <[email protected]>
    
    * Add back missing line.
    
    * Fix test.
    
    * fmt fix.
    
    * Add missing test annotation
    
    ---------
    
    Co-authored-by: eskimor <[email protected]>
    Co-authored-by: command-bot <>
    Co-authored-by: Tsvetomir Dimitrov <[email protected]>
    Co-authored-by: Chris Sosnin <[email protected]>
    4 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    152888f View commit details
    Browse the repository at this point in the history
  3. [companion] Get rid of Peerset compatibility layer (#7355)

    * Update `NetworkPeers` trait interface
    
    * update lockfile for {"substrate"}
    
    ---------
    
    Co-authored-by: parity-processbot <>
    dmitry-markin authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    70aed93 View commit details
    Browse the repository at this point in the history
  4. Companion for Substrate#14373 (#7572)

    * rename BEEFY `crypto` →`ecdsa_crypto`
    
    * - bump up `BeefyApi` to version 3
    - deal with `PeerId` error.
    
    * update BEEFY dependency names for `fake-runtime` and `chain_spec`
    revert Cargo.toml
    
    * cargo fmt
    
    * Use master Cargo.lock
    
    * update lockfile for {"substrate"}
    
    ---------
    
    Co-authored-by: Davide Galassi <[email protected]>
    Co-authored-by: parity-processbot <>
    2 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    88c1a70 View commit details
    Browse the repository at this point in the history
  5. [xcm] GlobalConsensusConvertsFor for remote relay chain (based on p…

    …evious GlobalConsensusParachainConvertsFor) (#7517)
    
    * [xcm] `GlobalConsensusConvertsFor` for remote relay chain (based on previous GlobalConsensusParachainConvertsFor)
    
    * Typo
    
    * PR fix (constants in test)
    
    * Re-export of `GlobalConsensusConvertsFor`
    
    * assert to panic
    
    * Update xcm/src/v3/multiasset.rs
    
    Co-authored-by: joe petrowski <[email protected]>
    
    * Update xcm/xcm-builder/src/location_conversion.rs
    
    Co-authored-by: joe petrowski <[email protected]>
    
    * Update xcm/xcm-builder/src/location_conversion.rs
    
    Co-authored-by: joe petrowski <[email protected]>
    
    * Review fixes
    
    ---------
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: joe petrowski <[email protected]>
    2 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    b137472 View commit details
    Browse the repository at this point in the history
  6. Fix flaky reputation change test (#7550)

    * Fix flaky reputation change test
    
    * Remove fixme
    
    Co-authored-by: Oliver Tale-Yazdi <[email protected]>
    
    ---------
    
    Co-authored-by: Oliver Tale-Yazdi <[email protected]>
    Co-authored-by: parity-processbot <>
    2 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    b810ce4 View commit details
    Browse the repository at this point in the history
  7. Add license to crates (#7578)

    * Add license to crates
    
    This is required to publish to crates.io
    
    * Add more licenses
    Morganamilo authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    314e519 View commit details
    Browse the repository at this point in the history
  8. Remove xcm on_runtime_upgrade pallet hook (#7235)

    * move migration stuffs
    
    * Apply suggestions from code review
    
    Co-authored-by: Bastian Köcher <[email protected]>
    
    * Fix test
    
    * fix
    
    * lint
    
    * fix lint
    
    * rm extra space
    
    * fix lint
    
    * PR review
    
    * fixes
    
    * use saturating_accrue in fn
    
    * fix test
    
    ---------
    
    Co-authored-by: Bastian Köcher <[email protected]>
    2 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    62b489f View commit details
    Browse the repository at this point in the history
  9. Document non-uniqueness of SetTopic IDs (#7579)

    * Document non-uniqueness of SetTopic IDs
    
    * More comments on WithUniqueTopic
    KiChjang authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    14e6605 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    929e2d4 View commit details
    Browse the repository at this point in the history
  11. update weight file template (#7589)

    xlc authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    06ccdf2 View commit details
    Browse the repository at this point in the history
  12. Companion for #14412 (#7547)

    * Companion for 14412
    
    * update lockfile for {"substrate"}
    
    * Trigger CI
    
    ---------
    
    Co-authored-by: parity-processbot <>
    davxy authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    aaea117 View commit details
    Browse the repository at this point in the history
  13. Remove unused code in runtime/polkadot/src/lib.rs (#7540)

    * remove SetStorageVersions runtime upgrade
    
    * remove unused imports
    liamaharon authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    c7bbfba View commit details
    Browse the repository at this point in the history
  14. Companion for substrate#12970 (#6807)

    * Runtime companion changes
    
    * updates runtime configs
    
    * Fixes runtime-test runtime configs
    
    * Uses ElectionBounds and builder from own mod
    
    * updates new bounds mod
    
    * Fixes test-runtime mock
    
    * update lockfile for {"substrate"}
    
    ---------
    
    Co-authored-by: parity-processbot <>
    gpestana authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    08f4333 View commit details
    Browse the repository at this point in the history
  15. Add counter for unapproved candidates (#7491)

    * Add counter for unapproved candidates
    
    * Update metrics
    
    * Split metrics
    
    * Remove depth metric
    
    * Print only the oldest unapproved candidates
    
    * Update logging condition
    
    * Fix logging condition
    
    * Update logging
    
    * Update node/core/approval-voting/src/lib.rs
    
    Co-authored-by: Andrei Sandu <[email protected]>
    
    ---------
    
    Co-authored-by: Andrei Sandu <[email protected]>
    2 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    0f27b6c View commit details
    Browse the repository at this point in the history
  16. Publish RC container images (#7556)

    * WIP
    
    * Add missing checkout
    
    * Add debuggin
    
    * Fix VAR name
    
    * Bug fix
    
    * Rework jobs
    
    * Revert "Rework jobs"
    
    This reverts commit 2bfa79f.
    
    * Add cache
    
    * Add temp default for testing
    
    * Add missing checkout
    
    * Fix patch
    
    * Comment out the GPG check for now
    
    * Rename polkadot_injected_release into a more appropriate polkadot_injected_debian
    
    * Refactoring / renaming
    
    * Introduce a generic image for binary injection
    
    * Flag files to be deleted and changes to be done
    
    * WIP
    
    * Fix multi binaries images
    
    * Add test build scripts
    
    * Remove old file, add polkadot build-injected script
    
    * Fix doc
    
    * Fix tagging
    
    * Add build of the injected container
    
    * Fix for docker
    
    * Remove the need for TTY
    
    * Handling container publishing
    
    * Fix owner and registry
    
    * Fix vars
    
    * Fix repo
    
    * Fix var naming
    
    * Fix case when there is no tag
    
    * Fix case with no tag
    
    * Handle error
    
    * Fix spacings
    
    * Fix tags
    
    * Remove unnecessary grep that may fail
    
    * Add final check
    
    * Clean up and introduce GPG check
    
    * Add doc
    
    * Add doc
    
    * Update doc/docker.md
    
    Co-authored-by: Mira Ressel <[email protected]>
    
    * type
    
    Co-authored-by: Mira Ressel <[email protected]>
    
    * Fix used VAR
    
    * Improve doc
    
    * ci: Update .build-push-image jobs to use the new build-injected.sh
    
    * ci: fix path to build-injected.sh script
    
    * Rename the release artifacts folder to prevent confusion due to a similar folder in the gitlab CI
    
    * ci: check out polkadot repo in .build-push-image
    
    This seems far cleaner than copying the entire scripts/ folder into our
    job artifacts.
    
    * feat(build-injected.sh): make PROJECT_ROOT configurable
    
    This lets us avoid a dependency on git in our CI image.
    
    * ci: build injected images with buildah
    
    * ci: pass full image names to zombienet
    
    * Add missing ignore
    
    ---------
    
    Co-authored-by: Mira Ressel <[email protected]>
    2 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    e813323 View commit details
    Browse the repository at this point in the history
  17. companion for 14754: cli: move no-beefy flag to sc-cli (#7600)

    * cli: move no-beefy flag to substrate sc-cli config
    
    * bump substrate ref
    
    ---------
    
    Signed-off-by: Adrian Catangiu <[email protected]>
    acatangiu authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    12fdcba View commit details
    Browse the repository at this point in the history
  18. pvf: use test-utils feature to export test only (#7538)

    * pvf: use test-utils feature to export test only
    
    * adding comment to test-utils feature
    
    * make prepare-worker and execute-worker as optional dependencies and add comments to test-utils
    
    * remove doc hidden from pvf testing
    
    * add prepare worker and execute worker entrypoints to test-utils feature
    
    * pvf: add sp_tracing as optional dependency of test-utils
    
    * add test-utils for polkadot and malus
    
    * add test-utils feature to prepare and execute workers script
    
    * remove required features from prepare and executing
    
    * Try to trigger CI again to fix broken jobs
    
    ---------
    
    Co-authored-by: Marcin S <[email protected]>
    2 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    0f57383 View commit details
    Browse the repository at this point in the history
  19. RC container image fixes (#7607)

    * Remove ENV for the artifacts folder
    chevdor authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    2dda590 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    730a1c8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    04ae532 View commit details
    Browse the repository at this point in the history
  22. Use same fmt and clippy configs as in Substrate (#7611)

    * Use same rustfmt.toml as Substrate
    
    Signed-off-by: Oliver Tale-Yazdi <[email protected]>
    
    * format format file
    
    Signed-off-by: Oliver Tale-Yazdi <[email protected]>
    
    * Format with new config
    
    Signed-off-by: Oliver Tale-Yazdi <[email protected]>
    
    * Add Substrate Clippy config
    
    Signed-off-by: Oliver Tale-Yazdi <[email protected]>
    
    * Print Clippy version in CI
    
    Otherwise its difficult to reproduce locally.
    
    Signed-off-by: Oliver Tale-Yazdi <[email protected]>
    
    * Make fmt happy
    
    Signed-off-by: Oliver Tale-Yazdi <[email protected]>
    
    * Update node/core/pvf/src/error.rs
    
    Co-authored-by: Tsvetomir Dimitrov <[email protected]>
    
    * Update node/core/pvf/src/error.rs
    
    Co-authored-by: Tsvetomir Dimitrov <[email protected]>
    
    ---------
    
    Signed-off-by: Oliver Tale-Yazdi <[email protected]>
    Co-authored-by: Tsvetomir Dimitrov <[email protected]>
    2 people authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    6f9fe26 View commit details
    Browse the repository at this point in the history
  23. Disable validation/collation protocols for normal full nodes (#7601)

    If authority discovery is not enabled, `Overseer` is not enabled,
    meaning `NetworkBridge` is not started. Validation/collation protocols
    are, however, enabled even if the `NetworkBridge` is not started.
    
    Currently this results in normal Polkadot full nodes advertising these
    protocols, accepting inbound substreams and even establishing outbound
    substreams for the validation protocol. Since the `NetworkBridge` is
    not started and no protocol in Substrate is interested in these
    protocol events, the events are relayed to all protocol handlers but
    are getting discarded because no installed protocol is interested in them.
    
    Co-authored-by: parity-processbot <>
    altonen authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    ffb8d15 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    74b2fec View commit details
    Browse the repository at this point in the history
  25. PVF workers: some fixes for cargo run and cargo install (#7608)

    - Update some places where `cargo run` was used
    - Add note to error messages about `cargo build` before `cargo run`
    - Fix call to `cargo install` in readme
    mrcnski authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    2a2393f View commit details
    Browse the repository at this point in the history
  26. XCM: Rename Instruction instructions to Command instructions (#7593)

    Co-authored-by: parity-processbot <>
    KiChjang authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    ed8f0f8 View commit details
    Browse the repository at this point in the history
  27. Remove superflous parameter overseer_enable_anyways and make parach…

    …ain node type more explicit (#7617)
    
    * Remove superflous parameter `overseer_enable_anyways`
    
    We don't need this flag, as we don't need the overseer enabled when the
    node isn't a collator or validator.
    
    * Rename `IsCollator` to `IsParachainNode`
    
    `IsParachainNode` is more expressive and also encapsulates the state of
    the parachain node being a full node. Some functionality like the
    overseer needs to run always when the node runs alongside a parachain
    node. The parachain node needs the overseer to e.g. recover PoVs. Other
    things like candidate validation or pvf checking are only required for
    when the node is running as validator.
    
    * FMT
    
    * Fix CI
    bkchr authored and s0me0ne-unkn0wn committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    4f47d3c View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    d25f550 View commit details
    Browse the repository at this point in the history