Qinxuan Chen
e4f6f8d76a
Companion for substrate#11469 ( #5569 )
...
* Comanion for substrate#11469
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove extra Rpc naming in the structs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update Substrate
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-05-21 08:37:55 +00:00
Qinxuan Chen
5497069d54
Unify rpc api and implementation name ( #11469 )
...
* Unify rpc api and implementation name
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* MauanlSeal ==> ManualSealRpc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove extra Rpc naming in the structs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update doc
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix merge
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-05-21 08:13:09 +02:00
Bastian Köcher
dcb8a8504e
InMemoryBackend: Make it generic over the key hasher ( #11488 )
...
* InMemoryBackend: Make it generic over the key hasher
* Update primitives/state-machine/src/in_memory_backend.rs
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
* Update primitives/state-machine/src/in_memory_backend.rs
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
* FMT
Co-authored-by: cheme <emericchevalier.pro@gmail.com >
2022-05-21 07:24:24 +02:00
Bisola Olasehinde
5409510510
Migrate brigdes pallet to named events ( #5575 )
...
* bridges-dispatch
* bridges-messages
* bridges-token-swap
2022-05-20 21:11:59 +00:00
Alexandru Vasile
87de1e7e0d
RPC: Mark storage methods as blocking ( #11459 )
...
* client/api: Make `storage_keys` blocking
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client/api: Ensure `state_*` RPC methods are blocking
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client/rpc: Ensure `childstate_*` RPC methods are blocking
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client/rpc: `ChainApi` make RPC methods sync
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Remove unused async-traits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* client/rpc-api: Make chain RPC methods blocking
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update client/rpc/src/state/state_full.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Add `blocking` to `state_getKeysPaged` RPC call
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Fix build and warning
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Remove `async_trait` tidyup
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-05-20 19:16:35 +00:00
dependabot[bot]
909f65d0cd
Bump actions/upload-artifact from 2 to 3 ( #5547 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:39:30 +03:00
dependabot[bot]
6691f8ec29
Bump docker/build-push-action from 2 to 3 ( #5548 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:39:17 +03:00
dependabot[bot]
229b289b5d
Bump docker/login-action from 1 to 2 ( #5550 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:35:47 +03:00
dependabot[bot]
4a71017dd3
Bump gaurav-nelson/github-action-markdown-link-check from 1.0.9 to 1.0.14 ( #11464 )
...
* Bump gaurav-nelson/github-action-markdown-link-check
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check ) from 1.0.9 to 1.0.14.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases )
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/7481451f70251762f149d69596e3e276ebf2b236...58f84fd654812d0d8da4e4d4a559eda087daf8ce )
---
updated-dependencies:
- dependency-name: gaurav-nelson/github-action-markdown-link-check
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update .github/workflows/md-link-check.yml
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
2022-05-20 16:22:01 +02:00
dependabot[bot]
5db6491add
Bump actions/upload-artifact from 2 to 3 ( #1271 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:20:52 +02:00
dependabot[bot]
441fc17847
Bump actions/download-artifact from 2 to 3 ( #5574 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:20:30 +02:00
dependabot[bot]
136127b799
Bump docker/login-action from 1 to 2 ( #1272 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:11:37 +03:00
dependabot[bot]
ac9ef74463
Bump actions/download-artifact from 2 to 3 ( #1273 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 14:52:54 +02:00
dependabot[bot]
fc7959a871
Bump actions/cache from 2 to 3 ( #5549 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:49:54 +03:00
dependabot[bot]
6c020492f3
Bump actions/cache from 2 to 3 ( #1274 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:49:08 +03:00
dependabot[bot]
7ce079a6fd
Bump actions/checkout from 2 to 3 ( #11463 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:48:27 +03:00
Squirrel
bc0c98884f
dir restructure to support more CGP ( #1266 )
...
* rerame res to chain-specs
* split polkadot-parachains dir
* rename dir parachains-common to common
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-05-20 13:43:04 +01:00
Kian Paimani
a6f02a9dc3
companion to substrate 11411 ( #5524 )
...
* companion to substrate 11411
* update substrate
* fmt
* fmt
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-05-20 11:20:54 +00:00
Alexander Gryaznov
c0fb033206
Stabilize ecdsa_ functions ( #11486 )
2022-05-20 11:20:41 +00:00
dependabot[bot]
66316bb501
Bump docker/setup-buildx-action from 1 to 2 ( #5551 )
...
* Bump docker/setup-buildx-action from 1 to 1.7
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
2022-05-20 13:50:52 +03:00
girazoki
77558aacc9
fix pallet-xcm toml related to runtime-benchmarks ( #5561 )
...
* fix tomls
* Remove xcm-builder from runtime-benchmarks
* Maintain order in toml
2022-05-20 07:32:58 +02:00
Shawn Tabrizi
9d88e462f0
Fix Cumulus Compile (into_account_truncating) ( #1277 )
...
* fix cumulus compile
* Update Cargo.lock
2022-05-19 19:38:57 +00:00
Shawn Tabrizi
b61c7515d7
Rename BagsList to VoterList and Add Score ( #5463 )
...
* add migration for simple pallet rename
* fmt
* also add score migration
* add try-runtime feature to bags list
* add pre_upgrade to pallet rename
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-19 14:33:24 -04:00
Andrei Sandu
4060017059
Availability: provisioner bitfield metrics ( #5484 )
...
* Add histogram for inherent data bitfields
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* -500ms bitfield sign job delay, +500ms bitfield gossip
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Revert "-500ms bitfield sign job delay, +500ms bitfield gossip"
This reverts commit 3d3f2c0fae651653ffdca50c1ad38c5757166edc.
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update node/core/provisioner/src/metrics.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-05-19 18:53:43 +02:00
Shawn Tabrizi
927019a734
Add Score to Bags List ( #11357 )
...
* Add Score to Bags List
* fix ordering
* make compile
* in progress migration
* make migration compile
* remove old check
* remove runtime specific migration
* fix warning
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* improve migration
* fix
* fix merge
* fmt
* Update migrations.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2022-05-19 16:40:31 +00:00
Jegor Sidorenko
807a95230b
Fix renaming artifacts ( #11455 )
2022-05-19 13:39:43 +00:00
Bernhard Schuster
450ca2baca
overseer becomes orchestra ( #5542 )
...
* rename overseer-gen to orchestra
Also drop `gum` and use `tracing`.
* make orchestra compile as standalone
* introduce Spawner trait to split from sp_core
Finalizes the independence of orchestra from polkadot-overseer
* slip of the pen
* other fixins
* remove unused import
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* orchestra everywhere
* leaky data
* Bump scale-info from 2.1.1 to 2.1.2 (#5552 )
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.1 to 2.1.2.
- [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/compare/v2.1.1...v2.1.2 )
---
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>
* Add missing markdown code block delimiter (#5555 )
* bitfield-signing: remove util::jobs usage (#5523 )
* Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) (#5337 )
* Switch to pooling copy-on-write instantiation strategy for WASM
* Fix compilation of `polkadot-test-service`
* Update comments
* Move `max_memory_size` to `Semantics`
* Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy`
* Update a safety comment
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
* Fix build
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Malte Kliemann <mail@maltekliemann.com >
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Co-authored-by: Koute <koute@users.noreply.github.com >
2022-05-19 13:42:02 +01:00
Kian Paimani
20ef36f1b2
add missing events to elections fallback ( #11436 )
...
* add missing events to elections fallback
* Update frame/election-provider-multi-phase/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/election-provider-multi-phase/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* add test
* fix
* fmt
* Update frame/support/src/storage/types/nmap.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-05-19 11:54:40 +00:00
Koute
d9eff4ecd4
Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) ( #5337 )
...
* Switch to pooling copy-on-write instantiation strategy for WASM
* Fix compilation of `polkadot-test-service`
* Update comments
* Move `max_memory_size` to `Semantics`
* Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy`
* Update a safety comment
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-19 13:06:34 +02:00
Chris Sosnin
f1006f5a43
bitfield-signing: remove util::jobs usage ( #5523 )
2022-05-19 13:01:22 +02:00
kostekIV
ba1f31d040
Make fields of EraRewardPoints public ( #11422 )
2022-05-19 11:10:49 +02:00
Malte Kliemann
32770a4383
Add missing markdown code block delimiter ( #5555 )
2022-05-19 11:09:49 +02:00
dependabot[bot]
2906ee1bcb
Bump scale-info from 2.1.1 to 2.1.2 ( #5552 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.1 to 2.1.2.
- [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/compare/v2.1.1...v2.1.2 )
---
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-05-19 10:51:25 +02:00
Koute
dd854c16e2
Switch to pooling copy-on-write instantiation strategy for WASM ( #11232 )
...
* Switch to pooling copy-on-write instantiation strategy for WASM
* Fix benchmark compilation
* Fix `cargo fmt`
* Fix compilation of another benchmark I've missed
* Cleanups according to review comments
* Move `max_memory_size` to `Semantics`
* Set `memory_guaranteed_dense_image_size` to `max_memory_size`
* Rename `wasm_instantiation_strategy` to `wasmtime_instantiation_strategy`
* Update the doc-comments regarding the instantiation strategy
* Extend the integration tests to test every instantiation strategy
* Don't drop the temporary directory until the runtime is dropped in benchmarks
* Don't drop the temporary directory until the runtime is dropped in tests
2022-05-19 07:32:53 +00:00
Alexander Theißen
b3b7b4ddc7
contracts: Add set_code root dispatchable ( #11451 )
...
* Add `set_code` dispatchable
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --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 >
2022-05-18 23:50:22 +00:00
Sergejs Kostjucenko
bd225c7938
add GHA support to dependabot ( #11448 )
...
* add GHA support to dependabot
* fix formatting
* add labels
* add label
2022-05-19 00:26:44 +03:00
Bastian Köcher
516a8fa433
trie: Optimize keys function ( #11457 )
...
* trie: Optimize `keys` function
Instead of iterating the entire state and collecting all keys that match the given prefix, we can
directly use the optimized prefix iterator.
* Add a test
2022-05-18 21:20:47 +02:00
Sebastian Kunert
b32764ff99
Create binary for cumulus testing node #1128 ( #1158 )
...
* Create binary for cumulus testing node
* Fix call to wrong method
* Fix iterator bug
* Add real networking to polkadot node
* Allow using of file chain specs
* Implement export of wasm blob and genesis state
* Add parachain id to test service export
* Remove debug logs
* Fix main.rs
* Do not use cli from polkadot-collator
* Add tracing dependency
* Improve cli structure
* Use struct instead of enum for export commands
* Add missing license header
* Fix benchmark
* add build-spec subcommand (#19 )
* add build-spec subcommand
* reorder args
* Fix formatting
* Add zombienet test (#26 )
* add migrated tests
* rename test files
* uncomment args and remove extra collator node
* Fix indentation (#27 )
* add migrated tests
* rename test files
* uncomment args and remove extra collator node
* fix identation
* Review comments
* Remove unwanted version changes
Co-authored-by: Sebastian Kunert <skunert@Sebastians-MacBook-Pro.fritz.box >
Co-authored-by: Javier Viola <pepoviola@gmail.com >
2022-05-18 16:41:48 +02:00
Sergejs Kostjucenko
b71820047d
add GHA checks to dependabot ( #1270 )
...
* add GHA checks to dependabot
* Update .github/dependabot.yml
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-05-18 16:09:41 +02:00
Sergejs Kostjucenko
e98273b0c2
add GHA support to dependabot ( #5544 )
...
* add GHA support to dependabot
* add labels
* Update .github/dependabot.yml
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-05-18 16:08:58 +02:00
Andrei Sandu
0ce850f959
runtime-api: remove internal queue to make ToFs relevant again (#5545 )
...
* Make back pressure great again
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Test commit - parallel vs caching
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Increase concurrency
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fixups
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update todo issue
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* another doc change
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* More comments
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-05-18 12:56:03 +00:00
Vsevolod Stakhov
195b901cc9
Implement grid topology routing for the statement distribution subsystem ( #5476 )
...
* Move NewGossipTopology -> SessionGridTopology outside as this implementation is shared
* Add method to return peers difference between topologies
* Implement basic grid topology usage for the bitfield distribution
* Fix tests
* Oops, fix tests
* Add some tests for random routing
* Add a unit test for topology distribution
* Store the current and the previous topology to match sessions boundaries
* Update tests
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/protocol/src/grid_topology.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Add some debug
* Fix tests as HashSet order is undefined
* Move session bounded topology to the common code part
* Fix tests
* Allow to select routing by peer index
* Implement grid topology in the statement distribution subsystem
* Fix tests compilation
* Fix test
* Refactor API slightly
* Address review comments
* Reduce runtime error logging severity
* Update node/network/protocol/src/grid_topology.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Update node/network/bitfield-distribution/src/tests.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Fmt run
* Use named struct
* Fix logging stuff
* One more accidental fmt damage
* Increase active queue size and add metrics
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Revert "Increase active queue size and add metrics"
This reverts commit c4f48e8bded6dfeb9c62814ba2f8d815c34b04cf.
* Use validator index to choose the routing strategy
Noted by: @rphmeier
* Fix test after distribution logic fix
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
Co-authored-by: Andrei Sandu <andrei-mihail@parity.io >
2022-05-18 12:27:06 +00:00
Jegor Sidorenko
0c3a9d0724
Companion to #11441 (Uniques Max Supply) ( #1267 )
...
* Companion to #11441
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-18 11:59:36 +00:00
João Paulo Silva de Souza
9dd9a98eff
disable check-dependent-cumulus ( #11450 )
2022-05-18 11:35:15 +00:00
Jegor Sidorenko
236cc98be2
Allow to set the max supply for collection ( #11441 )
...
* Allow to set the max supply for collection
* Update error
* Add weights info
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Update frame/uniques/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-05-18 11:23:44 +00:00
Alexander Samusev
ce77cb1735
[ci] Adjust job order in pipeline test stage with Gitlab DAG ( #11442 )
...
* [Do Not Merge] Test gitlab DAG in pipeline
* add jobs for pipeline cancel
* add check-tracing to cancel-pipeline
2022-05-18 13:14:25 +02:00
Michael Müller
a03c4c82d6
Rename canvas to contracts ( #1265 )
...
* Update SVG
* Rename `canvas-kusama` folder `contracts-rococo`
* Search-Replace `canvas-kusama` with `contracts-rococo`
* Search-Replace `canvas_kusama` with `contracts_rococo`
* Search-Replace `canvas_rococo` with `contracts_rococo`
* Rename `canvas-rococo.json` to `contracts-rococo.json`
* Rename `CanvasKusamaChainSpec` to `ContractsRococoChainSpec`
* Migrate chain specs and configurations to `contracts-rococo`
* Adapt readme
* Improve directory structure
* Remove last occurrences of `canvas`
* Apply `cargo fmt`
* Update README.md
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
* Fix funny indentation
* Fix wasm path renaming
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-05-18 09:56:34 +00:00
Alexander Theißen
41900039fc
Companion for bounded contracts storage ( #1261 )
...
* Companion for bounded contracts storage
* Add missing import
* update lockfile for {"substrate"}
* bump polkadot
Co-authored-by: parity-processbot <>
2022-05-18 08:48:31 +00:00
Nathan Whitaker
3502bc5c1d
Return a successful response on repeated small block request ( #11429 )
2022-05-18 09:42:53 +02:00
Alexander Theißen
ef46d84aed
contracts: Get rid of #[pallet::without_storage_info] ( #11414 )
...
* Implement `MaxEncodeLen` for pallet-contracts storage
* Remove redundant debug println
* Move code len check to PrefabWasmModule::from_code
2022-05-18 07:40:53 +00:00