Bastian Köcher
e5cd5db383
Remove incorrect proof about Jemalloc ( #3982 )
...
* Remove incorrect proof about Jemalloc
The truth is that Jemalloc is not always the default allocator. This is
only true for the polkadot binary.
* Fmt
* Rephrase
2021-10-01 11:55:22 +02:00
Pierre Besson
46c27cca2e
add new rococo chainspec ( #3976 )
2021-10-01 08:57:44 +00:00
João Paulo Silva de Souza
38707ab454
bump async-std's version to remove conflict for substrate ( #3981 )
...
https://gitlab.parity.io/parity/substrate/-/jobs/1151852#L367
https://gitlab.parity.io/parity/substrate/-/jobs/1151852#L369
2021-10-01 10:22:15 +02:00
Andronik Ordian
672ee582e0
gossip-support: set last_session_index earlier ( #3978 )
...
* gossip-support: set last_session_index earlier
* gossip-support: issue_connection_request never fails
* fmt
2021-09-30 17:04:37 -05:00
Martin Pugh
72eab56e88
Bump version, tx_version and spec_version in prep for v0.9.11 ( #3970 )
...
* bump version and spec_version
* bump transaction version
* Bump of the default value in CI
* bump tx version for westend and kusama
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
2021-09-30 14:44:19 +02:00
Andronik Ordian
7542a73f12
fix disputes tests ( #3974 )
2021-09-29 23:23:04 +02:00
Andronik Ordian
f66440dc19
revert +1 change to be on the safer side ( #3972 )
2021-09-29 19:24:12 +00:00
Bernhard Schuster
3c8e8637ff
feat: measured oneshots ( #3902 )
...
* overseer: remove mut in connector
* monitored oneshots
* fmt
* remove debug log
* Update node/metered-channel/src/oneshot.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/metered-channel/src/oneshot.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* avoid two Arcs
* add expects
* alt impl
* rework the measured oneshots
* address review comments, use `Measurable` where possible
* chore/tracing: move `PrettyAuthorities` construction out of tracing macros
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-29 16:06:20 +00:00
Bernhard Schuster
c57a1e7934
remove AllSubsystems and AllSubsystemsGen types ( #3874 )
...
* introduce the OverseerConnector, use it
* introduce is_relay_chain to RelayChainSelection
* Update node/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* avoid the deferred setting of `is_relay_chain` in `RelayChainSelection`
* positive assertion is not mandated, only the negative one, to avoid a stall
* cleanup: overseer residue
* spellcheck
* fixin
* groundwork to obsolete Overseer::new and AllSubsystemsGen proc-macro
* Now all malus & tests can be ported to the builder pattern.
Obsoletes `Overseer::new`, `AllSubsystemsGen` derive macro, `AllSubsystems`.
* spellcheck
* adjust tests, minor fixes
* remove derive macro AllSubsystemsGen
* add forgotten file dummy.rs
* remove residue
* good news everyone!
* spellcheck
* address review comments
* fixup imports
* make it conditional
* fixup docs
* reduce import
* chore: fmt
* chore: fmt
* chore: spellcheck / nlprules
* fixup malus variant-a
* fmt
* fix
* fixins
* pfmt
* fixins
* chore: fmt
* remove expanded overseer generation
* tracing version
* Update node/network/statement-distribution/src/lib.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* use future::ready instead
* silence warning
* chore: fmt
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-09-29 14:24:56 +00:00
Liu-Cheng Xu
f9de0040c9
Companion for Substrate#9867 ( #3938 )
...
* Companion for Substrate#9867
* Fix finality_target_with_fallback()
* update substrate
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-09-29 14:16:50 +00:00
Bastian Köcher
c752b5d61b
Substrate Companion for #9552 ( #3834 )
...
* Prepare for wasmtime 0.29
* update Substrate
* Use Pallet
Co-authored-by: parity-processbot <>
2021-09-29 13:29:33 +00:00
Andronik Ordian
d19b1de5f0
CI: run disputes tests ( #3962 )
...
* CI: run disputes tests
* Revert "minor chore changes (#3944 )"
This reverts commit d64394ef59 .
* fix em
* Revert "Revert "minor chore changes (#3944 )""
This reverts commit 02a1ecf3cacb52d6dd467e8f226a69bae651d319.
* Update handle_import_statement function
* fmt
Co-authored-by: Lldenaurois <Ljdenaurois@gmail.com >
2021-09-29 11:19:00 +00:00
dependabot[bot]
c0719034a1
Bump parity-scale-codec from 2.3.0 to 2.3.1 ( #3959 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 2.3.0 to 2.3.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-v2.3.0...parity-scale-codec-v2.3.1 )
---
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>
2021-09-29 11:57:24 +02:00
Andronik Ordian
cb89dfc039
approval-voting: populate session cache in advance ( #3954 )
...
* try populating session cache in advance
* remove unused arg
* fmt
* fix compilation
* fix tests
* Revert "fix tests"
This reverts commit e8222b1108e09a39727a38e3b4e4c3061642a213.
* fix tests
* bump dispute window const by 1
* fix tests
2021-09-29 09:53:44 +00:00
dependabot[bot]
4549e1a1b0
Bump libc from 0.2.102 to 0.2.103 ( #3950 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.102 to 0.2.103.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.102...0.2.103 )
---
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>
2021-09-28 23:18:51 +02:00
Guillaume Thiolliere
77ad54e4bc
fix master ( #3955 )
2021-09-28 17:38:00 +00:00
Bernhard Schuster
c9662531b6
remove connected disconnected state, 3rd attempt ( #3898 )
...
* overseer: remove mut in connector
* rename SelectRelayChainWFallback -> SelectRelayChain
* split Basics
* introduce the OverseerConnector, use it
* introduce is_relay_chain to RelayChainSelection
* chore: rename var
* avoid dummy import in subsystem
* actually remove Disconnecte/Connected enum
* extract DummySubsystem into mod dummy.
* Handle::Connected -> Handle::new
* chore: fmt
* fix test
* select relay chain takes no arg, simplification
* fmt
* Update node/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* chore: improve malus tests
* avoid the deferred setting of `is_relay_chain` in `RelayChainSelection`
* positive assertion is not mandated, only the negative one, to avoid a stall
* chore: fmt
* assure the `RelayChainSelection` is not used before the overseer is up and running
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-28 15:01:04 +02:00
Robert Habermeier
408b49268f
fix flaky chain-selection tests ( #3948 )
2021-09-28 08:43:55 +00:00
Bernhard Schuster
d64394ef59
minor chore changes ( #3944 )
...
* chore: mild refactor, avoid the channel in handle_import_statements
* chore/md: lint
2021-09-27 20:18:59 +02:00
Robert Klotzner
7c3b3c4a59
Log info about low connectivity and unreachable validators ( #3916 )
...
* Attempt to add log stats to gossip-support.
* WIP: Keep track of connected validators.
* Clarify metric.
* WIP: Make gossip support report connectivity.
* WIP: Fixing tests.
* Fix network bridge + integrate in overseer.
* Consistent naming.
* Fix logic error
* cargo fmt
* Pretty logs.
* cargo fmt
* Use `Delay` to trigger periodic checks.
* fmt
* Fix warning for authority set size of 1.
* More correct ratio report if there are no resolved validators.
* Prettier rendering of empty set.
* Fix typo.
* Another typo.
* Don't check on every leaf update.
* Make compatible with older rustc.
* Fix tests.
* Demote warning.
2021-09-27 16:30:02 +02:00
dependabot[bot]
724a1b4885
Bump tracing from 0.1.27 to 0.1.28 ( #3937 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28 )
---
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-27 07:57:14 +02:00
dependabot[bot]
37a5f95c29
Bump libc from 0.2.101 to 0.2.102 ( #3933 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.101 to 0.2.102.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.101...0.2.102 )
---
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>
2021-09-26 14:46:37 +02:00
dependabot[bot]
315f69dd31
Bump syn from 1.0.76 to 1.0.77 ( #3932 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.76 to 1.0.77.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.76...1.0.77 )
---
updated-dependencies:
- dependency-name: syn
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-25 23:47:27 +02:00
dependabot[bot]
7bcf2e693d
Bump tokio from 1.11.0 to 1.12.0 ( #3910 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.11.0...tokio-1.12.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-25 22:25:33 +02:00
Andreas Doerr
53ec86769e
Remove BEEFY repo dependency ( #3923 )
2021-09-24 17:51:12 +02:00
Bastian Köcher
48b19bb319
Substrate Companion for rust 1.54 ( #3807 )
...
* Substrate Companion for rust 1.54
* CI: run with a staging CI image
* Revert "CI: run with a staging CI image"
This reverts commit f3b51da0a4c0ffa43b576af5482a2be256948870.
* CI: debug, again
* compilation fixes
* tabify
* update Substrate
* Update .gitlab-ci.yml
* CI: add ubuntu-based image with npm
Co-authored-by: Denis P <denis.pisarev@parity.io >
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: parity-processbot <>
2021-09-24 15:46:45 +02:00
Robert Habermeier
ccb7bc5c60
add parachains pallets to Polkadot runtime ( #3815 )
...
* add parachains pallets to Polkadot runtime
* some updates
* temp update deposits, fix compile
* lower para byte deposit
* fix genesis
* fmt
* fix spell
* updates to consts
* update benchmark list
* fix merge master
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_crowdloan.rs
* skip large meta
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_crowdloan.rs
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_paras_registrar.rs
* fmt
* add and update proxies
* add weight info
* weights
* lower minimum contribution to 5 DOT
* only overwrite when default
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Parity Bot <admin@parity.io >
2021-09-23 18:17:34 -04:00
Pierre Besson
b60d2eeec1
Add new rococo chainspec ( #3905 )
2021-09-23 13:25:08 +02:00
dependabot[bot]
4f70899f6b
Bump parity-scale-codec from 2.2.0 to 2.3.0 ( #3833 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 2.2.0 to 2.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/v2.2...parity-scale-codec-v2.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>
2021-09-23 00:29:41 +00:00
dependabot[bot]
8e078d3166
Bump proc-macro-crate from 1.0.0 to 1.1.0 ( #3863 )
...
Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/bkchr/proc-macro-crate/releases )
- [Commits](https://github.com/bkchr/proc-macro-crate/commits )
---
updated-dependencies:
- dependency-name: proc-macro-crate
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-23 00:24:28 +00:00
Robert Habermeier
fd150db859
add tracing to assignment criteria ( #3886 )
...
* add tracing to assignment criteria
* fmt
2021-09-22 11:23:42 +02:00
Bernhard Schuster
d711673ee2
Revert "remove connected disconnected state only ( #3868 )" ( #3896 )
...
This reverts commit 5f637c510e .
2021-09-20 13:02:36 +00:00
Koute
7b39f096b8
Gather memory usage statistics through parity-util-mem ( #3893 )
...
* Gather memory usage statistics through `parity-util-mem`
* Update `Cargo.lock`
2021-09-20 08:51:34 +00:00
Zeke Mostov
aca0b2429d
Run fmt ( #3887 )
2021-09-17 22:41:12 +00:00
Bernhard Schuster
5f637c510e
remove connected disconnected state only ( #3868 )
...
* remove connected disconnected state from overseer
* foo
* split new partial
* fix
* refactor init code to not require a `OverseerHandle` when we don't have an overseer
* intermediate
* fixins
* X
* fixup
* foo
* fixup
* docs
* conditional
* Update node/service/src/lib.rs
* review by ladi
2021-09-17 14:39:33 -05:00
Robert Klotzner
63a520b056
Dispute distribution improvements ( #3853 )
...
* Better warning policy on dispute-distribution.
Network errors happen, only warn on a minimum number of failed attempts.
* Add metric to see how long it takes to get a dispute vote out.
* Let's be alert.
2021-09-17 12:10:50 +02:00
Lldenaurois
608ad0f6bf
Add info logging to dispute activation ( #3870 )
...
* Add info logging to dispute activation
* Update node/core/dispute-coordinator/src/real/mod.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-16 20:34:10 +00:00
Robert Habermeier
3c0b7d95f5
update Rococo.json ( #3871 )
2021-09-16 15:26:48 -05:00
Robert Klotzner
973183cfb1
Don't try to connect to ourselves. ( #3855 )
...
* Don't try to connecto to ourselves.
* Use swap_remove instead of remove O(1)
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-16 16:05:07 +02:00
Bernhard Schuster
cc8b861271
add dispute metrics, some chores ( #3842 )
...
* rename: MsgFilter -> MessageInterceptor
* feat: add dispute metrics
* fixup
* test fixins
* fix metrics
* dummysubsystem export and trait fn fix
* chore: fmt
* undo unwanted changes
* foo
* pfmt
* fixup
* fixup
* revert
* some more
* Update node/malus/Cargo.toml
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/core/dispute-coordinator/src/metrics.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/core/dispute-coordinator/src/metrics.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update node/core/dispute-coordinator/src/metrics.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* add license header
* fix lockfile
* new with opts
* fmt
* Update node/core/dispute-coordinator/src/metrics.rs
* feature gate
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-16 08:19:51 +00:00
Andrew Jones
4c7539cab5
Companion for #8615 : enrich metadata with type information ( #3336 )
...
* Use beefy branch with scale-info
* Add patches
* Sprinkle some TypeInfo derives
* Add some TypeInfo deriv
* Cargo.lock
* Derive TypeInfo and skip type params for Xcm types
* Cargo.lock
* Fix up scale_info bounds attributes
* Fix up dependencies
* Use my own beefy-primitives branch
* Bump BEEFY
* Update patches
* Add some scale-info dependencies and TypeInfo derives
* More TypeInfo decoration
* Update scale-info
* Some TypeInfos and remove more Event pallet::metadata
* Moar TypeInfos
* TypeInfos galore, fix up metadata runtime API
* TypeInfo
* TypeInfos, update other runtime metadata APIs
* Fix up Kusama, comment out some `usize` QueueSize parameter types
* Remove local diener patches
* Cargo.lock
* Cargo.lock
* Update to scale-info crates.io release
* Update primitive-types branch
* Update pallet-beefy to use custom branch
* Update other parity-common deps
* Update parity-common patches
* bump a bunch of deps in parity-common
* Remove parity-common patches
* Bump finality-grandpa version
* Cargo.lock
* Update scale-info to 0.9.1
* Add recursion_limit for runtime-parachains
* Add some scale_info attributes
* Cargo.lock
* Revert finality-grandpa bump
* Cargo.lock, scale-info update
* cargo update
* Make sure using patched version of finality-grandpa
* Use patched scale-info
* Update to scale-info 0.10.0
* Update finality-grandpa
* Cargo.lock
* Update beefy deps
* Update beefy deps again
* Add scale-info dependency
* Remove deprecated pallet::metadata attributes.
* Add some missing scale-info deps and derives
* Use some variant struct call syntax
* Add missing TypeInfo impl
* Add some more TypeInfo impls
* Convert some call enum struct variant constructors
* More scale-info deps and derives
* Call enum struct variants
* TypeInfo derives
* Call enum variant structs
* scale-info deps and derives
* Call enum variant struct constructors
* Use beefy-primitives scale-info feature
* Use grandpa-bridge-gadget master branch
* Remove finality-grandpa patch
* Add missing scale_info dependency and derive
* Fix up some call variant constructors
* Add missing scale_info dependency
* Fix some test errors
* More TypeInfo derives
* More call variant structs
* Call variant structs in tests
* Cargo.lock
* Fmt
* Fix more call struct variants
* Another call struct variant
* add scale-info/std features explicitly
* More call struct variants
* Add missing scale-info dependency
* Fmt
* review: activate scale-info/std where missing
* Remove some duplicate std feature activation
* review: add scale_info bounds() attr
* More call variant structs
* Remove recursion limit
* Update beefy-primitives
* Update beefy-primitives
* Fix simnet call variant struct errors
* Fmt
* cargo update -p beefy-primitives
* Add some missing TypeInfo derives
* Fix some call variants
* Fix some call variant underscores
* Cargo.lock
* Cargo.lock
* Add missing TypeInfo derive
* Add some more missing TypeInfo derives
* Even more missing TypeInfo derives
* Add TypeInfo derives to new xcm types
* Fmt
* Cargo.lock
* Add missing TypeInfo impls
* Cargo.lock
* More missing TypeInfos
* Fixes
* Cargo.lock
* Cargo.lock
* Add TypeInfo impls to xcm v2
* Update to scale-info 1.0
* Update finality-grandpa 0.14.4, patch for now
* Update beefy
* Remove patched finality-grandpa
* Add TypeInfo impl to Outcome
* Fixes
* Call variant struct
* Call variant struct
* Fix test
* Add TypeInfo impl
* Cargo.lock
* Cargo.lock
* Cargo.lock
* git checkout master Cargo.lock
* update Substrate
* Add missing scale-info features for beefy-primitives
* Fmt
* Remove check for now
* Update beefy-primitives, removes scale-info feature
* Update beefy-primitives again
Co-authored-by: adoerr <0xad@gmx.net >
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-09-15 15:38:45 -05:00
Robert Habermeier
44d2e9adbd
approval-voting: processed wakeups can also update approval state ( #3848 )
...
* approval-voting: processed wakeups can also update approval state
* fmt changes
* reverse broken if condition
* further correct condition
* add test
* fmt
* Update node/core/approval-voting/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-15 19:30:03 +00:00
Robert Habermeier
f43acd6c15
improve approval tracing ( #3846 )
...
* improve approval tracing
* Update node/core/approval-voting/src/import.rs
* Update node/core/approval-voting/src/import.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-09-15 11:17:49 +02:00
Sergei Shulepov
13906d62f0
UMP: Support Overweight messages ( #3575 )
...
* Introduce new config: ump_max_individual_weight
* Implement overweight msg stashing
* Test
* Add migration module.
Also introduces a test for migration
* Integrate ExecuteOverweightOrigin to runtimes
* Fix more stuff
* Add `yeet` into dictionary
* Use suggested `Error` variant names
* typo
* Use 20ms as the maximum individual message weight
* Update the test value
* rustfmt
* Clean up
* Remove deprecated field from host config
* Remove missed _hrmp_open_request_ttl
* Apply typo fix suggestion
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Rename `migration::migrate_to_latest`
* Restore `_hrmp_open_request_ttl` in `v0::HostConfiguration`
* Apply suggestion for a rustdoc
* Apply the suggestion
* Test v0 config with the raw production data fetched from Kusama
* Update runtime/parachains/src/ump.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Expose migration functions
* Fix spellcheck
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-09-15 11:13:44 +02:00
Qinxuan Chen
438a45799f
Companion for substrate#9115 ( #3265 )
...
* runtime(kusama/polkadot): migrations for collective storage prefix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix
* fix migration
* spelling
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
* fix unused
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2021-09-14 13:01:19 +00:00
Robert Klotzner
de637b966a
Better error messages. ( #3835 )
...
* Better error messages.
Right now, logged messages are hardly useful.
Together with https://github.com/paritytech/substrate/pull/9768 , this
should help with debugging.
* cargo fmt
2021-09-14 14:18:32 +02:00
Robert Klotzner
135d9ae931
Put all authorities of a session into SessionInfo. ( #3813 )
...
* Make SessionInfo include all authorities
of the current session.
* Add missing import.
* Only take subset for assignment keys.
* Fix typo.
* Make spellcheck happy.
* Really.
* Fix test.
* More clear documentation.
* Update comments in `SessionInfo`.
2021-09-14 13:58:37 +02: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
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
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