Arkadiy Paronyan
2bd493ff12
Refactored block body database scheme ( #10779 )
...
* Refactored tx storage database scheme
* Bump parity-db
* fmt
* Fix handling invalid index size + test
* Removed superflous result
* Minor changes
* fmt
2022-03-04 11:30:29 +01:00
Niklas Adolfsson
4649e767d8
staking miner: Check the queue one last time before submission ( #4819 )
...
* staking miner: use config for emergency solution
Fixes #4678
* bump jsonrpsee
* run `monitor_cmd_for` until the connection is closed
* new tokio task for submit_and_watch xt
* re-use header subscription
* update jsonrpsee + simplify code
* revert polkadot runtime changes
* feat: add `ensure_no_better_solution` function
* storage access for submissions and indices
* check ensure_no_previous_solution before remote ext
* fix todos
* grumbles: Perbill::from_percent
* hacky fix
* use modified EPM pallet and various fixes
* diener update --substrate --branch na-epm-pub
* Revert "diener update --substrate --branch na-epm-pub"
This reverts commit b3b9a58c9313372c8f21cf247ba0c8528d9953c0.
* update substrate
* tokio spawn on concurrent stuff
* cleanup
* Update utils/staking-miner/src/monitor.rs
* Update utils/staking-miner/src/monitor.rs
* more cleanup
* fix nits
* address grumbles
* only run batch reqs when signed phase
* better help menu for submission strategy CLI
* add tests for submission strategy
2022-03-04 09:34:02 +00:00
Mara Robin B
4be30e0175
ci: use sensible keyserver for gpg key retrieval ( #1067 )
2022-03-04 09:40:56 +01:00
dependabot[bot]
cba48b2f79
Bump clap from 3.1.3 to 3.1.5 ( #5023 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.3 to 3.1.5.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.3...v3.1.5 )
---
updated-dependencies:
- dependency-name: clap
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>
2022-03-04 03:32:40 +00:00
Niklas Adolfsson
8ea9b676a9
companion for #10945 ( #5012 )
...
* companion for #10945
* fix build
* fix bad merge
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-03-03 23:26:05 +00:00
Niklas Adolfsson
e6b6c8aac6
[EPM pallet]: remove number of signed submissions ( #10945 )
...
* [EPM pallet]: remove `number of signed submissions`
Closing #9229
* fix tests
* remove needless assert
* Update frame/election-provider-multi-phase/src/lib.rs
* cargo fmt
Signed-off-by: Niklas <niklasadolfsson1@gmail.com >
* fix grumbles
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* drop `num_signed_submissions` in WeightInfo too
* fix build
Co-authored-by: Parity Bot <admin@parity.io >
2022-03-03 22:47:10 +00:00
Niklas Adolfsson
3d5e9b3c9c
[staking miner]: add CLI tests + fix --version ( #5024 )
...
* staking miner: add CLI tests
* cargo fmt
* fix bad merge
* Update utils/staking-miner/Cargo.toml
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* grumbles: derive PartialEq only for tests
* make test `--version` a integration tests
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2022-03-03 22:43:38 +00:00
Mara Robin B
1fafc952f9
ci: add manual docker release workflow ( #1066 )
2022-03-03 19:26:00 +00:00
Alexander Samusev
9eebcb8870
[ci] Create synth-wave docker image on tag ( #4990 )
...
* [ci] Create synth-wave docker image on tag
* fix zombienet dependency
* fix image naming
* CI: fix merge
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
Co-authored-by: TriplEight <denis@parity.io >
2022-03-03 17:36:41 +01:00
Alexander Samusev
13fb87c8f3
[ci] Optimizing pipeline ( #5001 )
...
* [DO NOT MERGE] Optimizing pipeline
* add stages
* remove lock for tests
* return locked
* empty commit for pipeline rerun
* add comment about DAG
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
2022-03-03 16:26:54 +01:00
zjb0807
5d31bc3541
Fix fast-runtime ( #5025 )
...
* fix rococo EpochDuration
* revert
* revert
2022-03-03 13:35:08 +00:00
cheme
d5ddb1a809
paritydb support for parachains db. ( #4838 )
...
* parity db subsystem without cache and no splitted column
* fmt
* fix path (auto from parity-db fail)
* lru cache for db column with cache
* Revert "lru cache for db column with cache"
This reverts commit ae177bc5e107a075eff6a21f651218ada6599b74.
* Write_lock mutex
* theoric code for bridges
* revert changes
* Revert bridge changes
* fix spec_version
* update parity db
* test purge-db
* Use specific ordered collection with paritydb.
* Revert "Use specific ordered collection with paritydb."
This reverts commit 8b66d0a4ae914cba1af0f44050d45dd6d9327c6b.
* fix chain selection tests.
* remove patch
* fix auto.
* Remove useless exists directory method
* purge chain without parity-db removal
* spellcheck
* renamings and filtering.
* fix assertion
* format
* update parity-db and fmt
* Auto keep using rocksdb when it exists.
* Revert "Auto keep using rocksdb when it exists."
This reverts commit cea49b32ae590bdce31fed5c45f3c028ae0c7564.
* Update kvdb version.
2022-03-03 11:49:38 +00:00
Mara Robin B
1382d1606d
ci: fix missing quotes ( #1065 )
2022-03-03 10:56:45 +00:00
dependabot[bot]
d6a52c637c
Bump parity-db from 0.3.5 to 0.3.8 ( #10970 )
...
Bumps [parity-db](https://github.com/paritytech/parity-db ) from 0.3.5 to 0.3.8.
- [Release notes](https://github.com/paritytech/parity-db/releases )
- [Commits](https://github.com/paritytech/parity-db/commits/v0.3.8 )
---
updated-dependencies:
- dependency-name: parity-db
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>
2022-03-03 10:50:49 +00:00
Falco Hirschenberger
eaa96a27a3
Revise how staking configurations are set ( #5018 )
...
* Revise how staking configurations are set
companion PR to https://github.com/paritytech/substrate/pull/10955
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-03-03 11:39:56 +01:00
dependabot[bot]
e85016c557
Bump libc from 0.2.112 to 0.2.119 ( #10967 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.112 to 0.2.119.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.112...0.2.119 )
---
updated-dependencies:
- dependency-name: libc
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>
2022-03-03 10:45:29 +01:00
Falco Hirschenberger
b199ccf386
Revise how staking configurations are set ( #10955 )
...
* Revise how staking configurations are set
fixes #10938
* Fix and add additional tests
* Format
* Formatting
* Add doc
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update frame/staking/src/tests.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Format
* Fix build
* Update weights.rs
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/staking/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Parity Bot <admin@parity.io >
2022-03-03 09:17:24 +00:00
Sergejs Kostjucenko
0b3b3e4bfd
Add pr-custom-review config ( #10968 )
2022-03-03 10:59:42 +02:00
dependabot[bot]
231a821848
Bump clap from 3.1.3 to 3.1.5 ( #1064 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.3 to 3.1.5.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.3...v3.1.5 )
---
updated-dependencies:
- dependency-name: clap
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>
2022-03-02 15:11:57 -08:00
Kian Paimani
511344e86c
Remove balancing iterations from OCW miners ( #4995 )
...
* remove random balancing from unsigned solution
* tweak miner a bit
* add comments
* lower kusama staking limits
* Revert "lower kusama staking limits"
This reverts commit 8ccccbb65a97b78505ef71a796698bb067cc6ba0.
* Update utils/staking-miner/src/dry_run.rs
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
* last review
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2022-03-02 21:52:42 +00:00
dependabot[bot]
ee084279c8
Bump scale-info from 2.0.0 to 2.0.1 ( #10965 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/commits )
---
updated-dependencies:
- dependency-name: scale-info
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>
2022-03-02 21:13:24 +01:00
dependabot[bot]
22d2778f94
Bump digest from 0.10.2 to 0.10.3 ( #10960 )
...
Bumps [digest](https://github.com/RustCrypto/traits ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/digest-v0.10.2...digest-v0.10.3 )
---
updated-dependencies:
- dependency-name: digest
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>
2022-03-02 16:39:39 +01:00
Bastian Köcher
b78414e951
polkadot-collator: Switch to wasm only ( #1054 )
...
* polkadot-collator: Switch to wasm only
This switches the polkadot-collator to run everything in wasm only mode. While we should not that
yet with the relay chain, because it can happen that we run out of memory (very unlikely). On the
relay chain that would be bad, because we only have at max 2 sessions to bring everything back, for
Parachains that isn't such a problem as they would only stall and we could roll out a release that
fixes it. Besides that, Parachain validation on the relay chain happens in Wasm already all the time
and there is the memory usage even higher then on block import.
* cargo fmt
* remove unused var
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-03-02 11:44:53 +00:00
Sebastian Kunert
36f735e18b
Improve conflicts to properly detect helper flags ( #1063 )
2022-03-02 12:13:33 +01:00
Sebastian Kunert
6cf8177dac
Bump jsonrpsee from 0.8.0 to 0.9.0
2022-03-02 09:57:35 +00:00
dependabot[bot]
fe86a8d791
Bump jsonrpsee-core from 0.8.0 to 0.9.0
...
Bumps jsonrpsee-core from 0.8.0 to 0.9.0.
---
updated-dependencies:
- dependency-name: jsonrpsee-core
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-02 09:57:35 +00:00
Kai
1f91a3068f
Fix panic in pallet-collator-selection benchmarking ( #1061 )
...
* register validators in set_invulnerables benchmarking
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-03-02 09:24:36 +00:00
Andronik
55e2ddd91c
CI: add rococo to the runtime check ( #5013 )
...
* ci: add rococo for runtime changes check
* rococo: bump spec_version to 9180
* Update Rococo to 1-day lease (#4761 )
* changed lease period to 1 day
* bumped version
* bumped version again
* changed 356 to 365 days to mimic one year
Co-authored-by: Santi Balaguer <santibalaguer@Santis-MacBook-Pro.local >
* rococo: bump spec_version to 9170 for consistency
Co-authored-by: Santi Balaguer <santiago.balaguer@gmail.com >
Co-authored-by: Santi Balaguer <santibalaguer@Santis-MacBook-Pro.local >
2022-03-02 09:14:38 +00:00
Mara Robin B
e69d4255f8
ci: Add rococo to release pipeline ( #5015 )
...
* include rococo in wording of release checklist
* ci: add rococo to release drafts & changelog
2022-03-02 09:12:13 +00:00
Bastian Köcher
c58271468a
SimpleSlotWorker: Do not implement SlotWorker for all types implementing SimpleSlotWorker ( #10934 )
...
Because Rust currently doesn't support specialization, it prevents users from implementing
`SlotWorker` for their own types. This pr solves this by removing the generic implementation of
`SlotWorker` for `SimpleSlotWorker` and providing some wrapper type for that.
2022-03-02 09:03:10 +00:00
Zeke Mostov
f3e9c0af04
Allow trailing commas for bounded_vec! ( #10959 )
2022-03-02 09:40:08 +01:00
Dan Shields
62ccc85392
Update Cumulus to common Cargo formmating scheme ( #1050 )
...
* Update throughout with common Cargo formating scheme
2022-03-02 00:07:29 -07:00
Zeke Mostov
5a0b12bb5d
staking: Expose MaxUnlockingChunks in metadata as a const ( #10958 )
2022-03-02 05:49:23 +00:00
dependabot[bot]
44ceb6ddd3
Bump lru from 0.7.2 to 0.7.3 ( #5008 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.2 to 0.7.3.
- [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.7.2...0.7.3 )
---
updated-dependencies:
- dependency-name: lru
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>
2022-03-02 01:16:13 +00:00
Zeke Mostov
c73d76b50d
Add MaxUnlockingChunks to staking configs; Companion to #10670 ( #4823 )
...
* Add MaxUnlockingChunks to staking configs; Companion #10670
* Try fix tracing dep
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-03-02 00:26:55 +00:00
Zeke Mostov
3f5e0baf4a
Only maintain at most 1 UnlockChunk per era ( #10670 )
...
* Only maintain at most 1 `UnlockChunk` per era
* Bound `unlocking`
* Run cargo +nightly-2021-10-29 fmt
* Make benchmarks stuff compile
* Update frame/staking/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Remove DerefMut; Implement neccesary methods directly
* Doc comments for new BoundedVec methods
* Fix benchmarks
* wip bonded_vec macro
* Correct rust doc
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update staking::Config impls
* Add MaxUnlockingChunks to more places
* Use defensive saturating add
* FMT
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2022-03-01 23:31:13 +00:00
Bastian Köcher
fe5a50129a
sp-trie: Switch to thiserror and some other small cleanups ( #10954 )
...
* sp-trie: Switch to thiserror and some other small cleanups
* Add some extra method for converting a compact proof to a memory db
2022-03-01 23:33:47 +01:00
Dan Shields
bd4f30259a
Add wasmtime feature to all parachain clients ( #1058 )
...
* add wasmtime feature to all parachain clients
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-03-01 20:41:21 +00:00
Andrew Jones
6006968199
Update new whitelist pallet to new primitive versions ( #10953 )
2022-03-01 15:41:07 +01:00
Andrew Jones
a3a7fe9041
Release primitive crates ( #10937 )
...
* cargo set-version --bump major -p pallet-contracts-primitives
* cargo set-version --bump major -p sp-core
* cargo set-version --bump major -p sp-runtime-interface
* cargo set-version --bump major -p sp-wasm-interface
* cargo set-version --bump major -p sp-runtime
* cargo set-version --bump major -p sp-storage
* cargo set-version --bump major -p sp-rpc
* cargo set-version --bump major -p sp-io
* cargo set-version --bump major -p sp-trie
* cargo set-version -p sp-state-machine -- 0.12.0
* cargo set-version -p sp-externalities -- 0.12.0
* cargo set-version -p sp-keystore -- 0.12.0
* cargo set-version --bump major -p sp-keyring
* cargo set-version --bump major -p sp-version
* cargo set-version --bump major -p sp-tracing
* cargo set-version --bump major -p sp-application-crypto
* cargo set-version --bump major -p sp-arithmetic
* cargo unleash version bump-major -p sp-runtime-interface-proc-macro
* Add codec max-encoded-len feature to sp-arithmetic
* cargo unleash version bump-major -p sp-core-hashing-proc-macro
2022-03-01 14:35:23 +01:00
Guillaume Thiolliere
e71c7b259d
new pallet: whitelist pallet ( #10159 )
...
* pallet whitelist
* refactor a bit
* fmt
* address audit
* improve tests
* return Ok + refund
* add test for dispatching failing
* add dispatch_whitelisted_call_with_preimage
* fmt
* better name
* Consume all data on decode
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add error docs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove phantom data
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use rust 2021
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update crate features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_whitelist --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/whitelist/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Bump Preimage max size
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_whitelist --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/whitelist/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Parity Bot <admin@parity.io >
2022-03-01 13:31:51 +00:00
Tsvetomir Dimitrov
12ed68270e
Update dispute-coordinator documentation ( #4975 )
...
Include changes made in #4134 and #4854
Fixes #4397
2022-03-01 14:24:19 +01:00
dependabot[bot]
40dca1a460
Bump expander from 0.0.4 to 0.0.5 ( #4985 )
...
* Bump expander from 0.0.4 to 0.0.5
Bumps [expander](https://github.com/drahnr/expander ) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/drahnr/expander/releases )
- [Commits](https://github.com/drahnr/expander/compare/v0.0.4...v0.0.5 )
---
updated-dependencies:
- dependency-name: expander
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* no default features unless we use them
* fixup cargo lock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-03-01 13:21:39 +00:00
Sebastian Kunert
bc532724b0
Introduce rpc client for relay chain full node ( #963 )
...
* Initial network interface preparations
* Implement get_storage_by_key
* Implement `validators` and `session_index_for_child`
* Implement persisted_validation_data and candidate_pending_availability
* Fix method name for persisted_validation_data and add encoded params
* Implement `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_channel_contents`
* Implement `prove_read`
* Introduce separate RPC client, expose JsonRpSee errors
* Simplify closure in call_remote_runtime_function
* Implement import stream, upgrade JsonRpSee
* Implement finality stream
* Remove unused method from interface
* Implement `is_major_syncing`
* Implement `wait_on_block`
* Fix tests
* Unify error handling `ApiError`
* Replace WaitError with RelayChainError
* Wrap BlockChainError in RelayChainError
* Unify error handling in relay chain intefaces
* Fix return type of proof method
* Improve error handling of new methods
* Improve error handling and move logging outside of interface
* Clean up
* Remove unwanted changes, clean up
* Remove unused import
* Add format for StatemachineError and remove nused From trait
* Use 'thiserror' crate to simplify error handling
* Expose error for overseer, further simplify error handling
* Reintroduce network interface
* Implement cli option
* Adjust call_state method to use hashes
* Disable PoV recovery when RPC is used
* Add integration test for network full node
* Use Hash instead of BlockId to ensure compatibility with RPC interface
* Fix cargo check warnings
* Implement retries
* Remove `expect` statements from code
* Update jsonrpsee to 0.8.0 and make collator keys optional
* Make cli arguments conflicting
* Remove unused `block_status` method
* Add clippy fixes
* Cargo fmt
* Validate relay chain rpc url
* Clean up dependencies and add one more integration test
* Clean up
* Clean up dependencies of relay-chain-network
* Use hash instead of blockid for rpc methods
* Fix tests
* Update client/cli/src/lib.rs
Co-authored-by: Koute <koute@users.noreply.github.com >
* Improve error message of cli validation
* Add rpc client constructor
* Do not use debug formatting for errors
* Improve logging for remote runtime methods
* Only retry on transport problems
* Use PHash by value, rename test
* Improve tracing, return error on relay-chain-interface build
* Fix naming, use generics instead of deserializing manually
* Rename RelayChainLocal and RelayChainNetwork
* lock
* Format
* Use impl trait for encodable runtime payload
* Only instantiate full node in tests when we need it
* Upgrade scale-codec to 3.0.0
* Improve expect log
Co-authored-by: Koute <koute@users.noreply.github.com >
2022-03-01 12:37:51 +01:00
Andronik
91ea5bbf57
dispute-distribution: downgrade a warn ( #5003 )
...
* dispute-distribution: downgrade a warn
* change at the logging side instead
2022-03-01 11:01:15 +00:00
dependabot[bot]
5ae3ed3b95
Bump smallvec from 1.7.0 to 1.8.0 ( #10949 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: smallvec
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>
2022-03-01 10:03:31 +00:00
dependabot[bot]
a951972f0d
Bump clap from 3.1.2 to 3.1.3 ( #5009 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.2...v3.1.3 )
---
updated-dependencies:
- dependency-name: clap
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>
2022-03-01 09:55:00 +00:00
Xiankun Cheng
4e2f2ef278
Clean up extra_constant renaming. ( #10935 )
...
Co-authored-by: Xiankun Cheng <xiankuncheng@Xiankuns-MacBook-Pro-2.local >
2022-03-01 09:32:22 +00:00
dependabot[bot]
e3377ddc4e
Bump futures from 0.3.16 to 0.3.19 ( #10930 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.16 to 0.3.19.
- [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.16...0.3.19 )
---
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>
2022-03-01 10:22:10 +01:00
Robert Habermeier
1db0b6d3e6
add disputes pallet to Polkadot ( #4993 )
...
* add disputes pallet to Polkadot
* fix & add bench
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::disputes --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_disputes.rs
Co-authored-by: Parity Bot <admin@parity.io >
2022-02-28 21:35:53 -06:00