Gonçalo Pestana
55bc8f9f23
Companion for substrate#12970 ( #6807 )
...
* Runtime companion changes
* updates runtime configs
* Fixes runtime-test runtime configs
* Uses ElectionBounds and builder from own mod
* updates new bounds mod
* Fixes test-runtime mock
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-08-10 10:42:43 +02:00
Davide Galassi
ebf29d7a65
Companion for #14412 ( #7547 )
...
* Companion for 14412
* update lockfile for {"substrate"}
* Trigger CI
---------
Co-authored-by: parity-processbot <>
2023-08-09 18:28:48 +02:00
drskalman
2bbc7a73a3
Companion for Substrate#14373 ( #7572 )
...
* rename BEEFY `crypto` →`ecdsa_crypto`
* - bump up `BeefyApi` to version 3
- deal with `PeerId` error.
* update BEEFY dependency names for `fake-runtime` and `chain_spec`
revert Cargo.toml
* cargo fmt
* Use master Cargo.lock
* update lockfile for {"substrate"}
---------
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: parity-processbot <>
2023-08-02 15:25:12 +00:00
Dmitry Markin
253c505edc
[companion] Get rid of Peerset compatibility layer ( #7355 )
...
* Update `NetworkPeers` trait interface
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-08-02 13:37:12 +00:00
eskimor
367098bae5
Take into account size as well in weight limiting. ( #7369 )
...
* Take into account size as well in weight limiting.
* Fix logging.
* More logs.
* Remove randomized selection in provisioner
No longer supported by runtime.
* Fix and simplify weight calculation.
Random filtering of remote disputes got dropped.
* Make existing tests pass.
* Tests for size limiting.
* Fix provisioner.
* Remove rand dependency.
* Better default block length for tests.
* ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras_inherent
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras_inherent
* ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras_inherent
* Update runtime/parachains/src/paras_inherent/mod.rs
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Update runtime/parachains/src/paras_inherent/mod.rs
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
* Add back missing line.
* Fix test.
* fmt fix.
* Add missing test annotation
---------
Co-authored-by: eskimor <eskimor@no-such-url.com >
Co-authored-by: command-bot <>
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
2023-08-01 12:43:54 +00:00
Marcin S
85b06f18b9
98.6% OF DEVELOPERS CANNOT REVIEW THIS PR! [read more...] ( #7337 )
...
* [WIP] PVF: Split out worker binaries
* Address compilation problems and re-design a bit
* Reorganize once more, fix tests
* Reformat with new nightly to make `cargo fmt` test happy
* Address `clippy` warnings
* Add temporary trace to debug zombienet tests
* Fix zombienet node upgrade test
* Fix malus and its CI
* Fix building worker binaries with malus
* More fixes for malus
* Remove unneeded cli subcommands
* Support placing auxiliary binaries to `/usr/libexec`
* Fix spelling
* Spelling
Co-authored-by: Marcin S. <marcin@realemail.net >
* Implement review comments (mostly nits)
* Fix worker node version flag
* Rework getting the worker paths
* Address a couple of review comments
* Minor restructuring
* Fix CI error
* Add tests for worker binaries detection
* Improve tests; try to fix CI
* Move workers module into separate file
* Try to fix failing test and workers not printing latest version
- Tests were not finding the worker binaries
- Workers were not being rebuilt when the version changed
- Made some errors easier to read
* Make a bunch of fixes
* Rebuild nodes on version change
* Fix more issues
* Fix tests
* Pass node version from node into dependencies to avoid recompiles
- [X] get version in CLI
- [X] pass it in to service
- [X] pass version along to PVF
- [X] remove rerun from service
- [X] add rerun to CLI
- [X] don’t rerun pvf/worker’s (these should be built by nodes which have rerun enabled)
* Some more improvements for smoother tests
- [X] Fix tests
- [X] Make puppet workers pass None for version and remove rerun
- [X] Make test collators self-contained
* Add back rerun to PVF workers
* Move worker binaries into files in cli crate
As a final optimization I've separated out each worker binary from its own crate
into the CLI crate. Before, the worker bin shared a crate with the worker lib,
so when the binaries got recompiled so did the libs and everything transitively
depending on the libs. This commit fixes this regression that was causing
recompiles after every commit.
* Fix bug (was passing worker version for node version)
* Move workers out of cli into root src/bin/ dir
- [X] Pass in node version from top-level (polkadot)
- [X] Add build.rs with rerun-git-head to root dir
* Add some sanity checks for workers to dockerfiles
* Update malus
+ [X] Make it self-contained
+ [X] Undo multiple binary changes
* Try to fix clippy errors
* Address `cargo run` issue
- [X] Add default-run for polkadot
- [X] Add note about installation to error
* Update readme (installation instructions)
* Allow disabling external workers for local/testing setups
+ [X] cli flag to enable single-binary mode
+ [X] Add message to error
* Revert unnecessary Cargo.lock changes
* Remove unnecessary build scripts from collators
* Add back missing malus commands (should fix failing ZN job)
* Some minor fixes
* Update Cargo.lock
* Fix some build errors
* Undo self-contained binaries; cli flag to disable version check
+ [X] Remove --dont-run-external-workers
+ [X] Add --disable-worker-version-check
+ [X] Remove PVF subcommands
+ [X] Redo malus changes
* Try to fix failing job and add some docs for local tests
---------
Co-authored-by: Dmitry Sinyavin <dmitry.sinyavin@parity.io >
Co-authored-by: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2023-07-31 13:35:42 +00:00
Marijn Schouten
1f372d8335
change HashFor to HashingFor ( #7465 )
...
* change HashFor to HashingFor
* Update node/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Bump Substrate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Bump Substrate"
This reverts commit 5df19d03e85a7d39c8c7faa8b5f0f2225751d19a.
* Bump Substrate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-07-25 17:07:36 +00:00
Anton
7a1d96e1ce
[Substrate companion] update libp2p to 0.52.0 ( #7472 )
...
* update tinyvec to 1.6.0
* update once_cell to 1.18.0
* update data-encoding to 2.4.0
* update libc
* update js-sys
* update wasm-bindgen-futures
* update pin-project
* update tokio
* update syn
* p2p protocol now contains `PeerId`
not multihash
* update arrayvec to 0.7.4
* update sha2
* update smallvec
* updates to Cargo.lock after merge
* redo dep updates
* update lru
in attempt to compile polkadot
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-07-25 14:24:59 +00:00
Sergej Sakac
ac253c7139
Add NetworkBridgeEvent::UpdatedAuthorityIds ( #6227 )
...
* Add NetworkBridgeEvent::UpdatedAuthorityIds
* update collator
* informing subsystems
* remove outdated authority data
* docs
* remove accidentally added line
* update docs
* emit event on session change
* emit
* check for update and update
* Update node/network/gossip-support/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/approval-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/bridge/src/rx/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/collator-protocol/src/validator_side/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/collator-protocol/src/collator_side/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/bridge/src/rx/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/subsystem-types/src/messages.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/subsystem-types/src/messages.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/statement-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/statement-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/subsystem-types/src/messages/network_bridge_event.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/subsystem-types/src/messages.rs
Co-authored-by: Andronik <write@reusable.software >
* fixes
* merge fixes
* make clippy happy again
* fix
---------
Co-authored-by: Andronik <write@reusable.software >
2023-07-21 13:48:15 -05:00
Francisco Aguirre
cc9f8129af
Change Fixed to WeightInfoBounds for Polkadot ( #7077 )
...
* Add polkadot XCM benchmarks
* Add temp
* ".git/.scripts/commands/bench/bench.sh" xcm polkadot pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm polkadot pallet_xcm_benchmarks::generic
* Add weights to XCM on Polkadot
* Make CI fail on old files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add reserve_asset_deposited benchmark
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic
* Update weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Change initiate_reserve_deposit in runtime weights
* Update weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove trusted reserves from runtimes
* Fix pallet-xcm-benchmarks mock
* Fix test
* Change pallet xcm weigher in kusama
* Fix
* Remove merge conflict artifact
* Remove initiate_reserve_withdraw from generic benchmarks
* Add missing implementation to XCM benchmark
* Fix failing karura test
* Remove dbg!
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Fix fmt
* Revert "Fix fmt"
This reverts commit 676f2d8db07d7427750c79f95494d4988d06fda5.
* Fix fmt
* Remove duplicated template code
* Add back part of the template
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible
* Don't skip reserve asset deposited benchmark
* Remove call to non-generated benchmark yet
* Underscore unused parameter
* Skip not supported benchmarks and hardcode value
* Remove ReserveAssetDeposited benchmark
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible
* Add back ReserveAssetDeposited
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm polkadot pallet_xcm_benchmarks::fungible
* Use default benchmark for ReserveAssetDeposited
* Add missing parameter
* Revert reserve asset deposited benchmark
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm kusama pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench-vm/bench-vm.sh" xcm westend pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::fungible
* Add 'real' benchmarks
* Add TrustedReserve to actual XcmConfig
* Add TrustedReserve to actual XcmConfig (fix)
* Whitelist from benchmarking XCM storage keys read each block (#6871 )
* Whitelist from benchmarking XCM storage keys read each block
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm
* Remove XcmPallet SupportedVersion from the benchmark whitelist
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime kusama pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm
* WIP
* Add necessary traits, remove unnecessary whitelisted keys
* Fix tests
* Remove unused file
* Remove unused import
---------
Co-authored-by: command-bot <>
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::fungible
* ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::fungible
* Fix spellchecker issues
* Remove unused migration code
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2023-07-19 14:18:03 +00:00
André Silva
eb9b414644
Companion for substrate#14471 ( #7432 )
...
* Companion for substrate#14471
* add missing MaxNominators constant
* missing MaxNominators in test-runtime
* missing MaxNominators in runtime/integration_tests
* Dont use deprecated functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* Update Substrate dep
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-07-18 16:03:38 +00:00
André Silva
9f760192de
companion for substrate#14423 ( #7484 )
...
* companion for substrate#14423
* update lockfile for {"substrate"}
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-07-18 08:06:39 +00:00
Andrei Eres
174f23d1cc
Alert on frequent network errors ( #7410 )
...
* Introduce is_frequent util
* Add dirty warn_if_frequent! implementation
* Add freq
* Fix order in condition
* Update
* Update docs
* Fix
* Remove old impl
* Fix errors
* Add wif to av-distr
* Add wif to col prot
* Rename
* Add wif to state-distr
* Address review comments
* Change Freq implementation
* Remove the zero division check
* Make rate explicit
* Fix typo
* Update rate constant
* Introduce explicit rates
* Update docs
* Split errors freq
* Downgrade coarsetime
2023-07-17 12:05:57 +00:00
Juan
b95cc76d7c
Replace Index for Nonce ( #7374 )
...
* replace Index for Nonce
* remove extra Nonce
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-07-14 08:13:39 +00:00
gupnik
2802414473
Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber ( #7431 )
...
* Companion for substrate
* Minor update
* Formatting
* Fixes for cumulus
* Fixes tests in polkadot-runtime-parachains
* Minor update
* Removes unused import
* Fixes tests in polkadot-runtime-common
* Minor fix
* Update roadmap/implementers-guide/src/runtime/configuration.md
Co-authored-by: ordian <write@reusable.software >
* ".git/.scripts/commands/fmt/fmt.sh"
* update lockfile for {"substrate"}
---------
Co-authored-by: ordian <write@reusable.software >
Co-authored-by: command-bot <>
2023-07-13 12:37:50 +00:00
Liam Aharon
bfaec080cc
fix migrations (also companion for #14421 ) ( #7454 )
...
* fix migrations
* use society versioned runtime upgrade
* simplify usage of versionedruntimeupgrade
* use society experimental feature
* improve usage of experimental flag
* doc comment
* Merge branch 'master' of github.com:paritytech/polkadot into liam-fix-migrations
* Revert "Merge branch 'master' of github.com:paritytech/polkadot into liam-fix-migrations"
This reverts commit 41ab0621811ead11b0a7f91338b0895208feef77.
* doc comment
* westend experimental feature
* Revert "westend experimental feature"
This reverts commit 42f4f1b76655ef509a92c324d18d635a1b913dcb.
* feature gate experimental xcm migration
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-07-13 10:39:01 +00:00
Michal Kucharczyk
95ba849ee6
GenesisBuild<T,I> deprecated. BuildGenesisConfig added (#7397 )
...
* GenesisBuild<T,I> deprecated. BuildGenesisConfig added
* fmt
* fixes
* more fixes
* more fixes
* fixes
* update lockfile for {"substrate"}
* fix
---------
Co-authored-by: parity-processbot <>
2023-07-12 11:04:15 +00:00
Bastian Köcher
0ff60f7da1
Companion for removal of execution strategies ( #7443 )
...
* Companion for removal of execution strategies
https://github.com/paritytech/substrate/pull/14387
* Fix some tests
* 🤦
* Adapt to latest changes
* Start supporting the offchain transaction pool
* Fix tests
* FMT
* Remove patches
* Update Substrate
* update lockfile for {"substrate"}
* Fix parachain upgrade smoke test
* Fix test
* Rewrite all tests to use `MockSubstemClient`
---------
Co-authored-by: parity-processbot <>
2023-07-11 21:55:43 +00:00
Kian Paimani
c67723012b
Companion #14527 ( #7475 )
2023-07-09 15:44:24 +02:00
Andrei Sandu
e8d567a1f5
backing: Remove redundant erasure encoding ( #7469 )
...
* Remove redundant erasure encoding
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix comments
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
---------
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2023-07-07 08:20:30 +00:00
s0me0ne-unkn0wn
c1f865813b
Run timeout-based tests only in CI ( #7390 )
...
* Introduce `ci-only-tests` feature
* Add comment
2023-07-06 08:39:10 +00:00
Marcin S
2b9c4f82a7
PVF: add landlock sandboxing ( #7303 )
...
* Begin adding landlock + test
* Move PVF implementer's guide section to own page, document security
* Implement test
* Add some docs
* Do some cleanup
* Fix typo
* Warn on host startup if landlock is not supported
* Clarify docs a bit
* Minor improvements
* Add some docs about determinism
* Address review comments (mainly add warning on landlock error)
* Update node/core/pvf/src/host.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Update node/core/pvf/src/host.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Fix unused fn
* Update ABI docs to reflect latest discussions
* Remove outdated notes
* Try to trigger new test-linux-oldkernel-stable job
Job introduced in https://github.com/paritytech/polkadot/pull/7371 .
---------
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2023-07-05 12:57:53 -04:00
Bastian Köcher
a40417da96
Companion for Substrate#14511 ( #7459 )
...
* Companion for Substrate#14511
https://github.com/paritytech/substrate/pull/14511
* Make benchmarking build without any native runtime
* Fix warning
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-07-05 08:08:09 +00:00
Squirrel
bf1a464b79
less openssl, more rust ( #7460 )
2023-07-04 20:47:36 +00:00
cheme
714981776c
Kusama state version switch and migration. ( #7015 )
...
* State version switch and migration init
* fix
* migration declaration (last position, westend was first)
* revert unrelated cargo fmt
* move to unrelease
* fmt?
* fmt
* Change size of processing per blocks
* Dispatch error
2023-07-04 16:17:21 +00:00
Bastian Köcher
e53d15aa20
Do not depend on native runtimes for RuntimeApi ( #7451 )
...
* Implement runtime apis for fake runtime
These runtime api implementations are only used to make the compiler
think that we have implemented all required runtime apis. They will not
be called as we switch the executor to `WasmExecutor`. In the near
future we will not require these fake implementations anymore after
Substrate has shifted away from this compile time requirement.
This brings us the advantage that the `polkadot-service` doesn't need to
depend on the runtimes for getting the `RuntimeApi` type.
It also removes around 1min of build time on my machine ;)
* Fix warning
* FMT
* ".git/.scripts/commands/fmt/fmt.sh"
* Use more descriptive id
* Fix warnings
* Adapt path
* Fix 🙈
---------
Co-authored-by: command-bot <>
2023-07-04 10:09:14 +02:00
Gavin Wood
1492a454e9
Revert "Introduce Tinkernet multisig XCM configs to Kusama/Rococo through xcm-builder ( #7165 )" ( #7446 )
...
This reverts commit af99520569 .
2023-06-30 12:38:21 +00:00
Bastian Köcher
15a03d4951
Companion for Substrate#14474 ( #7434 )
...
* Companion for Substrate#14474
This removes the requirement to pass the native dispatch.
* Adapt
* Better
* Remove patch
* ...
* Fix
* Update Substrate
2023-06-29 16:33:32 +00:00
Gabriel Facco de Arruda
af99520569
Introduce Tinkernet multisig XCM configs to Kusama/Rococo through xcm-builder ( #7165 )
...
* Introduce Tinkernet multisig XCM configs
* fmt fix
* overflow handling, comments, clippy fixes
* Adding Tinkernet XCM configs to xcm-builder
* switching spaces to tab
* remove derivation.rs in favor of location_conversion.rs
* replace hardcoded literals with constants
* autoformat
* Fix for the unit test
* replacing expect with an error and renaming constants
* Resolving clippy warning
---------
Co-authored-by: parity-processbot <>
2023-06-28 17:42:25 +00:00
Sebastian Kunert
3a10a29df5
Companion for substrate#14403 ( #7435 )
...
* Bump trie-db
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-06-28 14:27:05 +00:00
Oliver Tale-Yazdi
e377e4becd
Co #14318 : pallet-message-queue: add queue pausing ( #7433 )
...
* Increase recusive limit to 512 for macro expansions
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Increase limit to 1024
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Adjust comment
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Increase more limits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Add QueuePausedQuery
* ... on westend
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* update lockfile for {"substrate"}
* Add QueuePausedQuery
* ... on westend
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test error
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* CI buggy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: parity-processbot <>
2023-06-28 12:17:15 +00:00
Sebastian Kunert
f653f4519b
Companion for substrate #14464 ( #7429 )
...
* Remove unneeded feature flag
* More serde flags
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-06-27 14:06:57 +00:00
dependabot[bot]
6dafe0fcc4
Bump openssl from 0.10.48 to 0.10.55 ( #7414 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.48 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.55 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 10:26:16 +00:00
Koute
8eda0a039f
Bump parity-scale-codec to 3.6.1 ( #7382 )
2023-06-21 19:24:24 +09:00
Gavin Wood
a846d00866
Runtime: Kusama gets Society v2 ( #7356 )
...
* Remove println
* Kusama gets the new society
* Integrate migration
* Formatting
* Add Society weights
* Remive diener
* Fixes
* Update Cargo.toml
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Add real historical payment info for Society.
* Fixes
* Bump Substrate
---------
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-06-18 18:54:31 +02:00
Juan
ced77b3d30
Companion for Soft deprecate GenesisConfig ( #7288 )
...
* update genesis config
* fix wrong RuntimeGenesisConfig name
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-06-16 11:34:50 +00:00
Andrei Eres
0a1bc654d9
Delay reputation updates ( #7214 )
...
* Add futures-timer
* Make cost_or_benefit public
* Update ReportPeer message format
* Add delay to reputation updates (dirtywork)
* Update ReputationAggregator
* Update tests
* Fix flucky tests
* Move reputation to state
* Use the main loop for handling reputation sendings
* Update
* Move reputation to utils
* Update reputation sending
* Fix arguments order
* Update state
* Remove new from state
* Add constant
* Add failing test for delay
* Change mocking approach
* Fix type errors
* Fix comments
* Add message handling to select
* Fix bitfields-distribution tests
* Add docs to reputation aggregator
* Replace .into_base_rep
* Use one REPUTATION_CHANGE_INTERVAL by default
* Add reputation change to statement-distribution
* Update polkadot-availability-bitfield-distribution
* Update futures selecting in subsystems
* Update reputation adding
* Send malicious changes right away without adding to state
* Add reputation to StatementDistributionSubsystem
* Handle reputation in statement distribution
* Add delay test for polkadot-statement-distribution
* Fix collator-protocol tests before applying reputation delay
* Remove into_base_rep
* Add reputation to State
* Fix failed tests
* Add reputation delay
* Update tests
* Add batched network message for peer reporting
* Update approval-distribution tests
* Update bitfield-distribution tests
* Update statement-distribution tests
* Update collator-protocol tests
* Remove levels in matching
* Address clippy errors
* Fix overseer test
* Add a metric for original count of rep changes
* Update Reputation
* Revert "Add a metric for original count of rep changes"
This reverts commit 6c9b0c1ec34491d16e562bdcba8db6b9dcf484db.
* Update node/subsystem-util/src/reputation.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* Remove redundant vec
---------
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
2023-06-15 13:46:06 +00:00
Anton
d3d9d4ae66
[frame/im-online] remove network state from heartbeats ( #7309 )
...
* [frame/im-online] remove external_addresses from heartbeat
* new benchmarks
* format code
* Revert "format code"
This reverts commit 586ddaa6f588b4aef92a0169cfd6a9610d1337b8.
* remove MaxPeerDataEncodingSize
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-06-15 10:25:57 +00:00
Mara Robin B
e71c541ede
sync master with 0.9.43 ( #7358 )
...
* sync workspace version with 0.9.43
* sync spec and tx ver with 0.9.43
* 0943 migrations
2023-06-13 14:30:05 +00:00
Gavin Wood
c8f9b1b7a0
XCM: Remove & replace XCM Convert trait ( #7329 )
...
* Introduce an extensible location-to-hash-account
* Convert becomes RevFallRefConvert
* Use ConvertLocation trait
* Remove Convert usage
* Builds
* Fix warnings
* Remove unused types
* Bump lock
* No need for aliasing
* Remove unused
* Deprecate legacy conversion
* Fixes
* Fixes
* Update Cargo.toml
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com >
* Update xcm/xcm-builder/src/location_conversion.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update xcm/xcm-builder/src/location_conversion.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update xcm/xcm-builder/src/location_conversion.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update xcm/xcm-builder/src/location_conversion.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update xcm/xcm-builder/src/location_conversion.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
* Update xcm/xcm-builder/src/location_conversion.rs
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
---------
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com >
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-06-05 11:00:53 +00:00
Marcin S
5bbb87c46b
PVF: Instantiate wasm in pre-checking ( #7246 )
...
* PVF: Instantiate wasm in pre-checking
* Move `runtime_construction_check` to prepare thread, use bytes
* [minor] Update comment
* Fix compile error
* Update Cargo.lock
* Update docs
* Add some missing docs!
2023-06-02 12:04:04 +00:00
Michal Kucharczyk
a767358122
Serialize/Deserialize trait implemented in no-std for numerous types ( #7312 )
...
* ParaId: Serialize/Deserialize trait implemented in no-std
* Serialize/Deserialize trait implemented in no-std for more types
* serde in deps enabled
* fix
* missing types added
* update lockfile for {"substrate"}
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: parity-processbot <>
2023-06-01 16:17:49 +00:00
Sam Johnson
7f5f3bb20a
bump serde to 1.0.163 ( #7315 )
...
* bump serde to 1.0.163
* bump ci
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-31 17:41:43 +00:00
Alexandru Vasile
aa55e3206b
Companion for #14265 ( #7307 )
...
* Update Cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update Cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: parity-processbot <>
2023-05-31 12:53:39 +00:00
Sam Johnson
8d117412dc
bump to quote 1.0.28 ( #7306 )
2023-05-29 18:13:28 +00:00
Michal Kucharczyk
4f019c4e5b
bounded-collections bump to 0.1.7 ( #7305 )
...
* bounded-collections bump to 0.1.7
Companion for: paritytech/substrate#14225
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-29 17:24:14 +00:00
Alexandru Vasile
0952cdeb0c
Companion for #14237 : Use latest sp-crates ( #7300 )
...
* To revert: Update substrate branch to "lexnv/bump_sp_crates"
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Revert "To revert: Update substrate branch to "lexnv/bump_sp_crates""
This reverts commit 5f1db84eac4a226c37b7f6ce6ee19b49dc7e2008.
* Update cargo lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2023-05-29 11:32:42 +00:00
Bastian Köcher
aa24fbf5ef
Companion for Substrate#14228 ( #7295 )
...
* Companion for Substrate#14228
https://github.com/paritytech/substrate/pull/14228
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-29 10:55:04 +02:00
Michal Kucharczyk
3d008cd074
pallets: implement Default for GenesisConfig in no_std ( #7271 )
...
* pallets: implement Default for GenesisConfig in no_std
This change is follow-up of: https://github.com/paritytech/substrate/pull/14108
It is a step towards: https://github.com/paritytech/substrate/issues/13334
* Cargo.lock updated
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-25 22:26:02 +00:00
Oliver Tale-Yazdi
9535bc9437
Update quote to 1.0.27 ( #7280 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-05-25 22:41:00 +02:00