Sergei Shulepov
08789c8f1c
Allow negotiating the HRMP limits. ( #1673 )
2020-09-02 14:33:28 +00:00
Pierre Krieger
2f9e2577c1
Ensure that handshake is sent back even in case of back-pressure ( #6979 )
...
* Ensure that handshake is sent back even in case of back-pressure
* Update client/network/src/protocol/generic_proto/handler/group.rs
Co-authored-by: Max Inden <mail@max-inden.de >
* Also process OpenRequest and Closed
* Fix bad merge
* God I'm so lost with all these merges
* Immediately return Closed
Co-authored-by: Max Inden <mail@max-inden.de >
2020-09-02 14:30:41 +00:00
Sergei Shulepov
7ba20347d8
Integrate DMP into PersistentValidationData ( #1666 )
2020-09-02 13:51:01 +00:00
Sergei Shulepov
1ec4c452d0
Limit ( #1632 )
...
Limit the number of channels a para can have.
Split HrmpTransientValidationData and add stuff.
2020-09-02 09:17:33 -04:00
Sergei Shulepov
30d2db67e6
Extinguish DispatchResult ( #1667 )
2020-09-02 09:13:56 -04:00
Max Inden
aa5a10802c
*: Update to Prometheus v0.10.0 ( #6964 )
...
* *: Update to Prometheus v0.10.0-rc.1
* *: Update to Prometheus v0.10.0
2020-09-01 11:23:10 +00:00
gabriel klawitter
c8a0d8bc5b
ci: deploy alerting rules: fix run on changes ( #6998 )
...
* ci: deploy alerting rules: fix run on changes
Co-authored-by: Max Inden <mail@max-inden.de >
2020-09-01 12:48:03 +02:00
Ashley
27f4f42e74
Companion PR for Move subcommands from sc-cli to nodes #6948 ( #1635 )
...
* Companion PR
* Implement traits for Client
* "Update Substrate"
Co-authored-by: parity-processbot <>
2020-09-01 11:27:24 +02:00
Ashley
57dd0facbb
Move subcommands from sc-cli to nodes ( #6948 )
2020-09-01 09:06:22 +00:00
Xiliang Chen
d2dcb5ce7a
fix pallet-evm features ( #6995 )
2020-09-01 05:26:25 +02:00
Ashley
48269e0031
Change browser-demo build.sh to use python 3 again ( #6992 )
2020-08-31 17:05:29 +00:00
Pierre Krieger
860362869b
Silence the error about non-registered protocols ( #6987 )
...
* Silence the error about non-registered protocols
* Silence the other two locations as well
2020-08-31 15:41:17 +00:00
Bernhard Schuster
4282a269bf
chore: nits that were left in bitfield dist ( #1665 )
2020-08-31 17:34:57 +02:00
Sergei Shulepov
08afcfca76
Implementer's Guide: Messaging cleanups ( #1664 )
...
* Multiple fix ups
* Remove missed HrmpOpenChannelRequestCount
* Fix the invariant string for HrmpOpenChannelRequestCount
* Update roadmap/implementers-guide/src/types/candidate.md
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Add small clarification
* Fix another small typo
* Add a clarification to InboundHrmpMessage.sent_at
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2020-08-31 14:55:26 +00:00
Gerben van de Wiel
9b4315a62d
Inverting events set and changed in nicks pallet ( #6989 )
...
Fixing #6988
2020-08-31 14:20:41 +00:00
cheme
734d30bf5d
Update substrate bip39 version. ( #6955 )
...
* update bip39 version
* and lock
2020-08-31 14:16:30 +00:00
Max Inden
875daa31bf
client/cli/src/config: Warn on low file descriptor limit ( #6956 )
...
* client/cli/src/config: Warn on low file descriptor limit
Substrate sets the soft file descriptor limit to the hard limit at
startup. In the case of the latter being low already (< 10_000) a
Substrate node under high demand might run into issues e.g. when opening
up new TCP connections or persisting data to the database.
With this commit a warn message is printed to stderr.
* client/cli/Cargo.toml: Update to fdlimit 0.2.0
2020-08-31 12:37:06 +00:00
Sergei Shulepov
40c7db118d
Implementer's Guide: Incorporate HRMP to TransientValidationData ( #1588 )
...
* Add a note about time of collection of TransientValidationData
* Add HRMP digest and dmq length to TransientValidationData
* Add a note that the vector in hrmp digest is never empty
* Add hrmp watermark to TransientValidationData
* Add HRMP egress limits
* Incorporate the latest dispatchable upward messages changes.
* Update candidate.md
* Update candidate.md docs
* Fix wording
* Delete assignmets.md
* Update roadmap/implementers-guide/src/types/candidate.md
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Extract HrmpTransientValidationData and add additional data.
* Some clarifications.
* Introduce HrmpAbridgedOpenChannelRequest
* Update roadmap/implementers-guide/src/types/candidate.md
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Fix typo: egress->ingress
* A note about sorting
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2020-08-31 12:01:36 +00:00
Robert Habermeier
d246a2889e
Extract Assignments and Approval guide text to an Approval informational section ( #1638 )
...
* move validity module to disputes module
* prepare a section on approvals
* extract approval/assignments text to an overview section
* Apply suggestions from code review
Spelling
Co-authored-by: Fedor Sakharov <fedor.sakharov@gmail.com >
2020-08-31 11:57:51 +03:00
Pierre Krieger
e9d446a4ce
Use AsyncReadExt::read_exact, not just read ( #6977 )
2020-08-31 08:55:43 +00:00
Andronik Ordian
bcafc81d9f
update kvdb-rocksdb to 0.9.1 (companion for #6963 ) ( #1647 )
...
* update kvdb-rocksdb to 0.9.1
* update Cargo.lock
* "Update Substrate"
* resolve merge conflicts
* resolve merge conflicts t. 2
Co-authored-by: parity-processbot <>
2020-08-29 03:53:09 +00:00
Andronik Ordian
d0a58a7360
update kvdb-rocksdb to 0.9.1 and rocksdb to 6.11.4 ( #6963 )
2020-08-29 03:30:13 +00:00
Max Inden
87f6afd862
node/network/bridge: Define protocol names as str ( #1655 )
...
* node/network/bridge: Define protocol names as str
* "Update Substrate"
Co-authored-by: parity-processbot <>
2020-08-28 15:51:50 +00:00
Max Inden
8fd343e39d
client/*: Treat protocol name as str and not [u8] ( #6967 )
...
* client/*: Treat protocol name as str and not [u8]
Notification protocol names are in practice always valid utf8 strings.
Instead of treating them as such in the type system, thus far they were
casted to a [u8] at creation time.
With this commit protocol names are instead treated as valid utf8
strings throughout the codebase and passed as `Cow<'static, str>`
instead of `Cow<'static, [u8]>`. Among other things this eliminates the
need for string casting when logging.
* client/network: Don't allocate when protocol name is borrowed
2020-08-28 15:34:25 +00:00
Alexander Popiak
6591b03480
Companion PR: add weightinfo for collective ( #1524 )
...
* add and use generated weights for collective pallet
* correct pallet name
* MaxMembers
* add weight to technical collective
* Fix const assert
* update weights
* update import
* "Update Substrate"
* bump spec_version
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2020-08-28 12:23:41 +02:00
Alexander Popiak
ff1e8150e1
add generated weight info for pallet-collective ( #6789 )
...
* add benchmark for disapprove_proposal
* use generated WeightInfo for pallet-collective weights
* order collective benchmark params alphabetically to get a consistent ordering
* address review comments
* remove default impl of WeightInfo for ()
* remove comments about weight changes
* add default weights
* Apply suggestions from code review
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
* whitelist voter account in benchmark
* update weights
* MaxMembers configurable
* remove base weight comment
* add weight to technical collective
* another DB whitelist optimization
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com >
2020-08-28 08:46:43 +00:00
Pierre Krieger
37d0e00d83
Implement request-responses protocols ( #6634 )
...
* Implement request-responses protocols
* Add tests
* Fix sc-cli
* Apply suggestions from code review
Co-authored-by: Max Inden <mail@max-inden.de >
* Fix naming
* Fix other issues
* Other naming fix
* Fix error logging
* Max sizes to u64
* Don't kill connections on refusal to process
* Adjust comment
Co-authored-by: Max Inden <mail@max-inden.de >
2020-08-27 12:53:20 +00:00
ddorgan
0931d0aafa
Add manual action to build PR binary ( #1470 )
...
* Allow manual action for building a PR binary
* Allow test-refs for PR manual build
* Test PR build in github actions
* Use steps in build
* Removing build via github actions
2020-08-27 10:45:06 +02:00
Guillaume Thiolliere
5b7af66384
fix bench db wipe ( #6965 )
2020-08-26 18:36:37 +00:00
s3krit
e3b312dab0
Bump version to v0.8.23 ( #1646 )
...
* bump version to v0.8.23
* bump substrate
2020-08-26 19:07:54 +02:00
André Silva
a79c34778c
babe: fix report_equivocation weight ( #6936 )
...
* babe: fix report_equivocation weight
* node: bump spec_version
* babe: fix floor in report_equivocation weight calculation
Co-authored-by: Gavin Wood <gavin@parity.io >
* grandpa: fix floor in report_equivocation weight calculation
* babe, grandpa: add test for weight_for::report_equivocation
Co-authored-by: Gavin Wood <gavin@parity.io >
2020-08-26 18:27:44 +02:00
Kian Paimani
314d948687
Better prime election. ( #6939 )
...
* Better prime election.
* improve docs
* more sensible variable names
* link to Borda count wiki
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2020-08-26 18:26:56 +02:00
Shawn Tabrizi
e69d12e76c
Support Staking Payout to Any Account ( #6832 )
...
* Support staking payout to any account
* fix offences benchmarks
2020-08-26 18:26:33 +02:00
Pierre Krieger
1bd6082cf7
Enforce that ProtocolId is a string ( #6953 )
...
* Enforce that ProtocolId is a string
* Fix test
2020-08-26 12:27:30 +00:00
Shawn Tabrizi
9501a71359
Add release checklist ( #1316 )
...
* Add release checklist
* add space to checkbox
* polkadot-js-apps
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* add notes for each release item
* Apply suggestions from code review
Co-authored-by: s3krit <pugh@s3kr.it >
* Apply suggestions from code review
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
Co-authored-by: Gavin Wood <gavin@parity.io >
* Update RELEASE.md
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update RELEASE.md - rearrange sections
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: joepetrowski <joe@parity.io >
Co-authored-by: s3krit <pugh@s3kr.it >
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
Co-authored-by: Gavin Wood <gavin@parity.io >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-08-26 11:22:34 +00:00
Kian Paimani
8856be80bc
Fix staking fuzzer. ( #6954 )
2020-08-26 10:15:12 +02:00
Bastian Köcher
f418ad2195
Remove implementation of Randomness for () ( #6959 )
2020-08-26 09:05:49 +02:00
Shawn Tabrizi
b80191d0ff
Fix unwraps and other issues with benchmarks ( #6957 )
...
* Fix unwraps and other issues with benchmarks
* undo changes to contracts pallet
2020-08-25 21:40:27 +00:00
cheme
345cb13493
Fail when storage is not in proof ( #205 )
...
* fail when storage is not in proof
* Single panic.
2020-08-24 22:11:05 +02:00
s3krit
67ce3b987b
Update package.version in Cargo.toml ( #1633 )
...
* Update Cargo.toml
Fix version number
* Update Cargo.lock
2020-08-24 22:03:38 +02:00
Guillaume Thiolliere
d628c62d6d
update tracing attribute ( #6950 )
2020-08-24 15:33:15 +00:00
Shawn Tabrizi
4f72f246a5
Companion for Substrate #6929 (Execute verify logic when running benchmarks) ( #1623 )
...
* Update for substrate changes
* cargo update -p sp-io
* cargo update -p sp-io
2020-08-24 16:35:03 +02:00
Swezey
dd0d7f78f8
⛓ ✨ Add ShiftNrg Network SS58 address type ( #6942 )
2020-08-24 16:22:25 +02:00
Max Inden
9a17d58960
client/authority-discovery: Limit number of addresses per authority ( #6947 )
...
* client/authority-discovery: Test addresses per authority limit
* client/authority-discovery: Limit number of addresses per authority
2020-08-24 14:17:39 +00:00
Guillaume Thiolliere
9b42720ac5
Fix benchmark read/write key tracker for keys in child storages. ( #6905 )
...
* WIP: read child trie and write child trie
* add test
* refactor a bit + improve log
* better naming
* trigger CI
* Revert "trigger CI"
This reverts commit d0aadaeb6a12fc6c39f01b3c1b5725d19f085865.
2020-08-24 13:40:16 +00:00
Max Inden
f04afd596b
.maintain/monitoring/alerting-rules: Add fd alert ( #6946 )
...
Alert on high file descriptor allocation.
2020-08-24 15:37:07 +02:00
André Silva
e05055c91c
grandpa: always create and send justification if there are any subscribers ( #6935 )
...
* grandpa: use bytes type for justification rpc notification
* grandpa: always create justification if there are rpc subscribers
* grandpa: wording
* grandpa: replace notify_justification macro with function
* grandpa: prefer Option<&T> over &Option<T>
2020-08-24 13:29:17 +00:00
Shawn Tabrizi
4462f7150d
Enable verification logic when executing benchmarks ( #6929 )
...
* Add `--verify` flag to benchmark execution
* make it so `--verify` can be used for getting the actual benchmarks
* undo manual testing
* oops
* use benchmark config struct
* verify is default on, docs update
* remove clone
* improve formatting
* fix test
* bump impl for ci
2020-08-24 15:24:00 +02:00
Ashley
c8ca2ce183
Dynamically generate CHT roots on a full client ( #6944 )
...
* Generate CHT roots on a full client
* add changes_trie_root function
* Add a test
* Line widths
* Fix sc-service-test
* Clarify comments
* Revert comments
2020-08-24 15:11:21 +02:00
Robert Habermeier
430cf6e6f2
Remove v0 node-side parachains code ( #1609 )
...
* clean out v0 consensus crates
* remove service dependencies on old consensus code
* fix cli
* kill adder-collator
* bump Cargo.lock
2020-08-24 11:43:01 +00:00