Serban Iorga
8e95a3e1aa
Align dependencies with parity-bridges-common ( #3937 )
...
Working towards migrating the `parity-bridges-common` repo inside
`polkadot-sdk`. This PR upgrades some dependencies in order to align
them with the versions used in `parity-bridges-common`
Related to
https://github.com/paritytech/parity-bridges-common/issues/2538
2024-04-02 13:41:01 +00:00
Bastian Köcher
9bf1a5e238
Check that the validation code matches the parachain code ( #3433 )
...
This introduces a check to ensure that the parachain code matches the
validation code stored in the relay chain state. If not, it will print a
warning. This should be mainly useful for parachain builders to make
sure they have setup everything correctly.
2024-02-22 13:35:00 +00:00
Oliver Tale-Yazdi
e89d0fca35
Lift dependencies to the workspace (Part 2/x) ( #3366 )
...
Lifting some more dependencies to the workspace. Just using the
most-often updated ones for now.
It can be reproduced locally.
```sh
# First you can check if there would be semver incompatible bumps (looks good in this case):
$ zepter transpose dependency lift-to-workspace --ignore-errors syn quote thiserror "regex:^serde.*"
# Then apply the changes:
$ zepter transpose dependency lift-to-workspace --version-resolver=highest syn quote thiserror "regex:^serde.*" --fix
# And format the changes:
$ taplo format --config .config/taplo.toml
```
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2024-02-20 14:28:05 +00:00
Niklas Adolfsson
c7c4fe0184
rpc: bump jsonrpsee v0.22 and fix race in rpc v2 chain_head ( #3230 )
...
Close #2992
Breaking changes:
- rpc server grafana metric `substrate_rpc_requests_started` is removed
(not possible to implement anymore)
- rpc server grafana metric `substrate_rpc_requests_finished` is removed
(not possible to implement anymore)
- rpc server ws ping/pong not ACK:ed within 30 seconds more than three
times then the connection will be closed
Added
- rpc server grafana metric `substrate_rpc_sessions_time` is added to
get the duration for each websocket session
2024-02-14 22:18:22 +00:00
Liam Aharon
3717ec3802
Sync Cargo.toml and crates.io versions ( #3034 )
...
Related https://github.com/paritytech/polkadot-sdk/issues/3032
---
Using https://github.com/liamaharon/cargo-workspace-version-tools/
`cargo run -- sync --path ../polkadot-sdk`
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2024-01-26 18:14:03 +00:00
Niklas Adolfsson
e16ef0861f
rpc: backpressured RPC server (bump jsonrpsee 0.20) ( #1313 )
...
This is a rather big change in jsonrpsee, the major things in this bump
are:
- Server backpressure (the subscription impls are modified to deal with
that)
- Allow custom error types / return types (remove jsonrpsee::core::Error
and jsonrpee::core::CallError)
- Bug fixes (graceful shutdown in particular not used by substrate
anyway)
- Less dependencies for the clients in particular
- Return type requires Clone in method call responses
- Moved to tokio channels
- Async subscription API (not used in this PR)
Major changes in this PR:
- The subscriptions are now bounded and if subscription can't keep up
with the server it is dropped
- CLI: add parameter to configure the jsonrpc server bounded message
buffer (default is 64)
- Add our own subscription helper to deal with the unbounded streams in
substrate
The most important things in this PR to review is the added helpers
functions in `substrate/client/rpc/src/utils.rs` and the rest is pretty
much chore.
Regarding the "bounded buffer limit" it may cause the server to handle
the JSON-RPC calls
slower than before.
The message size limit is bounded by "--rpc-response-size" thus "by
default 10MB * 64 = 640MB"
but the subscription message size is not covered by this limit and could
be capped as well.
Hopefully the last release prior to 1.0, sorry in advance for a big PR
Previous attempt: https://github.com/paritytech/substrate/pull/13992
Resolves https://github.com/paritytech/polkadot-sdk/issues/748 , resolves
https://github.com/paritytech/polkadot-sdk/issues/627
2024-01-23 08:55:13 +00:00
dependabot[bot]
a250652b3b
Bump async-trait from 0.1.73 to 0.1.74 ( #2730 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.73
to 0.1.74.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/async-trait/releases ">async-trait's
releases</a>.</em></p>
<blockquote>
<h2>0.1.74</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dtolnay/async-trait/commit/265979b07a9af573e1edd3b2a9b179533cfa7a6c "><code>265979b</code></a>
Release 0.1.74</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/5e677097d2e67f7a5c5e3023e2f3b99b36a9e132 "><code>5e67709</code></a>
Fix doc test when async fn in trait is natively supported</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/ef144aed28b636eb65759505b2323afc4c753fbe "><code>ef144ae</code></a>
Update ui test suite to nightly-2023-10-15</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/9398a28d6fc977ccf8c286bd85b4b87a883f92ac "><code>9398a28</code></a>
Test docs.rs documentation build in CI</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/8737173dafa371e5e9e491d736513be1baf697f4 "><code>8737173</code></a>
Update ui test suite to nightly-2023-09-24</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/5ba643c001a55f70c4a44690e040cdfab873ba56 "><code>5ba643c</code></a>
Test dyn Trait containing async fn</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/247c8e7b0b3ff69c9518ebf93e69fe74d47f17b6 "><code>247c8e7</code></a>
Add ui test testing the recommendation to use async-trait</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/799db66a84834c403860df4a8c0227d8fb7f9d9d "><code>799db66</code></a>
Update ui test suite to nightly-2023-09-23</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/0e60248011f751d8ccf58219d0a79aacfe9619f1 "><code>0e60248</code></a>
Update actions/checkout@v3 -> v4</li>
<li><a
href="https://github.com/dtolnay/async-trait/commit/7fcbc83993d5ef483d048c271a7f6c4ac8c98388 "><code>7fcbc83</code></a>
Update ui test suite to nightly-2023-08-29</li>
<li>See full diff in <a
href="https://github.com/dtolnay/async-trait/compare/0.1.73...0.1.74 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 09:35:33 +01:00
Squirrel
be8e626806
Set clippy lints in workspace (requires rust 1.74) ( #2390 )
...
We currently use a bit of a hack in `.cargo/config` to make sure that
clippy isn't too annoying by specifying the list of lints.
There is now a stable way to define lints for a workspace. The only down
side is that every crate seems to have to opt into this so there's a
*few* files modified in this PR.
Dependencies:
- [x] PR that upgrades CI to use rust 1.74 is merged.
---------
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-12-13 15:11:07 +01:00
Oliver Tale-Yazdi
48ea86f0e8
Add descriptions to all published crates ( #2029 )
...
Missing descriptions (47):
- [x] `cumulus/client/collator/Cargo.toml`
- [x] `cumulus/client/relay-chain-inprocess-interface/Cargo.toml`
- [x] `cumulus/client/cli/Cargo.toml`
- [x] `cumulus/client/service/Cargo.toml`
- [x] `cumulus/client/relay-chain-rpc-interface/Cargo.toml`
- [x] `cumulus/client/relay-chain-interface/Cargo.toml`
- [x] `cumulus/client/relay-chain-minimal-node/Cargo.toml`
- [x] `cumulus/parachains/pallets/parachain-info/Cargo.toml`
- [x] `cumulus/parachains/pallets/ping/Cargo.toml`
- [x] `cumulus/primitives/utility/Cargo.toml`
- [x] `cumulus/primitives/aura/Cargo.toml`
- [x] `cumulus/primitives/core/Cargo.toml`
- [x] `cumulus/primitives/parachain-inherent/Cargo.toml`
- [x] `cumulus/test/relay-sproof-builder/Cargo.toml`
- [x] `cumulus/pallets/xcmp-queue/Cargo.toml`
- [x] `cumulus/pallets/dmp-queue/Cargo.toml`
- [x] `cumulus/pallets/xcm/Cargo.toml`
- [x] `polkadot/erasure-coding/Cargo.toml`
- [x] `polkadot/statement-table/Cargo.toml`
- [x] `polkadot/primitives/Cargo.toml`
- [x] `polkadot/rpc/Cargo.toml`
- [x] `polkadot/node/service/Cargo.toml`
- [x] `polkadot/node/core/parachains-inherent/Cargo.toml`
- [x] `polkadot/node/core/approval-voting/Cargo.toml`
- [x] `polkadot/node/core/dispute-coordinator/Cargo.toml`
- [x] `polkadot/node/core/av-store/Cargo.toml`
- [x] `polkadot/node/core/chain-api/Cargo.toml`
- [x] `polkadot/node/core/prospective-parachains/Cargo.toml`
- [x] `polkadot/node/core/backing/Cargo.toml`
- [x] `polkadot/node/core/provisioner/Cargo.toml`
- [x] `polkadot/node/core/runtime-api/Cargo.toml`
- [x] `polkadot/node/core/bitfield-signing/Cargo.toml`
- [x] `polkadot/node/network/dispute-distribution/Cargo.toml`
- [x] `polkadot/node/network/bridge/Cargo.toml`
- [x] `polkadot/node/network/collator-protocol/Cargo.toml`
- [x] `polkadot/node/network/approval-distribution/Cargo.toml`
- [x] `polkadot/node/network/availability-distribution/Cargo.toml`
- [x] `polkadot/node/network/bitfield-distribution/Cargo.toml`
- [x] `polkadot/node/network/gossip-support/Cargo.toml`
- [x] `polkadot/node/network/availability-recovery/Cargo.toml`
- [x] `polkadot/node/collation-generation/Cargo.toml`
- [x] `polkadot/node/overseer/Cargo.toml`
- [x] `polkadot/runtime/parachains/Cargo.toml`
- [x] `polkadot/runtime/common/slot_range_helper/Cargo.toml`
- [x] `polkadot/runtime/metrics/Cargo.toml`
- [x] `polkadot/xcm/pallet-xcm-benchmarks/Cargo.toml`
- [x] `polkadot/utils/generate-bags/Cargo.toml`
- [x] `substrate/bin/minimal/runtime/Cargo.toml`
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: alindima <alin@parity.io >
Co-authored-by: ordian <noreply@reusable.software >
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
Co-authored-by: Marcin S <marcin@realemail.net >
Co-authored-by: alindima <alin@parity.io >
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
Co-authored-by: Dmitry Markin <dmitry@markin.tech >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-11-09 17:37:28 +02:00
Lulu
495d24d730
Add ci check for parity-publish and fix current check issues ( #1887 )
...
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-10-31 18:04:31 +00:00
shuoer86
19f38ca3aa
Fix typos ( #1878 )
2023-10-16 10:01:01 +02:00
dependabot[bot]
711132c961
Bump thiserror from 1.0.47 to 1.0.48 ( #1396 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-09-05 09:27:19 +02:00
Przemek Rzad
bfb241d7f3
Add missing licenses and tune the scanning workflow ( #1288 )
...
* Add missing Cumulus licenses
* Typo
* Add missing Substrate licenses
* Single job checking the sub-repos in steps
* Remove dates
* Remove dates
* Add missing (C)
* Update FRAME UI tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update more UI tests
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 >
2023-08-30 15:45:49 +03:00
Oliver Tale-Yazdi
dcda0e50f5
Fix build profiles ( #1229 )
...
* Fix build profiles
Closes https://github.com/paritytech/polkadot-sdk/issues/1155
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Manually set version to 1.0.0
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use workspace repo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* 'Authors and Edition from workspace
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-29 13:39:41 +02:00
alvicsam
f441a5fc93
Diener workspacify
...
Signed-off-by: alvicsam <alvicsam@gmail.com >
2023-08-25 11:05:17 +02:00
dependabot[bot]
0fbe8d4a43
Bump thiserror from 1.0.46 to 1.0.47 ( #3034 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-18 21:56:08 +00:00
dependabot[bot]
840ca86741
Bump thiserror from 1.0.44 to 1.0.46 ( #3024 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.46 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 06:14:20 +00:00
dependabot[bot]
381e6422a3
Bump async-trait from 0.1.72 to 0.1.73 ( #3010 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.72 to 0.1.73.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.72...0.1.73 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 09:57:03 +02:00
dependabot[bot]
56d225c281
Bump async-trait from 0.1.71 to 0.1.72 ( #2920 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.71 to 0.1.72.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.71...0.1.72 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 15:49:26 +00:00
dependabot[bot]
55218f8133
Bump thiserror from 1.0.43 to 1.0.44 ( #2922 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 13:50:44 +00:00
dependabot[bot]
559e301f06
Bump parity-scale-codec from 3.6.3 to 3.6.4 ( #2909 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/v3.6.3...parity-scale-codec-v3.6.4 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 09:57:00 +02:00
asynchronous rob
406f92ad90
Asynchronous-backing compatible Aura, not plugged in ( #2573 )
...
* rough draft of potential parent search
* get things compiling
* fmt
* add new function to all RelayChainInterface implementations
* fix compilation
* set slot and timestamp based on relay parent, prepare for find-parent
* skeleton of new aura logic
* fmt
* introduce a collator module in the Aura crate
* extract different implementations into own modules
* make interface more convenient
* docs and todos for lookahead
* refactor basic collator to use new collator utility
* some more refactoring
* finish most of the control flow for new aura
* introduce backend as parameter
* fix compilation
* fix a couple more TODOs
* add an `announce_block` function to collator service
* announce with barrier
* rename block announcement validator to be more specific
* fmt
* clean up unused import errors
* update references to BlockAnnounceValidator
* rename unstable_reimpl
* add AuraUnincludedSegmentApi
* finish rename
* integrate AuraUnincludedSegmentApi
* add a new block announcement validator for backwards compatibility
* add some naive equivocation defenses
* rustfmt
* clean up remaining TODO [now]s
* fmt
* try to fix inprocess-interface
* actually fix compilation
* ignored -> rejected rephrase
* fix test compilation
* fmt
* clippy
2023-07-11 13:56:09 +02:00
dependabot[bot]
edb79e46e5
Bump thiserror from 1.0.41 to 1.0.43 ( #2845 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-09 07:58:02 +00:00
dependabot[bot]
28bd109a3e
Bump async-trait from 0.1.70 to 0.1.71 ( #2834 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.70 to 0.1.71.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.70...0.1.71 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 10:20:21 +00:00
dependabot[bot]
68c41b1ee7
Bump thiserror from 1.0.40 to 1.0.41 ( #2824 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 11:19:09 +00:00
dependabot[bot]
8dae85f5f8
Bump async-trait from 0.1.68 to 0.1.70 ( #2823 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.68 to 0.1.70.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.68...0.1.70 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 08:28:34 +00:00
Web3 Philosopher
9c183893ae
introduce a method for fetching relay chain header to RelayChainInterface ( #2794 )
...
* introduce a method for fetching header to RelayChainInterface
* cargo fmt
* return Option<Header>
2023-07-04 16:27:31 +02:00
dependabot[bot]
7f2238a218
Bump parity-scale-codec from 3.6.2 to 3.6.3 ( #2816 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/parity-scale-codec-v3.6.2...v3.6.3 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 13:06:41 +00:00
dependabot[bot]
0305686e03
Bump parity-scale-codec from 3.6.1 to 3.6.2 ( #2804 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/parity-scale-codec-v3.6.1...parity-scale-codec-v3.6.2 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 21:28:15 +00:00
dependabot[bot]
5a16ebc3a5
Bump parity-scale-codec from 3.5.0 to 3.6.1 ( #2760 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/parity-scale-codec-v3.5.0...parity-scale-codec-v3.6.1 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 13:50:12 +02:00
dependabot[bot]
45841c0ce9
Bump parity-scale-codec from 3.4.0 to 3.5.0 ( #2523 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/v3.4.0...parity-scale-codec-v3.5.0 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 21:30:01 +00:00
Sebastian Kunert
6c896b1ee6
Cleanup: Remove polkadot-service dependency from minimal node ( #2430 )
...
* Remove polkadot-service dependency from minimal-node
* Clean up error handline
* Remove unwanted changes
* Unused deps
2023-04-04 15:05:38 +00:00
dependabot[bot]
1428864a4d
Bump futures from 0.3.27 to 0.3.28 ( #2420 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.27 to 0.3.28.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.27...0.3.28 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 22:27:24 +02:00
dependabot[bot]
4ed3642dff
Bump thiserror from 1.0.38 to 1.0.40 ( #2396 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.38 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.40 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 13:50:40 +00:00
dependabot[bot]
d9f4469dcf
Bump futures from 0.3.26 to 0.3.27 ( #2359 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.26...0.3.27 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2023-03-27 16:27:33 +02:00
dependabot[bot]
acb6289542
Bump async-trait from 0.1.66 to 0.1.68 ( #2381 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.66 to 0.1.68.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.66...0.1.68 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 22:47:51 +00:00
dependabot[bot]
d1c3ea5a1a
Bump async-trait from 0.1.64 to 0.1.66 ( #2318 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.64 to 0.1.66.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.64...0.1.66 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 11:54:48 +01:00
Sebastian Kunert
15ba3d666f
Cleanup dependencies + dead code ( #2302 )
2023-03-10 17:09:38 +01:00
Bastian Köcher
d17fbba4e4
relay-chain-interface: Do not depend on polkadot-service ( #2287 )
2023-03-07 15:17:05 +01:00
Sam Elamin
f2dc402cec
add warp_sync_params ( #1909 )
...
* wait for relay chain to sync then get parachain header
* Spawn new thread to wait for the target block
* second round of comments from the PR on substrate
* third round of pr comments
* add zombienet tests
* rebase issues
* refactor tests based on pr comments
* rebase issues
* pr comments
* passing zombienet test
* cargo +nightly fmt
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* use cargo lock from master
* pr comments
* cargo fmt
* use finalised block instead of best block
* use import notification stream
* rebase changes
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/relay-chain-interface/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/relay-chain-interface/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* pr comments
* use new file names
* db snaphots moved to google cloud storage
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* pr comments
* Update zombienet/tests/0007-full_node_warp_sync.toml
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* Update zombienet/tests/0007-full_node_warp_sync.toml
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* Scenario 1
Parachain node and in-node relay chain both start with --sync warp. This ensures that the waiting logic works as expected.
Scenario 2
Parachain node starts with warp sync, relay chain points to a node already synced up
scenario 3
Parachain node starts with warp sync, relay chain points to a node that uses warp sync
* Use test-parachain
* use test-parachain chainspecs
* remove relay chain spec as it is no longer required
* add back relaychain spec file
* pr comments
* Upload snapshots to google cloud
* Update zombienet/tests/0007-prepare-warp-sync-db-snapshot.md
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* update documentation
* Fix snapshot URLs
* use master lock file
* add finalized_block_hash
* Patch diener for CI
* Bump Zombienet
* Add 0007 zombienet test
* Bump zombienet
* Revert "Patch diener for CI"
This reverts commit 9ece6c9fc9b17058b61cd7e9dee29d3a9af87841.
* merge fixes
* use master lock file
* Update Substrate & Polkadot
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-02-14 19:15:43 +00:00
dependabot[bot]
c34f9b4f70
Bump parity-scale-codec from 3.3.0 to 3.4.0 ( #2182 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/parity-scale-codec-3.3.0...v3.4.0 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 13:56:09 +01:00
dependabot[bot]
5479d925db
Bump tokio from 1.24.2 to 1.25.0 ( #2153 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 23:23:41 +01:00
dependabot[bot]
eb4dd1e950
Bump parity-scale-codec from 3.2.2 to 3.3.0 ( #2147 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.2.2 to 3.3.0.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/parity-scale-codec-v3.2.2...parity-scale-codec-3.3.0 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 23:23:11 +01:00
dependabot[bot]
de078c8150
Bump futures from 0.3.25 to 0.3.26 ( #2152 )
2023-02-06 17:34:56 +01:00
dependabot[bot]
2098caefca
Bump async-trait from 0.1.60 to 0.1.63 ( #2123 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.60 to 0.1.63.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.60...0.1.63 )
---
updated-dependencies:
- dependency-name: async-trait
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>
2023-01-24 14:30:33 +01:00
dependabot[bot]
da4b71ba73
Bump tokio from 1.24.1 to 1.24.2 ( #2110 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
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>
2023-01-23 11:15:15 +01:00
s0me0ne-unkn0wn
7871193f79
Use primitives reexported from polkadot_primitives crate root ( #2067 )
...
* Use primitives reexported from `polkadot_primitives` crate root
* restart CI
* Fixes after merge
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2023-01-11 12:06:58 +00:00
dependabot[bot]
4721cd5108
Bump tokio from 1.23.0 to 1.24.1 ( #2065 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1 )
---
updated-dependencies:
- dependency-name: tokio
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>
2023-01-09 10:07:10 +01:00
Bastian Köcher
38cdf7c47e
Remove the RelaychainClient trait ( #2068 )
...
* Remove the `RelaychainClient` trait
It was just some historical trait that isn't really required anymore. Besides that this pr re-exports
types that are being used by the relay chain interface to make its usage easier.
* Fix warning
2023-01-09 09:44:06 +01:00
dependabot[bot]
81a881292b
Bump async-trait from 0.1.59 to 0.1.60 ( #2024 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.59 to 0.1.60.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.59...0.1.60 )
---
updated-dependencies:
- dependency-name: async-trait
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-12-23 10:43:29 +01:00