Sebastian Kunert
72bde2889f
Introduce async runtime calling trait for runtime-api subsystem ( #5782 )
...
* Implement OverseerRuntimeClient
* blockchainevents
* Update patches
* Finish merging rntime-api subsystem
* First version that is able to produce blocks
* Make OverseerRuntimeClient async
* Move overseer notification stream forwarding to cumulus
* Remove unused imports
* Add more logging to collator-protocol
* Lockfile
* Use hashes in OverseerRuntimeClient
* Move OverseerRuntimeClient into extra module
* Fix old session info call and make HeadSupportsParachain async
* Improve naming of trait
* Cleanup
* Remove unused From trait implementation
* Remove unwanted debug print
* Move trait to polkadot-node-subsystem-types
* Add sections to runtime client
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Reorder methods
* Fix spelling
* Fix spacing in Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Remove unused babe methods
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-07-20 10:23:25 +00:00
Oliver Tale-Yazdi
340e7be60d
Co #11456 : Expose benchmark extrinsic command ( #5620 )
...
* Expose 'benchmark extrinsic' command
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Split benchmarking into own mod
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Simplify code
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Spell
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert Cargo.lock updates
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* Fix brittle test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bump spec version to 9270
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Sleep in test to make it work in CI...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Disable failing test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Bump spec version to 9270"
This reverts commit c1c385d7a4dc849e7f4d4723740aec66c2b7be09.
* Delete brittle test, see #5788
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Disable failing test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Delete more failing tests...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-07-19 14:11:38 +02:00
Chevdor
9b086257e2
staking-miner: Add handling of SIGTERM, SIGKILL, SIGQUIT and SIGINT (#5780 )
...
* Add handling of SIGTERM, SIGINT and SIGQUIT
Fix #5649
* Fix signals and log levels
* Add missing imports
* Add sig count to the logs
2022-07-19 09:32:56 +02:00
Kian Paimani
f61dd0a049
companion for new pools reward scheme ( #5757 )
...
* companion for new pools reward scheme
* fix build
* fix
* Fux
* update lockfile for {"substrate"}
* fmt
Co-authored-by: parity-processbot <>
2022-07-13 15:34:24 +00:00
Bernhard Schuster
3240cb5e4d
split NetworkBridge into two subsystems ( #5616 )
...
* foo
* rolling session window
* fixup
* remove use statemetn
* fmt
* split NetworkBridge into two subsystems
Pending cleanup
* split
* chore: reexport OrchestraError as OverseerError
* chore: silence warnings
* fixup tests
* chore: add default timenout of 30s to subsystem test helper ctx handle
* single item channel
* fixins
* fmt
* cleanup
* remove dead code
* remove sync bounds again
* wire up shared state
* deal with some FIXMEs
* use distinct tags
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* use tag
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* address naming
tx and rx are common in networking and also have an implicit meaning regarding networking
compared to incoming and outgoing which are already used with subsystems themselvesq
* remove unused sync oracle
* remove unneeded state
* fix tests
* chore: fmt
* do not try to register twice
* leak Metrics type
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
2022-07-12 16:22:36 +00:00
Chevdor
9fc4e16eff
Version bump to v0.9.26/9260 ( #5755 )
...
* Bump spec_version to 9260
* Version bump to v0.9.26
2022-07-06 10:31:45 +00:00
dependabot[bot]
8e60bf0007
Bump wasmtime from 0.38.0 to 0.38.1 ( #5741 )
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 0.38.0 to 0.38.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v0.38.0...v0.38.1 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 09:46:20 +00:00
Svyatoslav Nikolsky
3f29fd04e1
Remove bridges subtree ( #5752 )
...
* remove bridges folder
* remove BRIDGES.md
* remove bridges mentions from top Cargo.toml
* remove bridges from CODEOWNERS
* remove bridges mentions from testing.md
* remove bridge pallets from Rococo/Wococo runtime
* also remove from node
2022-07-06 06:54:38 +00:00
dependabot[bot]
533aad991a
Bump quote from 1.0.19 to 1.0.20 ( #5736 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.19 to 1.0.20.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.19...1.0.20 )
---
updated-dependencies:
- dependency-name: quote
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-06-29 02:48:47 +00:00
Koute
4981446a82
Update dependencies (companion for substrate#11722) ( #5731 )
...
* Update dependencies
* Update `substrate` to ee3eb8f2448cc1bb978c5d1564febd351c128bb0
2022-06-28 09:13:54 +00:00
dependabot[bot]
ae9c1e6416
Bump reqwest from 0.11.10 to 0.11.11 ( #5732 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.10 to 0.11.11.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.10...v0.11.11 )
---
updated-dependencies:
- dependency-name: reqwest
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-06-28 05:53:03 +00:00
dependabot[bot]
09b10fa25e
Bump parity-scale-codec from 3.1.2 to 3.1.5 ( #5720 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.1.2 to 3.1.5.
- [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-3.1.2...parity-scale-codec-3.1.5 )
---
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>
2022-06-27 10:27:49 +00:00
Koute
bda05cecaf
Bump wasmtime to 0.38.0 and zstd to 0.11.2 (companion for substrate#11720) ( #5707 )
...
* Bump `wasmtime` to 0.37.0 and `zstd` to 0.11.2
* Bump `wasmtime` to 0.38.0
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-24 12:29:29 +00:00
Sergei Shulepov
94a85eeac7
pvf: ensure enough stack space ( #5712 )
...
* pvf: ensure enough stack space
* fix typos
Co-authored-by: Andronik <write@reusable.software >
* Use rayon to cache the thread
Co-authored-by: Andronik <write@reusable.software >
2022-06-24 13:16:36 +02:00
dependabot[bot]
b8e4627157
Bump proc-macro2 from 1.0.39 to 1.0.40 ( #5719 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.39...1.0.40 )
---
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>
2022-06-23 09:31:08 +00:00
dependabot[bot]
a34ed42457
Bump quote from 1.0.18 to 1.0.19 ( #5700 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.18...1.0.19 )
---
updated-dependencies:
- dependency-name: quote
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-06-23 07:39:05 +00:00
Adrian Catangiu
b9482cf788
Rococo: add new pallet-beefy-mmr API (companion for substrate#11406) ( #5516 )
...
* Rococo: add new pallet-beefy-mmr API
* rename BeefyMmr exposed api
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-22 19:31:56 +00:00
Mara Robin B
97f9b840e4
bump versions to 0.9.25 ( #5684 )
...
* kusama: bump spec_version to 9250
* polkadot: bump spec_version to 9250
* rococo: bump spec_version to 9250
* westend: bump spec_version to 9250
* bump version to 0.9.25
* bump transaction version (polkadot & kusama) (#5690 )
* kusama: bump transaction_version to 12
* polkadot: bump transaction_version to 13
2022-06-21 13:02:04 +00:00
Bastian Köcher
afd8fc5dee
Companion: Bump syn ( #5701 )
...
* Companion: Bump syn
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-20 11:09:06 +00:00
dependabot[bot]
1ce193e11b
Bump hyper from 0.14.18 to 0.14.19 ( #5607 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.18 to 0.14.19.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.18...v0.14.19 )
---
updated-dependencies:
- dependency-name: hyper
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-06-18 23:49:11 +02:00
Qinxuan Chen
6c1c27c1ff
Remove futures 0.1 ( #5699 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-06-18 14:01:33 +00:00
dependabot[bot]
aab44db13a
Bump indexmap from 1.8.1 to 1.9.0 ( #5689 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.8.1...1.9.0 )
---
updated-dependencies:
- dependency-name: indexmap
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-06-17 17:06:31 +02:00
Keith Yeung
2c85668512
Companion for paritytech/substrate#11631 ( #5671 )
...
* Companion for paritytech/substrate#11631
* Fixes
* Update sp-runtime
* Fixes
* update lockfile for {"substrate"}
* remove unused
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-16 13:36:01 -04:00
ZhiYong
a3125b9f47
Companion for substrate#11618 ( #5677 )
...
* Companion for substrate#11618
* Fix
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-16 02:05:22 +00:00
Georges
2ba1c54fc7
Companion to combine iteratons and tolerance in sp-npos-elections API #11498 ( #5581 )
...
* Fixing staking miner
* cargo update -p sp-io
* fix spell
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-15 20:57:26 -04:00
Niklas Adolfsson
77f4cab60c
Companion for #11661 ( #5676 )
...
* bump jsonrpsee v0.14.0
* update Cargo.lock
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-14 23:48:31 +02:00
dependabot[bot]
345fe4fa23
Bump lru from 0.7.5 to 0.7.7 ( #5675 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.5 to 0.7.7.
- [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.5...0.7.7 )
---
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-06-14 19:16:30 +00:00
Nazar Mokrynskyi
9a31f9a918
Companion PR for Substrate 11537 ( #5619 )
...
* Companion PR for https://github.com/paritytech/substrate/pull/11537
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-14 18:08:13 +00:00
André Silva
46bf80c5df
Companion for substrate#11302 ( #5667 )
...
* bridges: bump finality-grandpa version
* bridges: fix tests
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-14 11:22:44 +00:00
Kian Paimani
5d8c842b45
add weights for pool::chill ( #5670 )
...
* add weights for pool::chill
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-13 23:02:02 +00:00
Keith Yeung
f3c49cb790
Companion for paritytech/substrate#11584 ( #5633 )
...
* Companion for paritytech/substrate#11584
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-13 18:34:45 +00:00
dependabot[bot]
45fb4baa21
Bump crossbeam-utils from 0.8.5 to 0.8.8 ( #5644 )
...
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam ) from 0.8.5 to 0.8.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.5...crossbeam-utils-0.8.8 )
---
updated-dependencies:
- dependency-name: crossbeam-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 10:23:00 +00:00
Bernhard Schuster
753d6f29e0
[orchestra] extract graph logic and enhance with cycle detection + coloring ( #5614 )
...
* extract graph
* move into scope
* remove dead code
* add special nodes
* avoid some clones
* better doc
* maybe better to use ✨
* print all cycles, or an error
Currently kosaraju_scc returns invalid cycles, which is yet to be investigated.
* don't print tiny cycles, if there is nothing to unvisited anymore, there is a cycle
* make print better
* fmt ffs
* correct: cycle -> scc
A strongly connected cluster contains at least one cycl, but could include more.
So this should be distringuished in the implementation to avoid some confusion.
* fix loop exit condition
* add a test for kosaraju behavior
* unify on 'component'
* disable graph by default
https://github.com/paritytech/ci_cd/issues/433
* chore: fmt
* move graph only to graph_helpers
2022-06-06 16:35:31 +00:00
Oliver Tale-Yazdi
4206f8f45a
Cleanup macro magic ( #5270 )
...
* Cleanup macro magic
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make sign_call infallible
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix build
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-06-01 10:28:14 +00:00
Gavin Wood
5f350d4d69
Companion for #11124 ( #5615 )
...
* Bump
* Formatting
2022-05-31 11:59:54 +01:00
Gavin Wood
026848c932
Companion to Substrate #11490 ( #5603 )
...
* Fix warnings
* Bump
2022-05-30 11:21:03 +01:00
Mara Robin B
7eba8f2162
bump to 0.9.23 ( #5593 )
...
* bump version to 0.9.23
* bump spec_version to 9230
2022-05-27 10:18:23 +02:00
Kian Paimani
dc4a455911
remove pallet-nicks from everywhere ( #5587 )
...
* remove pallet-nicks from everywhere
* Update Cargo.lock
* Update Cargo.lock
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-05-25 15:25:43 +00:00
Nazar Mokrynskyi
c090fb4c2e
Companion for #11415 (WeightToFee) ( #5525 )
...
* Companion for https://github.com/paritytech/substrate/pull/11415
* Rename `WeightToFee::calc()` to `WeightToFee::wight_to_fee()`
* Fix typo
* Fix compile errors
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-25 10:06:01 +02:00
Bernhard Schuster
032d623e8c
orchestra license headers ( #5588 )
2022-05-24 13:10:03 +02:00
Bernhard Schuster
fd51ecbe70
prepare orchestra crate publishing ( #5579 )
2022-05-24 11:06:47 +02:00
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
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
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
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
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
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
Bastian Köcher
28cae2ef45
Substrate companion #11387 ( #5531 )
...
* Substrate companion #11387
https://github.com/paritytech/substrate/pull/11387
* Update runtime/common/src/crowdloan/migration.rs
* cargo update -p sp-io
* fmt
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-05-17 23:33:49 +00:00
Oliver Tale-Yazdi
157b5186ba
Co #10719 : Use into_account_truncating ( #4947 )
...
* Use into_account_truncating
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* more truncating
* more truncating
* more
* clean up parachain primitives
* more truncating
* update lockfile for {"substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-05-17 17:53:14 -04:00
dependabot[bot]
2907a7aeae
Bump jsonrpsee from 0.13.0 to 0.13.1 ( #5533 )
...
Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/paritytech/jsonrpsee/releases )
- [Changelog](https://github.com/paritytech/jsonrpsee/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: jsonrpsee
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-17 23:02:09 +02:00