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

runtime/disputes: slashing #5535

Merged
merged 95 commits into from
Sep 20, 2022
Merged

Commits on Jun 14, 2022

  1. Configuration menu
    Copy the full SHA
    d6a2eb2 View commit details
    Browse the repository at this point in the history
  2. disputes: reward winners

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    fd2194a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f8daef View commit details
    Browse the repository at this point in the history
  4. fmt

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    ee46d14 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b158f6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    60a82a4 View commit details
    Browse the repository at this point in the history
  7. disputes/slashing: refactoring

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    b303ee4 View commit details
    Browse the repository at this point in the history
  8. impl HandleReports

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    6f1d724 View commit details
    Browse the repository at this point in the history
  9. enable on Wenstend

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    4a55be9 View commit details
    Browse the repository at this point in the history
  10. fmt

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    1941543 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    04ad120 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3784591 View commit details
    Browse the repository at this point in the history
  13. fmt

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    f49b55f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cbcf176 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7b82f0d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f863baf View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b4fa682 View commit details
    Browse the repository at this point in the history
  18. teach spellcheck deduplication

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    2739900 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    62ff14f View commit details
    Browse the repository at this point in the history
  20. resolve some more TODOs

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    4db3ab8 View commit details
    Browse the repository at this point in the history
  21. minor typos

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    02c069d View commit details
    Browse the repository at this point in the history
  22. move slashing into a folder

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    6fc8f5f View commit details
    Browse the repository at this point in the history
  23. remove unnecessary clone

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    7f3ae20 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    13c7c84 View commit details
    Browse the repository at this point in the history
  25. introduce ValidatorSetCount

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    5c98289 View commit details
    Browse the repository at this point in the history
  26. store ValidatorSetCount

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    8263d16 View commit details
    Browse the repository at this point in the history
  27. fmt

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    c073e08 View commit details
    Browse the repository at this point in the history
  28. add the benchmark

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    dc3b6de View commit details
    Browse the repository at this point in the history
  29. fmt

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    75f256d View commit details
    Browse the repository at this point in the history
  30. unflatten slashing

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    65851ad View commit details
    Browse the repository at this point in the history
  31. post-rebase fixes

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    2210bad View commit details
    Browse the repository at this point in the history
  32. remove winners eagerly

    ordian committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    6ab6b48 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    6a0ddfc View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. remove bench test suite

    ordian committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    29376b1 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Get rid of unnecessary clone. (#5685)
      Remove Kusama Nomination Pools Init (#5605)
      Companion for paritytech/substrate#11631 (#5671)
      Allow relay chain council to send XCMs (#5597)
      Companion for substrate#11618 (#5677)
      Companion to combine iteratons and tolerance in sp-npos-elections API #11498 (#5581)
      Companion for #11661 (#5676)
      Bump lru from 0.7.5 to 0.7.7 (#5675)
      Companion PR for Substrate 11537 (#5619)
    ordian committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    f76a697 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4800be1 View commit details
    Browse the repository at this point in the history
  4. zombinet: add a timeout

    ordian committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    4c0f83e View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. add slashing pallet to Rococo

    ordian committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    3086e26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    677a262 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Bump hyper from 0.14.18 to 0.14.19 (#5607)
      Remove futures 0.1 (#5699)
      remove stale migrations (#5694)
      Bump indexmap from 1.8.1 to 1.9.0 (#5689)
    ordian committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    e1ff282 View commit details
    Browse the repository at this point in the history
  4. fmt

    ordian committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    fe7495e View commit details
    Browse the repository at this point in the history
  5. remove TODOs

    ordian committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    461f37f View commit details
    Browse the repository at this point in the history
  6. revert some accidental changes

    ordian committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    bae9912 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Configuration menu
    Copy the full SHA
    15fcf48 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Zombienet re-enable upgrade test (#5691)
      bump versions to 0.9.25 (#5684)
      update weights (#5704)
      Let PR titles spread accross multiple lines in the release notes (#5521)
      Companion: Bump syn (#5701)
    ordian committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    097d6c1 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      zombienet: try to fix parachains upgrade test (#5724)
      Update dependencies (companion for substrate#11722) (#5731)
      Update metric name and doc (#5716)
      Bump reqwest from 0.11.10 to 0.11.11 (#5732)
      add release-engineering to CI files' reviewers (#5733)
      Bump parity-scale-codec from 3.1.2 to 3.1.5 (#5720)
      Add checklist item (#5715)
      Fix 5560: add support for a new `staking-miner info` command (#5577)
      Bump `wasmtime` to 0.38.0 and `zstd` to 0.11.2 (companion for substrate#11720) (#5707)
      pvf: ensure enough stack space (#5712)
      Bump generic-array from 0.12.3 to 0.12.4 in /bridges/fuzz/storage-proof (#5648)
      pvf: unignore `terminates_on_timeout` test (#5722)
      Bump proc-macro2 from 1.0.39 to 1.0.40 (#5719)
      pass $COMPANION_OVERRIDES to check_dependent_project (#5708)
      Bump thread_local from 1.1.0 to 1.1.4 in /bridges/fuzz/storage-proof (#5687)
      Bump quote from 1.0.18 to 1.0.19 (#5700)
      Rococo: add new pallet-beefy-mmr API (companion for substrate#11406) (#5516)
      Update metric before bailing out (#5706)
      Add publish docker staking-miner (#5710)
    ordian committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    65146ca View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Fix regexp to find the repo name (#5751)
      Limit stagnant checks to a certain amount of entries (#5742)
      fix(staking miner): check latest state in solution (#5744)
      staking-miner: CLI flag delay solution x secs (#5734)
      backport minimum weight to fee to master (#5739)
      Bump quote from 1.0.19 to 1.0.20 (#5736)
    ordian committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    650eb19 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Merge branch 'master' into ao-disputes-offences-runtime

    * master: (37 commits)
      Backport crate version bumps to 0.9.27 (#5826)
      Fix GHA (#5825)
      [ci] Add timeout to benchmark jobs (#5822)
      Parachains db column "migration" (#5797)
      Companion for #11831 (#5784)
      [ci] Return production image (#5818)
      add migration for staking v10 (#5817)
      Prepare for rust 1.62.1 (#5811)
      Bump strum to 0.24.1 (#5816)
      Bump substrate (#5814)
      Add missing trigger wildcards for some CI workflows (#5812)
      malus: add `finality_delay` cli flag (#5770)
      [ci] publish parachain-implementers-guide (#5806)
      westend xcm: collectives parachain is trusted teleporter (#5798)
      Cleanup light client leftovers (#5794)
      Fix benchmarking tests (#5791)
      allow re-use and avoid compiling kusama parachain code (#5792)
      Introduce async runtime calling trait for runtime-api subsystem (#5782)
      add `Extrinsic Ordering` check that runs against a local reference node (#5790)
      Co #11456: Expose `benchmark extrinsic` command (#5620)
      ...
    ordian committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    95cd87d View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. Change the log target

    Co-authored-by: Kian Paimani <[email protected]>
    ordian and kianenigma authored Jul 30, 2022
    Configuration menu
    Copy the full SHA
    760bdc7 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Use Saturating Math in XCM (#5845)
      Remove already executed calls to nompools MigrateToV2 migration (#5836)
      companion for #11821: node/service: add BEEFY to block import (#5796)
      Remove Unused Trait Bound (#5838)
      Companion for substrate#11523 (#5702)
      Remove Useless Inherent Data Provider (#5750)
      update weights (#5767)
      bump transcation_version for rococo (#5760) (#5830)
    ordian committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    d3405cc View commit details
    Browse the repository at this point in the history
  2. Merge branch 'ao-disputes-offences-runtime' of github.com:paritytech/…

    …polkadot into ao-disputes-offences-runtime
    
    * 'ao-disputes-offences-runtime' of github.com:paritytech/polkadot:
      Change the log target
    ordian committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    d5b3324 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f50aa7d View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. use Defensive trait

    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    248baa5 View commit details
    Browse the repository at this point in the history
  2. cargo update -p sp-io

    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    b02bcef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1c87c4 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Companion for #11939 (#5846)
      Bump tracing from 0.1.34 to 0.1.35 (#5737)
      Co #11952: Remove `remove_member_wrong_refund` from `phragmen` weights (#5848)
      Add release-v* rule to common-refs (#5847)
      update weights (#5844)
    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    37f9cd7 View commit details
    Browse the repository at this point in the history
  5. cargo update -p sp-io

    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    b531490 View commit details
    Browse the repository at this point in the history
  6. benchmark fixes

    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    454874f View commit details
    Browse the repository at this point in the history
  7. fmt

    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    c0db743 View commit details
    Browse the repository at this point in the history
  8. unused var

    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    9fb1e38 View commit details
    Browse the repository at this point in the history
  9. fix block_author impl

    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    9c84b22 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    19b7c6b View commit details
    Browse the repository at this point in the history
  11. remove outdated comment

    ordian committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    784e65e View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Companion for substrate#11962 (#5852)
      zombienet: BEEFY and MMR test (#5840)
      Run benchmarks with --steps=2 (#5853)
    ordian committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    0c2559c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      [Zombienet] update the image to the version 1.2.51 globally (#5856)
    ordian committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    3a2858d View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. more module docs

    ordian committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    c22a943 View commit details
    Browse the repository at this point in the history
  2. introduce BenchmarkingConfig

    ordian committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    884d9d8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Update RequestResponseConfig interface to match substrate (#5849)
    ordian committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    df81683 View commit details
    Browse the repository at this point in the history
  4. typo fix

    ordian committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    7101379 View commit details
    Browse the repository at this point in the history
  5. teach spellcheck unapplied

    ordian committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    ce879df View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. Merge branch 'master' into ao-disputes-offences-runtime

    * master: (40 commits)
      fix cargo check -p polkadot-node-core-provisioner --all-features (#5942)
      Change validation & collation protocol names to include genesis hash & fork id (#5876)
      Fix some typos in dispute-coordinator (#5941)
      version bumps (0.9.28) (#5933)
      Bump futures-util from 0.3.21 to 0.3.23 (#5922)
      Companion for 12095 (#5924)
      use generated preimage weight (#5904)
      Update Substrate to make companion check happy (#5934)
      Fix wrong logic. (#5931)
      update weights (#5911)
      Clean up MigrateToV10 (#5921)
      Bump async-trait from 0.1.56 to 0.1.57 (#5919)
      Send back empty votes + log in approval-voting in case candidate entry is missing. (#5925)
      chore: bump zombienet version (#5914)
      Bump indexmap from 1.9.0 to 1.9.1 (#5918)
      Bump proc-macro2 from 1.0.40 to 1.0.43 (#5878)
      Bump hyper from 0.14.19 to 0.14.20 (#5901)
      Fix output file for updating weights in run_benches_for_runtime.sh (#5906)
      Companion to Substrate PR 12006 (#5913)
      pin gha versions (#5916)
      ...
    ordian committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    b070f34 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Companion for Weight v1.5 (#5943)
    ordian committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    563995b View commit details
    Browse the repository at this point in the history
  3. use Weight::new()

    ordian committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    7d5171c View commit details
    Browse the repository at this point in the history
  4. fix mocking rewards

    ordian committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    b436249 View commit details
    Browse the repository at this point in the history
  5. use RefTimeWeight

    ordian committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    397046e View commit details
    Browse the repository at this point in the history
  6. ".git/.scripts/bench-bot.sh" runtime westend-dev runtime_parachains::…

    …disputes::slashing
    command-bot committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    18965e3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7269e18 View commit details
    Browse the repository at this point in the history
  8. no more ticket in disguise

    ordian committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    399e0e6 View commit details
    Browse the repository at this point in the history
  9. remove outdated comments

    ordian committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    89fb5ed View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2022

  1. lower against valid to 0.1%

    ordian committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    4f34bd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d99787 View commit details
    Browse the repository at this point in the history
  3. use from_perthousand

    ordian committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    9223d71 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Companion for Weight v1.5 Follow Up (#5949)
      [Feature] Make XCM benchmarks more reusable and remove a redundant bench (#5936)
      companion `try-state` (#5907)
      Don't store available data on disputes (#5950)
    ordian committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    c48aa45 View commit details
    Browse the repository at this point in the history
  5. post-merge fixes

    ordian committed Sep 1, 2022
    Configuration menu
    Copy the full SHA
    655fe98 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Companion of paritytech/substrate#12157 (#5964)
      candidate-validation: info logs on failure (#5957)
    ordian committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    81578ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5472c9 View commit details
    Browse the repository at this point in the history
  3. Revert "bump zombienet version for debug"

    This reverts commit 0d99787.
    ordian committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    6e5f372 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2022

  1. do not reward block authors

    ordian committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    7bf295a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Use custom type for ProtocolName (#5963)
      Reflect benchmarking fn signature change (#5959)
      Bump dlmalloc from 0.2.3 to 0.2.4 (#5927)
    ordian committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    8309493 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2022

  1. fix outdated comment

    ordian committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    cd9aeb8 View commit details
    Browse the repository at this point in the history
  2. merge master once again

    * master:
      [Companion] Metadata delete on dissolve_pool (#5955)
      Companion for: `try-runtime`::`follow-chain` - keep connection (#5968)
      Companion - Read babe config parameters from runtime (#5842)
      Double approval checking timeout. (#5951)
      Doc comments for metrics in provisioner (#5967)
    ordian committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    3fe81e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. merge master once again II

    * master:
      zombienet: add BEEFY justifications import test (#5855)
      disputes rewards (#5862)
      pvf-checker: enable subsystem on all chains (#5977)
      Update Rococo to mirror Kusama (#5617)
      Update Substrate (#5981)
      Service: Use weak dependency features (#5966)
      Companion for paritytech/substrate#12183 (#5971)
      Bump docker/setup-buildx-action from 1.7.0 to 2.0.0 (#5976)
    ordian committed Sep 8, 2022
    Configuration menu
    Copy the full SHA
    e87cc9c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Merge branch 'master' into ao-disputes-offences-runtime

    * master:
      Use correct file header for 'benchmark overhead' (#5984)
      [Substrate Companion] Part 1: add TargetList for validator ranking (#5930)
      Bump blake2 from 0.10.2 to 0.10.4 (#6019)
      node/core/pvf: strip some deps (#6016)
      Bump enumn from 0.1.4 to 0.1.5 (#5938)
      Co #11976: Enable rust features (#5983)
      update memory-lru:0.1.1 (#6012)
      Companion for paritytech/substrate#12219 (#5987)
      Remove CanAuthorWith trait (#5986)
      Update cid to 0.8.6 (#5994)
      Update Westend Trusted Teleporters (#5985)
      Companion for #11981 (#5915)
      update weights (sync with v0.9.29) (#5989)
      remove stale polkadot call filter (#5969)
      Sync versions with current release (v0.9.29) (#5982)
    ordian committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    918b4ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b453b1a View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. add timeout to is up

    pepoviola committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    65da473 View commit details
    Browse the repository at this point in the history