Commit Graph

1019 Commits

Author SHA1 Message Date
Chevdor 220bc559f0 GHA updates and pin (#1768)
* Pin checkout to v3.1.0 and update srtool-actions to v0.6.0

* Pin GHA ruby/setup-ruby to 1.118.0

* Update and pin GHA deps

* Pin all external GHA deps
2022-10-17 14:19:09 +00:00
Aaro Altonen 8bb691c688 Companion for paritytech/substrate#12489 (#1766)
* Companion for paritytech/substrate#12489

* fmt

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
2022-10-17 07:49:55 +00:00
Michal Kucharczyk 25811e427d BlockId removal refactor: Backend::state_at (#1760)
* BlockId removal refactor: Backend::state_at

* corrected

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
2022-10-14 11:01:29 +00:00
Aaro Altonen e695dd905d Companion for paritytech/substrate#12480 (#1758)
* Companion for paritytech/substrate#12480

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
2022-10-13 10:02:39 +00:00
Keith Yeung 882a892b60 Migrate Weights properly to v2 (#1722)
* Migrate Weights properly to v2

* Add missing on_runtime_upgrade implementation

* Fix benchmarks

* Apply suggestions from code review

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo fmt

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-10-11 16:36:03 +00:00
dependabot[bot] 92956a3b89 Bump lru from 0.8.0 to 0.8.1 (#1751)
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases)
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.8.0...0.8.1)

---
updated-dependencies:
- dependency-name: lru
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 23:36:52 +02:00
Aaro Altonen 466725aad1 Companion for paritytech/polkadot#6117 (#1749)
* Companion for paritytech/polkadot#6117

* Fix code

* Fix trait

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
2022-10-10 11:38:54 +00:00
dependabot[bot] 445440400e Bump tokio from 1.21.1 to 1.21.2 (#1698)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.21.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 10:58:33 +02:00
dependabot[bot] 45ed36f3b8 Bump tracing from 0.1.36 to 0.1.37 (#1740)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.36 to 0.1.37.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.36...tracing-0.1.37)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 10:08:40 +02:00
Sebastian Kunert 7612d616e0 Enable collation via RPC relay chain node (#1585)
* Add minimal overseer gen with dummy subsystems

* Fix dependencies

* no-compile: only client transaction pool missing

* Remove unused imports

* Continue to hack towards PoC

* Continue

* Make mini node compile

* Compiling version with blockchainevents trait

* Continue

* Check in lockfile

* Block with tokio

* update patches

* Update polkadot patches

* Use polkadot-primitives v2

* Fix build problems

* First working version

* Adjust cargo.lock

* Add integration test

* Make integration test work

* Allow startinc collator without relay-chain args

* Make OverseerRuntimeClient async

* Create separate integration test

* Remove unused ChainSelection code

* Remove unused parameters on new-mini

* Connect collator node in test to relay chain nodes

* Make BlockChainRPCClient obsolete

* Clean up

* Clean up

* Reimplement blockchain-rpc-events

* Revert "Allow startinc collator without relay-chain args"

This reverts commit f22c70e16521f375fe125df5616d48ceea926b1a.

* Add `strict_record_validation` to AuthorityDiscovery

* Move network to cumulus

* Remove BlockchainRPCEvents

* Remove `BlockIdTo` and `BlockchainEvents`

* Make AuthorityDiscovery async

* Use hash in OverseerRuntime

* Adjust naming of runtime client trait

* Implement more rpc-client methods

* Improve error handling for `ApiError`

* Extract authority-discovery creationand cleanup

* RPC -> Rpc

* Extract bitswap

* Adjust to changes on master

* Implement `hash` method

* Introduce DummyChainSync, remove ProofProvider and BlockBackend

* Remove `HeaderMetadata` from blockchain-rpc-client

* Make ChainSync work

* Implement NetworkHeaderBackend

* Cleanup

* Adjustments after master merge

* Remove ImportQueue from network parameters

* Remove cargo patches

* Eliminate warnings

* Revert to HeaderBackend

* Add zombienet test

* Implement `status()` method

* Add more comments, improve readability

* Remove patches from Cargo.toml

* Remove integration test in favor of zombienet

* Remove unused dependencies, rename minimal node crate

* Adjust to latest master changes

* fmt

* Execute zombienet test on gitlab ci

* Reuse network metrics

* Chainsync metrics

* fmt

* Feed RPC node as boot node to the relay chain minimal node

* fmt

* Add bootnodes to zombienet collators

* Allow specification of relay chain args

* Apply review suggestions

* Remove unnecessary casts

* Enable PoV recovery for rpc full nodes

* Revert unwanted changes

* Make overseerHandle non-optional

* Add availability-store subsystem

* Add AuxStore and ChainApiSubsystem

* Add availability distribution subsystem

* Improve pov-recovery logging and add RPC nodes to tests

* fmt

* Make availability config const

* lock

* Enable debug logs for pov-recovery in zombienet

* Add log filters to test binary

* Allow wss

* Address review comments

* Apply reviewer comments

* Adjust to master changes

* Apply reviewer suggestions

* Bump polkadot

* Add builder method for minimal node

* Bump substrate and polkadot

* Clean up overseer building

* Add bootnode to two in pov_recovery test

* Fix missing quote in pov recovery zombienet test

* Improve zombienet pov test

* More debug logs for pov-recovery

* Remove reserved nodes like on original test

* Revert zombienet test to master
2022-10-10 09:06:26 +02:00
dependabot[bot] fde36ad4f9 Bump syn from 1.0.101 to 1.0.102 (#1746)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.101 to 1.0.102.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.101...1.0.102)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 23:04:47 +02:00
Wilfried Kopp 8db577e342 Fix protoc install 2022-10-06 11:03:33 +02:00
Alexander Theißen 30900e0e3c Companion for Adapt to new contracts runtime api (#1736)
* Adapt to new contracts runtime api

* Compile fix

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
2022-10-06 08:41:13 +00:00
Alexander Samusev a668de357d [ci] check fmt on master (#1734) 2022-10-06 10:13:40 +02:00
Chevdor f836f83c87 Update .github/workflows/docs.yml
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
2022-10-05 16:03:04 +02:00
Wilfried Kopp 62e9c425e2 Add protoc 2022-10-05 16:03:04 +02:00
Alexander Theißen 95b8a21c91 Companion for contracts WeightV2 (#1726)
* Remove `ContractAccessWeight`

* update lockfile for {"polkadot", "substrate"}

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
2022-10-05 13:59:26 +00:00
Alexander Samusev 4635068280 [ci] add fmt check (#1733)
* [ci] add fmt check

* fix name

* remove gha from branches
2022-10-05 12:39:41 +00:00
Chevdor c06dea341a fmt (#1731) 2022-10-05 13:01:58 +02:00
Wilfried Kopp 558af3e063 Fix target of some Matrix notifications 2022-10-05 10:58:48 +02:00
dependabot[bot] c6f1f46e9f Bump thiserror from 1.0.35 to 1.0.37 (#1704)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.35 to 1.0.37.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.35...1.0.37)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 22:49:55 +02:00
dependabot[bot] 5c962b385c Bump smallvec from 1.9.0 to 1.10.0 (#1723)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: smallvec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 09:39:22 +02:00
Kai f5b18604c9 only register MaxCandidates-1 candidates initially (#1714) 2022-10-03 13:00:53 +00:00
Alexander Theißen 7c8a9ff2aa Companion: Remove contracts RPC (#1685)
* Remove contracts RPC

* update lockfile for {"polkadot", "substrate"}

* Remove unused imports

* Properly set a max proof size for cumulus test runtime

* Properly set a max proof size for common runtimes

* Properly set the max proof size for all runtimes

Co-authored-by: parity-processbot <>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2022-10-03 12:49:15 +00:00
Dan Shields 8f67d0debc Update README.md (#1683)
* Update README.md

* Update README.md
2022-10-03 09:41:15 +00:00
dependabot[bot] 926466aae2 Bump proc-macro2 from 1.0.44 to 1.0.46 (#1708)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.44...1.0.46)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-02 23:47:28 +02:00
Muharem Ismailov b268691e39 Westend Collectives chain spec (#1712) 2022-10-02 15:45:06 +00:00
dependabot[bot] 38bc912b13 Bump syn from 1.0.100 to 1.0.101 (#1696)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.100...1.0.101)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 09:37:42 +02:00
Muharem Ismailov 13fe0e38af Polkadot Collectives chain spec (#1603)
* initial chain spec template

* boot nodes, para ids, name

* para id 1001

* update boot nodes

* add collators accounts and session keys

* add p2p into wss boot nodes pathes

* replace aura raw private keys by ss58

* remove collectives spec

* rename collectives genesis spec into collectives

* Revert "rename collectives genesis spec into collectives"

This reverts commit 60df522a5c3666a9984d87476c2d93f28a2910fb.

* insert wasm into spec
2022-09-29 15:49:36 +00:00
Wilfried Kopp 1ec1e894ee Bump spec_version to 9300 2022-09-29 16:38:38 +02:00
Wilfried Kopp ab6114fa60 Bump crate versions 2022-09-29 16:38:38 +02:00
Branislav Kontur 9f09698a07 Removed unused deps with cargo machete (#1680)
* Removed unused deps with `cargo machete`

* Removed unused deps with `cargo machete` for parachain-template
2022-09-29 13:44:08 +02:00
Squirrel facb0891db [benchmarks] pr with weights (#1664) (#1694)
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
2022-09-28 16:39:06 +00:00
Squirrel 2c4103d8be Bump crate versions (#1690)
Co-authored-by: EgorPopelyaev <egor@parity.io>
2022-09-28 16:38:36 +00:00
Squirrel 27d05a38e1 backport: update integration tests (#1695)
* Update integration test v0.9.29 (#1681)

* update it

* remove comment

* update it (#1689)

Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>
2022-09-28 16:37:57 +00:00
dependabot[bot] 032540dbf9 Bump proc-macro2 from 1.0.43 to 1.0.44 (#1697)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.43...1.0.44)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 13:31:35 +02:00
Squirrel e23d581b76 set xcm weights template (#1643) (#1691)
* xcm benchmarks use a custom template
2022-09-28 09:02:16 +00:00
Squirrel 90a3b2126a add current time in milis to the branch name (#1658) (#1693)
Co-authored-by: Egor_P <egor@parity.io>
2022-09-27 15:53:17 +00:00
dependabot[bot] 695ed8a594 Bump serde from 1.0.144 to 1.0.145 (#1677)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 14:41:43 +00:00
Aaro Altonen 7357a35a29 Companion for paritytech/substrate#12264 (#1661)
* Companion for paritytech/substrate#12264

* Fix more tests

* disable sc-network-transactions to check companion

* Fix node config in tests

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
Co-authored-by: alvicsam <alvicsam@gmail.com>
2022-09-26 13:40:25 +00:00
ZhiYong 8de4cde755 Companion for substrate#11983. (#1613)
* Companion for substrate#11983.

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p polkadot-runtime-common

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Revert "cargo update -p polkadot-runtime-common"

This reverts commit bdadad94c54836980a8dbafe3e6ecb33a94f3e17.

* Revert "cargo update -p sp-io"

This reverts commit f6b4ecc53f54982c9c8ec0d9368baad19063bda4.

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-09-26 11:25:59 +00:00
Davide Galassi 397075f2c0 Companion - Independence for Slot-based algorithms from timestamp (#1617)
* Companion for Substrate #12224

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
2022-09-23 18:58:33 +00:00
Branislav Kontur a8df227df2 Small cosmetic nits (#1679) 2022-09-23 14:53:31 +02:00
dependabot[bot] af934299d8 Bump syn from 1.0.99 to 1.0.100 (#1652)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.99...1.0.100)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 14:41:37 +02:00
Squirrel d9d9c1b947 Other PRs have wrong base and drag additional commits into the genegated PR. (#1672)
Not a good idea as it turns out.
2022-09-23 10:14:52 +00:00
Shawn Tabrizi 142cdfa193 Companion for #12283 (Anon -> Pure Proxy) (#1667)
* anon -> pure

* fn pure -> fn create_pure

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
2022-09-22 19:10:13 +00:00
Alexander Theißen 50f3eb2e53 Companion for: Make automatic storage deposits resistant against changing deposit prices (#1561)
* Adapt to new contracts migration API

* Add missing type argument

* update lockfile for {"substrate", "polkadot"}

Co-authored-by: parity-processbot <>
2022-09-21 17:55:36 +00:00
Bastian Köcher 82ff35b815 Ensure that inherents are first and unsigned (#1654)
* Ensure that inherents are first and unsigned

* Update pallets/parachain-system/src/validate_block/tests.rs

Co-authored-by: Sergei Shulepov <sergei@parity.io>

Co-authored-by: Sergei Shulepov <sergei@parity.io>
2022-09-21 14:08:41 +02:00
Roman Useinov 3f11a7a6cf [Fix] Deposit weight hardcoded to pre-bench value (#1651)
* [Fix] Deposit weight hardcoded to pre-bench value

* lint
2022-09-21 10:57:54 +00:00
Sergej Sakac 14186393b2 Rename Origin (#1628)
* Rename Origin

* more renaming

* fixes

* fix errors

* last fix?

* rename

* Update mock.rs

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: parity-processbot <>
2022-09-20 23:17:31 +00:00