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
Chris Sosnin
a032a128e5
configuration: drop pvf_checking_enabled parameter ( #7396 )
...
* configuration: drop pvf_checking_enabled
* fix warning
2023-07-11 12:02:47 +00:00
Kian Paimani
c67723012b
Companion #14527 ( #7475 )
2023-07-09 15:44:24 +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
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
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
Anton
982a6847ae
add pallet_im_online::migration to Unreleased migrations ( #7387 )
...
* add pallet_im_online::migration to Unreleased migrations
refs https://github.com/paritytech/polkadot/pull/7309#issuecomment-1593030554
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: command-bot <>
2023-06-26 00:19:55 +02:00
joe petrowski
c206d9b375
Clear Existing HRMP Channel Request When Force Opening ( #7389 )
...
* clear existing hrmp channel request when force opening
* return unused weight
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* fix
* update weight signature to u32
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-06-21 14:57:05 +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
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
Mara Robin B
958cf435b1
update weights ( #7298 )
...
* polkadot: update weights
* westend: update weights
* kusama: update weights
* rococo: update weights
2023-06-13 13:54:10 +02:00
eskimor
4527f24735
Move vstaging to production ( #7341 )
...
* Move vstaging to production (and thus past session slashing).
WIP: test-runtime still needs to be fixed.
* Fix test-runtime.
---------
Co-authored-by: eskimor <eskimor@no-such-url.com >
2023-06-12 11:15:37 +00:00
Keith Yeung
f2fe05a757
Implement AliasOrigin processing in XCVM ( #7245 )
...
* Implement AliasOrigin processing in XCVM
* add builder types and first test
* switch to more general builder types
* clone target for RemovePrefixAccountId32
* change builder types
* change AliasForeignAccountId32 and add test for AliasCase
* add Aliasers type to xcm configs
* add benchmark
* benchmark fix
* add benchmark function for runtimes
* fix alias_origin result types
* fix benchmark test
* add runtime-benchmarks feature in pallet-xcm-benchmarks
* fmt
* remove AliasCase, add test and fmt
* address feedback
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic
* address feedback
* lock
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic
* change doc
* fmt
---------
Co-authored-by: Just van Stam <just.van.stam@gmail.com >
Co-authored-by: Just van Stam <vstam1@users.noreply.github.com >
Co-authored-by: command-bot <>
2023-06-05 14:39:01 +00:00
Oliver Tale-Yazdi
2d73e39d2f
Fix XCM benchmark template ( #7320 )
...
* Fix XCM benchmark template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Keep function pub
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* ".git/.scripts/commands/bench/bench.sh" xcm kusama pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm westend pallet_xcm_benchmarks::generic
* ".git/.scripts/commands/bench/bench.sh" xcm rococo pallet_xcm_benchmarks::generic
* Fix test
* Actually fix test
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
2023-06-02 08:52:06 +00:00
Adrian Catangiu
306270b889
rococo-runtime: use mmr-specific Hash ( #7318 )
...
pallet-mmr can be configured with a different hashing scheme
than frame-system pallet. Make sure to use this custom type
for MmrApi.
Signed-off-by: Adrian Catangiu <adrian@parity.io >
2023-06-01 12:20:03 +03: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
Oliver Tale-Yazdi
50b53fcac3
pallet-para-config: Remove remnant WeightInfo functions ( #7308 )
...
* pallet-para-config: Remove remnant WeightInfo functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* set_config_with_weight begone
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* ".git/.scripts/commands/bench/bench.sh" runtime kusama-dev runtime_parachains::configuration
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
2023-05-30 16:27:12 +00:00
ordian
9bc4f62eff
runtime: past session slashing runtime API ( #6667 )
...
* runtime/vstaging: unapplied_slashes runtime API
* runtime/vstaging: key_ownership_proof runtime API
* runtime/ParachainHost: submit_report_dispute_lost
* fix key_ownership_proof API
* runtime: submit_report_dispute_lost runtime API
* nits
* Update node/subsystem-types/src/messages.rs
Co-authored-by: Marcin S. <marcin@bytedude.com >
* revert unrelated fmt changes
* post merge fixes
* fix compilation
---------
Co-authored-by: Marcin S. <marcin@bytedude.com >
2023-05-26 09:35:46 +00:00
Gavin Wood
85dfadff2c
XCM: Tools for uniquely referencing messages ( #7234 )
...
* Tools for unique topic references
* Formatting
* Naming
* Repot into routing.rs.
* More things done
* Universal Exporter supports topic-as-reference
* Some tests for the topic routing
* More tests
* Paid bridge tests
* Add message ID to sending events
* Formatting
* fix and integrate into test nets
* Move DenyThenTry and friend from Cumulus
* Append SetTopic rather than prepend
* Docs
* Docs
* Work with new ProcessMessage ID API
* Formatting
* Fix build
* Fixes
* Formatting
* Update xcm/xcm-builder/src/barriers.rs
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com >
* Update xcm/xcm-builder/src/routing.rs
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com >
* Docs
* Rename message_hash
* Formatting
* ".git/.scripts/commands/fmt/fmt.sh"
* Rename
* Another Rename
* ".git/.scripts/commands/fmt/fmt.sh"
* ".git/.scripts/commands/fmt/fmt.sh"
* Update xcm/xcm-builder/src/routing.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
---------
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com >
Co-authored-by: command-bot <>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2023-05-25 07:57:32 +01:00
Bastian Köcher
28de4f1337
Companion: Substrate#13869 ( #7119 )
...
* Companion: Substrate#13869
https://github.com/paritytech/substrate/pull/13869
* update lockfile for {"substrate"}
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: parity-processbot <>
2023-05-24 22:36:56 +00:00
Bastian Köcher
c74737e395
Companion for Substrate#14214 ( #7283 )
...
* Companion for Substrate#14214
https://github.com/paritytech/substrate/pull/14214
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-24 15:52:31 +00:00
Liam Aharon
418e95d4c8
Ensure all StorageVersions on Rococo/Westend are correct and migration hooks pass ( #7251 )
...
* set fastunstake storage version
* fix configration migration hooks
* set missing rococo versions
* remove child bounties version set
* future proof this configuration migration
* simplify rococo migration
* simplify westend version migration
* typo
* restore missing comments
* set configuration storage version correctly
* remove redundant preupgrade version check
* fix version checks
* remove redundant comment
2023-05-23 08:47:27 +00:00
Gavin Wood
0d3f4837e8
Companion to #14183 : FRAME: Allow message ID to be mutated in ProcessMessage ( #7262 )
...
* Work with new ProcessMessage ID API
* Enable new ProcessMessage API
* Formatting
* Fixes
* Bump
* cargo update -p sp-io
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 >
2023-05-22 00:47:16 +01:00
Gavin Wood
400864c352
Use Message Queue pallet for UMP dispatch ( #6271 )
...
* Add ProcessXcmMessage struct
* Migrate away from weights in host config
* New well-known key to report UMPQ capacity
* Add missing file
* Fixes
* Remove original UMP files
* Docs
* Update runtime/parachains/src/inclusion/mod.rs
Co-authored-by: asynchronous rob <rphmeier@gmail.com >
* Add benchmarking
* Benchmarks
* Mock example of using the QueueChangeHandler to update the WKK
* Use master Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Merge remote-tracking branch 'origin/master' into gav-message-queue
* Update Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update remove-weight migration
The migration got touched on master; just resolving conflicts here.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add message- to dispatch-origin conversion for XCM processing
Just using the `impl Into<MultiLocation>` was a bit inflexible.
Like this, the Relaychain can convert `UMP(para)` to a MultiLocation `para`.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* DNM: Temporarily comment code since XCMv3 is not merged yet
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use u64 for queue-wide limits on UmpAcceptanceCheckErr
Using u32 here was one audit finding for the queue pallet.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Define one sub-queue per *MP queue
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Harden check_upward_messages
Using safe math and casts.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add type-safe well_known_keys
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add message-queue weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Deploy MessageQueue to Polkadot
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update Cargo.toml
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Migrate to parachain config V5
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update UMP tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert messed up merge 🤦
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update remove-weight migration
The migration got touched on master; just resolving conflicts here.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add message- to dispatch-origin conversion for XCM processing
Just using the `impl Into<MultiLocation>` was a bit inflexible.
Like this, the Relaychain can convert `UMP(para)` to a MultiLocation `para`.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* DNM: Temporarily comment code since XCMv3 is not merged yet
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use u64 for queue-wide limits on UmpAcceptanceCheckErr
Using u32 here was one audit finding for the queue pallet.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Define one sub-queue per *MP queue
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Harden check_upward_messages
Using safe math and casts.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add type-safe well_known_keys
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add message-queue weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Deploy MessageQueue to Polkadot
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update Cargo.toml
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Migrate to parachain config V5
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update UMP tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make stuff compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Move DMP and HRMP messages to the MessageQueue
It currently does not compile in the CIbecause of some local
tweaks to Substrate.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Diener for CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* diener update cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert wrong changes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "DNM: Temporarily comment code since XCMv3 is not merged yet"
This reverts commit 820aa235cb21dd1d2621843607f7682bf035434e.
* Make compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup runtimes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Define benchmarks
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use master Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Lockfile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add AggregateMessageOrigin
This enum currently only holds one value, but having it will make
it easier in the future to extend.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Forbid UMP for off-boarding paras
- Reject candidates with UMP messages for off-boarding paras
- Forbid scheduling off-boarding when a para has unprocess UMPs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Delete stupid test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use BoundedVec for upward messages
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add weights and fix MessageProcessor
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bound receive_upward_messages and check bound in configuration pallet
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bound Debug impl
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test runtime
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix xcm-simulator
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Properly fix xcm-simulator and fuzzer
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
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 >
* Adapt to upstream Substrate changes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix ProcesseMessage impls
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Some tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use master Cargo.lock
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 >
* Use new MQ API
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add UMP while Para offboarding tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use Mocked message processor for benchmarking
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use variables for constants
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add MQ pallet weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use MQ pallet weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Configure QueueChangeHandler
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add config test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix MQ serive weight
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Cleanup outgoing UMP dispatch queues
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use Master Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Weight mul is not const
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove merge marker
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update runtime/parachains/src/inclusion/mod.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
* Update runtime/kusama/src/lib.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
* Use lowercase UMP
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Clarify comment
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use Weight::from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix doc
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Emit event after the fact
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add defensive_proof to receive_upward_messages
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Reapply "Remove original UMP files"
Looks like they came back from the dead. Re-apply commit cf6d316f0
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove old files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename MaxUmpMessageLen -> MaxUmpMessageLenOf
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test defensive message dropping of receive_upward_messages
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update implementors guide
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove FAIL-CI mark
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Delete unused code
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add another test for MQ change hook
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Keep Kusama runtime formatting
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Delete unused code"
This reverts commit dd76bca5025b7e1ef846a9539c3607eed185f16a.
* Feature gate mock functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review: Use saturating_add
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test RelayDispatchQueueSize storage key
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Move migration to own file to avoid merge conflicts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Migration in own file
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rococo: configure MQ pallet
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Rococo: configure MQ pallet"
Going to do this as follow up, since it needs Substrate changes
and i dont want to stall this MR any longer.
This reverts commit b9c15e8a8339c4e877d654ee3f09903af4210736.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Fixup tests"
This reverts commit 88f1cbe20774d20e5e1e554e798960ae39437af1.
* Fixup migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix other migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bump MAX_CODE_SIZE to 10MiB
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add ForceUpdateUmpLimits migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use defensive instead of defensive_proof
'defensive_proof' also prints the 'self', which spams the console
too much when running the tests. Just the length is enough.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename to ScheduleConfigUpdate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup migration checks
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add MAX_CODE_SIZE to ScheduleConfigUpdate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Set MAX_CODE_SIZE to 4MiB
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix benchmark
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix formatting
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Add MAX_CODE_SIZE to ScheduleConfigUpdate"
This reverts commit 7caffb09e83083b57affd548215e45b25c3d64dc.
* Revert "Set MAX_CODE_SIZE to 4MiB"
This reverts commit 103ffbaf686487d2fbe0082a16826af17cacc1a1.
* Revert "Bump MAX_CODE_SIZE to 10MiB"
This reverts commit 530734b7b0da5b7680054e0242348fcc79a666fe.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove consistency check from migration
Re-addig these checks is blocked on https://github.com/paritytech/polkadot/issues/7108
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix constants
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bump MAX_UPWARD_MESSAGE_SIZE_BOUND for Westend
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix migrations
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use old nightly for fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixes
* cargo fmt
* 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 >
* Fixes
* Add MQ pallet to fuzzer
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix XMC simulator example
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove runtime-benchmarks from fuzzers
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Remove runtime-benchmarks from fuzzers"
This reverts commit e1f2bb01b6dea2dd465539d3658719895b58b557.
* Fix example simulator
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add V6 migration and remove old ones
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Actually make old migrations reusable
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Dont delete old migrations
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Future proof AggregateMessageOrigin and review fixes
There are indications that Loopback and Bridged will be needed soon.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* More cleanup
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fix benchmarks
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix fuzzer build
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review
Co-authored-by: muharem <ismailov.m.h@gmail.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove old migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Set MQ service weight to 20%
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tabs in Markdown
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: asynchronous rob <rphmeier@gmail.com >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2023-05-19 16:14:13 +00:00
Falco Hirschenberger
7f391adf44
companion PR for https://github.com/paritytech/substrate/pull/13373 ( #7060 )
...
* companion PR for https://github.com/paritytech/substrate/pull/13373
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-11 17:49:34 +00:00
Doordashcon
df7c5b3ecc
Substrate Companion ( #7118 )
...
* sudo benchmarks
* cargo fmt
* sub weights
* Update Cargo.lock
* NC.l
* undo
* cargo fmt
* update sudo weights
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-11 16:13:29 +00:00
Chris Sosnin
9c08536d5f
paras: dismiss pvf_checking_enabled configuration ( #7138 )
...
* paras: unconditionally precheck pvfs
* Update integration tests
* paras_registrar tests
* runtime benchmark tests
* fix bench
* bypass prechecking in test node
* adjust bench
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras
* ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras
* ".git/.scripts/commands/bench/bench.sh" runtime rococo runtime_parachains::paras
* ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras
* use test helper
* fix new test
---------
Co-authored-by: command-bot <>
2023-05-08 18:58:55 +00:00
Muharem Ismailov
245305be4e
XCM remote lock consumers ( #6947 )
...
* xcm remote lock consumers
* update xcm pallet config setups
* fix import
* update xcm pallet config setups
* rename consumers to users
* rename
* rename users to consumers, more docs
* correct doc
---------
Co-authored-by: parity-processbot <>
2023-05-05 14:11:35 +00:00
Oliver Tale-Yazdi
615366dba7
Sort migrations by release ( #7168 )
...
* Sort migrations by release
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Inline 'SinceV0940'
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Mention order
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Extend comment
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-05-03 15:37:12 +00:00
Mara Robin B
d50ff483f8
update weights (sync with 0.9.42) ( #7149 )
...
* polkadot: update weights
* westend: update weights
* kusama: update weights
* rococo: update weights
2023-05-02 13:12:47 +00:00
Keith Yeung
d20e3c1145
XCM: Implement a blocking barrier ( #7098 )
...
* Move XCM matcher to xcm-builder
* Use ProcessMessageError as the error type in MatchXcm and ShouldExecute
* Implement a blocking barrier
* Fixes
* Add benchmarking for force_suspension
* ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime kusama 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
---------
Co-authored-by: command-bot <>
2023-04-27 10:22:39 +00:00
gupnik
d8723a080c
Offences Migration v1: Removes ReportsByKindIndex ( #7114 )
...
* Companion for substrate
* Adds kusama migration
* update lockfile for {"substrate"}
* Temp allow try-runtime to fail
... until https://github.com/paritytech/substrate/issues/14006 is done.
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: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-04-26 04:08:08 +00:00
Alejandro Martinez Andres
63d354aea0
Bump assigned_slots params ( #6991 )
2023-04-24 14:31:37 +00:00
Keith Yeung
023d459857
XCM: Properly set the pricing for the DMP router ( #6843 )
...
* Properly set the pricing for the DMP router
* Publicize price types
* Use FixedU128 instead of Percent
* Add sp-arithmetic as a dependency for rococo runtime
* Add sp-arithmetic as a dependency to all runtimes
* Remove duplicate import
* Add missing import
* Fix tests
* Create an appropriate QueueDownwardMessageError variant
* Recalculate delivery fee factor based on past queue sizes
* Remove unused error variant
* Fixes
* Fixes
* Remove unused imports
* Rewrite fee factor update mechanism
* Remove unused imports
* Fixes
* Update runtime/parachains/src/dmp.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* Make DeliveryFeeFactor be a StorageMap keyed on ParaIds
* Fixes
* introduce limit for fee increase on dmp queue
* add message_size based fee factor to increment_fee_factor
* change message_size fee rate to correct value
* fix div by 0 error
* bind limit to variable
* fix message_size_factor and add DeliveryFeeFactor test
* add test for ExponentialPrice implementation
* make test formula based
* make delivery fee factor test formula based
* add max value test for DeliveryFeeFactor and move limit to config
* change threshold back to dynamic value and fix tests
* fmt
* suggested changes and fmt
* small stylistic change
* fmt
* change to tokenlocation
* small fixes
* fmt
* remove sp_arithmetic dependency
* Update runtime/parachains/src/dmp.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
---------
Co-authored-by: Squirrel <gilescope@gmail.com >
Co-authored-by: Just van Stam <just.van.stam@gmail.com >
Co-authored-by: Just van Stam <vstam1@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2023-04-20 11:04:33 +00:00
Muharem Ismailov
2842e2f62c
Companion for substrate#13771 ( #6983 )
...
* max proposal weight config
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-04-19 11:59:00 +00:00
dependabot[bot]
bf9497e874
Bump serde_json from 1.0.85 to 1.0.96 ( #7072 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.85 to 1.0.96.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.96 )
---
updated-dependencies:
- dependency-name: serde_json
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>
2023-04-17 18:10:54 +00:00
dependabot[bot]
aa93b50120
Bump hex-literal from 0.3.4 to 0.4.1 ( #7071 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.3.4 to 0.4.1.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.4...hex-literal-v0.4.1 )
---
updated-dependencies:
- dependency-name: hex-literal
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>
2023-04-17 18:48:35 +02:00
Mara Robin B
926f9a6381
sync versions with current release ( #7083 )
...
* sync workspace version with current release
* polkadot: sync spec with current release
* westend: sync spec with current release
* kusama: sync spec with current release
* rococo: sync spec with current release
2023-04-17 12:52:14 +00:00
s0me0ne-unkn0wn
0211c4b2f7
Enable changing executor params through governance ( #6934 )
...
* Add a pallet call to change executor params
* Use `OptionQuery`; Avoid runtime panic
* Move pending executor params to `configuration`
* Move `ExecutorParams` to `HostConfiguration` structure
* Add executor params to the v5 migration
* Add an `ExecutorParams` benchmark
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::configuration
* Add to `WeightInfo`
* Add dummy weights to other networks
* ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::configuration
* ".git/.scripts/commands/bench/bench.sh" runtime rococo runtime_parachains::configuration
* ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::configuration
* Use real weight
* Fix comment
---------
Co-authored-by: command-bot <>
2023-04-14 11:21:12 +00:00
Keith Yeung
3df25a1fd7
Use RuntimeHoldReason for the NIS pallet HoldReason ( #7017 )
...
* Use RuntimeHoldReason for the NIS pallet HoldReason
* Update substrate
* Fixes
* Fixes
* Fixes
* Fixes
* Move encoding test to tests.rs
2023-04-13 10:00:26 +02:00
Roman Useinov
5a052da674
[Deps] bump scale-info to be in line with cumulus ( #7049 )
...
* bump scale-info to be in line with cumulus
* remove irrelevant lines
* fix Cargo.lock
2023-04-12 11:06:59 +00:00
s0me0ne-unkn0wn
64660ee8d2
Remove years from copyright notes ( #7034 )
...
* Happy New Year!
* Remove year entierly
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove years from copyright notice in the entire repo
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-04-08 20:38:35 +00:00
Oliver Tale-Yazdi
a57f3ae4c1
Co #13699 : Remove old calls ( #7003 )
...
* Remove old calls
Companion for https://github.com/paritytech/substrate/pull/13699
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-04-04 19:29:56 +00:00
s0me0ne-unkn0wn
b47d5ee23b
Companion for paritytech/substrate#13811 ( #6998 )
...
* Companion for paritytech/substrate#13811
* Add comment
* update lockfile for {"substrate"}
* Update Substrate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix pallet weight warnings
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: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-04-04 18:53:13 +00:00
Branislav Kontur
3f67c93dd1
Added origin to config for universal_origin benchmark ( #6986 )
2023-04-04 07:34:56 +00:00
NingBo Wang
906094a295
Add crowdloan to SafeCallFilter ( #6903 )
...
* Add crowdloan to SafeCallFilter
* Add crowdloan to SafeCallFilter
2023-03-31 11:38:12 +00:00
Ross Bulat
96ed979732
Nomination Pools migration v5: RewardPool fix ( #6957 )
...
* pools migration v5
* Allow deprecated
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Keep old migrations around
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* use master Cargo.lock
* revert Cargo.lock master
* clippy: remove unused parentheses
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix parachain config migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make tests work
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-03-27 18:03:49 +00:00
Andrei Sandu
bd209c2d70
inherent disputes: remove per block initializer and disputes timeout event ( #6937 )
...
* Limit disputes weight and remove initializer code
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* const
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove timeout test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback #1
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Remove the new weight limiting for disputes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Remove dispute_conclusion_by_time_out_period
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Enable migrations
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update guide
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* More guide fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Also migrate pending configs
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
---------
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2023-03-24 12:48:56 +01:00