dependabot[bot]
e4a8d60015
Bump wat from 1.0.37 to 1.0.40 ( #9771 )
...
Bumps [wat](https://github.com/bytecodealliance/wasm-tools ) from 1.0.37 to 1.0.40.
- [Release notes](https://github.com/bytecodealliance/wasm-tools/releases )
- [Commits](https://github.com/bytecodealliance/wasm-tools/compare/wat-1.0.37...wat-1.0.40 )
---
updated-dependencies:
- dependency-name: wat
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>
2021-09-14 10:36:11 +00:00
dependabot[bot]
b9e1f09b30
Bump tracing from 0.1.26 to 0.1.27 ( #3841 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27 )
---
updated-dependencies:
- dependency-name: tracing
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>
2021-09-14 12:23:05 +02:00
Squirrel
f2d487d999
substrate depends on openssl at the moment ( #9556 )
...
in some circumstances...
2021-09-14 11:13:36 +01:00
e.g. magical unicorn
b48592ac8b
add new raw chainspecs for parachains ( #611 )
2021-09-14 11:06:13 +02:00
Bastian Köcher
ccae03fb9d
Remove rococo-v1 branch from README ( #608 )
2021-09-14 10:50:23 +02:00
Qinxuan Chen
61ec3578f0
Companion for substrate#9711 ( #3801 )
...
* Companion for substrate#9711
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
* cargo +nightly fmt
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-09-14 08:17:30 +00:00
Shawn Tabrizi
09ecdf6f4a
fix complaints in CI ( #3838 )
2021-09-14 08:07:42 +00:00
Qinxuan Chen
7deed34d64
Migrate pallet-tips to the new pallet attribute macro ( #9711 )
...
* Migrate pallet-tips to the new pallet attribute macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix migration
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2021-09-14 00:04:09 +00:00
dependabot[bot]
0983d98cff
Bump primitive-types from 0.10.0 to 0.10.1 ( #9754 )
...
Bumps [primitive-types](https://github.com/paritytech/parity-common ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/paritytech/parity-common/releases )
- [Commits](https://github.com/paritytech/parity-common/commits )
---
updated-dependencies:
- dependency-name: primitive-types
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>
2021-09-13 21:07:18 +00:00
Liu-Cheng Xu
2562f8c65e
Clean up sc-network ( #9761 )
...
* Clean up sc-network
- Avoid using clone() for the Copy type `PeerId`.
- Use `find_map` for `filter_map` and `next`.
- Use `Self`.
* More on Copy types
* Cargo +nightly fmt --all
* More ..
* fmt
* Revert vec![default_notif_handshake_message]
2021-09-13 20:11:29 +02:00
Denis Pisarev
3800575db4
dockerfiles: upgrade to ubuntu:20.04; some chore ( #3828 )
...
* dockerfiles: upgrade to ubuntu:20.04; some chore
* dockerfiles: fq container names
2021-09-13 14:34:29 +02:00
Denis Pisarev
0472a43855
dockerfiles: upgrade to ubuntu:20.04 ( #9753 )
...
* dockerfiles: upgrade to ubuntu:20.04
* dockerfiles: fq container name
2021-09-13 14:33:34 +02:00
Robert Klotzner
2c36adf898
More descriptive errors. ( #9768 )
2021-09-13 12:02:00 +00:00
Pierre Krieger
d5d6d79e37
Purge addresses that fail to reach a peer ( #8843 )
...
Co-authored-by: Roman Proskuryakov <r.proskuryakoff@gmail.com >
2021-09-13 13:31:04 +02:00
Andronik Ordian
33d7f9dd7b
make polkadot-runtime optional feature ( #3820 )
...
* make polkadot-runtime optional feature
* sprinkle some cfg statements
* ok
* ok, ok
* add CI check
* set -e
* chmod +x
* fixes
* fmt
* nicer compile errors
* Update outdated comments
2021-09-13 10:28:33 +00:00
Falco Hirschenberger
c9197a2c6a
Add childstate_getStorageEntries RPC ( #9459 )
...
* Add storage query functions for multiple keys
fixes #9203
* Query all keys in one request and add more tests
* Make it compatible with stable release channel
* Update to new futures
* Update client/rpc/src/state/state_full.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/rpc/src/state/state_full.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/rpc/src/state/state_full.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/rpc/src/state/state_full.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/rpc/src/state/state_full.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/rpc/src/state/state_light.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update client/rpc/src/state/state_light.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Satisfy borrowck
* Remove non-RPC `storage_entries` functions.
* Revert "Remove non-RPC `storage_entries` functions."
This reverts commit d840015c59ce865f879178594088c79082e8d151.
* Revert "Revert "Remove non-RPC `storage_entries` functions.""
This reverts commit 5813b439a4b467e022c627e3fe60cf2fa5520db4.
* Finally some formatting
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-09-13 09:42:08 +00:00
Seun Lanlege
9245bfbbc2
Adds composable.finance to ss58 registry ( #9608 )
...
* adds composable.finance ss58 registry
* adds composable ss58 format
* correct prefix
* dedupe
Co-authored-by: CI system <>
2021-09-13 10:54:13 +02:00
Chevdor
0d30893840
update crate names and rand deps ( #9762 )
2021-09-13 08:52:41 +00:00
Liu-Cheng Xu
f9699db41c
Use the precise number of approvals when constructing RawOrgin::Members ( #9647 )
...
* Use the precise number of approvals when constructing RawOrgin::Members
Close #9604
* Split out tests.rs
* Add a test for dispatching with yes votes instead of voting threshold
* Simplify tests
- Also add copyright header.
* Remove unused hex_literal::hex in collective tests
* Extract the helper function record()
* Try fixing ci
* Add a test case with only two votes
* Nit
* Fix typo
2021-09-13 03:12:37 +00:00
Squirrel
127b2608ec
less deps ( #606 )
2021-09-12 23:22:14 +02:00
Kian Paimani
3d2c4db477
Companion for #9648 ( #3757 )
...
* make the companion
* update Substrate
Co-authored-by: parity-processbot <>
2021-09-12 15:23:07 +00:00
Kian Paimani
056fd9b8a8
Recursive election provider as fallback ( #9648 )
...
* Recursive election provider as fallback
* minor fix
* Fix integrity tests
* Update frame/election-provider-multi-phase/src/lib.rs
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
* Fix everything
* fmt again
* Fix test
* Fix state machine warning
* Fix build
Co-authored-by: Zeke Mostov <32168567+emostov@users.noreply.github.com >
2021-09-12 14:38:32 +00:00
Bastian Köcher
a2cea3a314
Substrate Companion #9737 ( #3830 )
...
Co-authored-by: parity-processbot <>
Co-authored-by: kianenigma <kian@parity.io >
2021-09-12 14:25:58 +01:00
Bastian Köcher
c09d52ead7
Use tokio runtime handle instead of TaskExecutor abstraction ( #9737 )
...
* Use tokio runtime handle instead of TaskExecutor abstraction
Before this pr we had the `TaskExecutor` abstraction which theoretically
allowed that any futures executor could have been used. However, this
was never tested and is currently not really required. Anyone running a
node currently only used tokio and nothing else (because this was hard
coded in CLI). So, this pr removes the `TaskExecutor` abstraction and
relies directly on the tokio runtime handle.
Besides this changes, this pr also makes sure that the http and ws rpc
server use the same tokio runtime. This fixes a panic that occurred when
you drop the rpc servers inside an async function (tokio doesn't like
that a tokio runtime is dropped in the async context of another tokio
runtime).
As we don't use any custom runtime in the http rpc server anymore, this
pr also removes the `rpc-http-threads` cli argument. If external parties
complain that there aren't enough threads for the rpc server, we could
bring support for increasing the thread count of the tokio runtime.
* FMT
* Fix try runtime
* Fix integration tests and some other optimizations
* Remove warnings
2021-09-12 12:29:11 +00:00
Denis Pisarev
ce90615762
dockerfiles: upgrade to ubuntu:20.04 ( #603 )
2021-09-12 00:41:17 +02:00
Hernando Castano
eb7308b67b
Bump Substrate, Polkadot, and BEEFY ( #602 )
...
* Bump Substrate, Polkadot, and BEEFY
* Add `Sync` bound to Aura trait bounds
2021-09-10 23:24:16 +02:00
Kian Paimani
be69e4d2b2
clean the interface of supports map ( #9674 )
...
* clean the interface of supports map, make it a bit cleaner and more efficients
* Fix stiff
* fix one test
* Fix warnings
2021-09-10 18:39:48 +00:00
dependabot[bot]
b3092ead23
Bump futures-util from 0.3.16 to 0.3.17 ( #9748 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.16 to 0.3.17.
- [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.17 )
---
updated-dependencies:
- dependency-name: futures-util
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>
2021-09-10 17:28:36 +00:00
Guillaume Thiolliere
be3c59f59c
remove unused state machine ( #9747 )
2021-09-10 16:32:46 +02:00
Sergei Shulepov
3693eb8744
Add logging for worker spawn failures ( #3827 )
2021-09-10 15:40:53 +02:00
Shawn Tabrizi
250f9fc1ae
Dont Convert Benchmark Error Too Early ( #9743 )
...
* dont convert benchmark error
* fix warning
* fix more warnings
* more fixes
* more fixes
* add missing feature deps
* Update frame/election-provider-multi-phase/src/benchmarking.rs
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
* Update frame/election-provider-multi-phase/src/benchmarking.rs
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
* use from
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
2021-09-10 12:06:24 +00:00
GreenBaneling | Supercolony
a36e881783
Implemented seal_ecdsa_recovery function in the contract pallet ( #9686 )
...
* Implemented `seal_ecdsa_recovery` function in the contract pallet.
Added benchmark and unit test.
* Run `cargo fmt`
* Skip fmt for slices
* Changes according comments in pull request.
* Fix build without `unstable-interface` feature
* Applied suggestion from the review
* Apply suggestions from code review
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
* Apply suggestions from code review
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
* Changed RecoveryFailed to EcdsaRecoverFailed
* Manually updated weights.rs
* Apply suggestions from code review
Co-authored-by: Michael Müller <mich@elmueller.net >
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
Co-authored-by: Michael Müller <mich@elmueller.net >
2021-09-10 11:30:56 +00:00
dependabot[bot]
110ba540ec
Bump proc-macro2 from 1.0.28 to 1.0.29 ( #9741 )
...
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2 ) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases )
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/1.0.28...1.0.29 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
2021-09-10 10:56:14 +00:00
Ricardo Rius
6a383ff875
Add Canvas ( #3823 )
2021-09-10 12:26:51 +02:00
Sergejs Kostjucenko
c0a09c1795
Change ci pipeline to use vault secrets ( #9662 )
2021-09-10 11:27:48 +03:00
Zeke Mostov
b048be06fe
Allow staking miner to use different election algorithms ( #3752 )
...
* WIP
* Dry run cmd working
* Monitor cmd works
* Configure balance with parameter type
* Comments
* cleannnn
* Add balancing to PhragMMS
* Move OffchainRanomBalancing to common
* DRY mine_unchecked over config.solver
* FMT
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Improve docs for any_runtime_unit!
* Some cleanup
* fmt
* Correct capitilaztion
* Improve version mismatch log
* Revert "Improve version mismatch log"
This reverts commit 57570403f654f1efa4307956cda2de6f0c64f70a.
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Remove Balancing struct and use Balancing Parameter type instead
* update Substrate
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2021-09-09 20:21:54 +00:00
Zeke Mostov
6bfcfeed4c
Create trait for NPoS election algorithms ( #9664 )
...
* build the template, hand it over to zeke now.
* Tests working
* save wip
* Some updates
* Some cleanup
* mo cleanin
* Link to issue
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Bound accuracy for prepare_election_result
* Use npos_election::Error for phragmms
* save
* Apply suggestions from code review
* Simplify test to use Balancing::set
* Cargo.lock after build
* Revert "Cargo.lock after build"
This reverts commit 7d726c8efa687c09e4f377196b106eb9e9760487.
* Try reduce cargo.lock diff
* Update bin/node/runtime/src/lib.rs
* Comment
* Apply suggestions from code review
* Set balancing directly
* Document som pub items
* Update frame/election-provider-multi-phase/src/unsigned.rs
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Improve some comments
* Revert accidental change to random file
* tiney
* revert
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2021-09-09 19:46:24 +00:00
Sergei Shulepov
83a35874ee
Do not expire HRMP open channel requests ( #3543 )
...
* Do not expire HRMP open channel requests
* Fix the build and update the docs
* Implement canceling requests and do not remove them automatically
* Fix a borked merge
* Fix fmt
* Please spellchecker
* Apply suggestions from code review
Co-authored-by: Amar Singh <asinghchrony@protonmail.com >
* Use `mutate_exists` for maintaining request counts
* Apply `rustfmt`
* Move newly introduced entrypoint to end to preserve ordering
Co-authored-by: Amar Singh <asinghchrony@protonmail.com >
2021-09-09 14:06:13 +02:00
dependabot[bot]
d1c281461d
Bump zeroize from 1.2.0 to 1.4.1 ( #9591 )
...
Bumps [zeroize](https://github.com/iqlusioninc/crates ) from 1.2.0 to 1.4.1.
- [Release notes](https://github.com/iqlusioninc/crates/releases )
- [Commits](https://github.com/iqlusioninc/crates/compare/zeroize/v1.2.0...zeroize/v1.4.1 )
---
updated-dependencies:
- dependency-name: zeroize
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>
2021-09-09 11:31:31 +00:00
dependabot[bot]
d32340b913
Bump lru from 0.6.5 to 0.6.6 ( #9635 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.6.5 to 0.6.6.
- [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.6.5...0.6.6 )
---
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>
2021-09-09 13:26:25 +02:00
girazoki
b9e968fb3f
Add setter configurable only for benchmarking or tests ( #9668 )
...
* Add setter configurable only fior benchmarking or tests
* Update primitives/runtime/src/traits.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-09-09 12:45:16 +02:00
dependabot[bot]
f66b6cccda
Bump tokio from 1.10.1 to 1.11.0 ( #3821 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.10.1...tokio-1.11.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>
2021-09-09 09:56:00 +00:00
Bastian Köcher
129c9ed09e
Remove the last bits of unknown_os in the code base ( #9718 )
...
* Remove the last bits of unknown_os in the code base
* Fmt
2021-09-09 11:17:16 +02:00
Alexander Theißen
a443944167
Improve instruction benchmarks ( #9712 )
...
* seal_input can be called multiple times
* Increase size of instruction benchmarks
* Remove randomness from instr_br* benchmarks
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2021-09-09 09:12:08 +00:00
Chevdor
dc2c953ef2
Add words to the dictionnary ( #3819 )
...
fix #3814
2021-09-09 10:08:51 +02:00
Sergejs Kostjucenko
c918d57fd4
Add vault secrets to puplish-rustdoc job ( #3816 )
2021-09-09 10:48:20 +03:00
Pierre Krieger
5666d9de94
Fix flaky test ( #9729 )
...
* Fix flaky test
* Restore cargo fmt
Co-authored-by: Roman Proskuryakov <r.proskuryakoff@gmail.com >
2021-09-08 20:45:24 +02:00
Sergejs Kostjucenko
0ff3015a8a
Change pipeline to use Vault ( #3722 )
...
* Change pipeline to use Vault
2021-09-08 21:39:09 +03:00
Gavin Wood
c5e25877f1
Don't drop UMP queue items if weight exhausted ( #3784 )
...
* Requeue UMP queue items if weight exhausted
* Reduce complexity and remove Deque
* Formatting
* Formatting
* Avoid needless storage writes
* Test
* Formatting
* Docs and cleanup
* fmt
* Remove now irrelevant comment.
* Simplify `take_processed` by using `mem::take`
* Clean up & fmt: use `upward_message` directly.
* Grumbles
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Sergei Shulepov <sergei@parity.io >
2021-09-08 19:57:26 +02:00
tgmichel
f7a421f488
graph::ChainApi and graph::Pool reexport (#9726 )
...
* `graph::ChainApi` and `graph::Pool` reexport
* Redundant import cleanup
2021-09-08 15:57:34 +02:00