Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Decrease max_code_size on chain #7108

Closed
bkchr opened this issue Apr 20, 2023 · 15 comments
Closed

Decrease max_code_size on chain #7108

bkchr opened this issue Apr 20, 2023 · 15 comments
Labels
T1-runtime This PR/Issue is related to the topic “runtime”.

Comments

@bkchr
Copy link
Member

bkchr commented Apr 20, 2023

The max_code_size is currently set to 10MiB in Kusama and Polkadot. In the node we are currently assume that the MAX_CODE_SIZE is 3MiB.

As discussed with @eskimor on Tuesday, the max_code_size can not be bigger than the maximum block length/size of Polkadot itself. Otherwise we could not build a block that includes a parachain upgrade which code is bigger than the maximum block size.

We should check all the current active PVF and their size. I would propose we downgrade the max_code_size on Polkadot/Kusama to 4MiB or maybe 3MiB depending on what the biggest active PVF is.

CC @Sophia-Gold

@bkchr bkchr added the T1-runtime This PR/Issue is related to the topic “runtime”. label Apr 20, 2023
@ggwpez
Copy link
Member

ggwpez commented Apr 20, 2023

I snug a change into #6271 since it already schedules a config upgrade in the runtime upgrade.
I will revert&cherry-pick it you are fine with the approach, as I dont want to hold up that MR any longer.

About the value: it was 4MiB previously, but i can do a sweep across the parachains to check the current max.

The migration output looks like this

Active HostConfig:

HostConfiguration {
    max_code_size: 10485760,
    max_head_data_size: 20480,
    max_upward_queue_count: 10,
    max_upward_queue_size: 51200,
    max_upward_message_size: 51200,
    max_upward_message_num_per_candidate: 10,
    hrmp_max_message_num_per_candidate: 10,
    validation_upgrade_cooldown: 14400,
    validation_upgrade_delay: 600,
    async_backing_params: AsyncBackingParams {
        max_candidate_depth: 0,
        allowed_ancestry_len: 0,
    },
    max_pov_size: 5242880,
    max_downward_message_size: 51200,
    hrmp_max_parachain_outbound_channels: 30,
    hrmp_max_parathread_outbound_channels: 0,
    hrmp_sender_deposit: 100000000000,
    hrmp_recipient_deposit: 100000000000,
    hrmp_channel_max_capacity: 1000,
    hrmp_channel_max_total_size: 102400,
    hrmp_max_parachain_inbound_channels: 30,
    hrmp_max_parathread_inbound_channels: 0,
    hrmp_channel_max_message_size: 102400,
    executor_params: ExecutorParams(
        [],
    ),
    code_retention_period: 14400,
    parathread_cores: 0,
    parathread_retries: 0,
    group_rotation_frequency: 10,
    chain_availability_period: 10,
    thread_availability_period: 10,
    scheduling_lookahead: 1,
    max_validators_per_core: Some(
        5,
    ),
    max_validators: Some(
        200,
    ),
    dispute_period: 6,
    dispute_post_conclusion_acceptance_period: 600,
    no_show_slots: 2,
    n_delay_tranches: 89,
    zeroth_delay_tranche_width: 0,
    needed_approvals: 30,
    relay_vrf_modulo_samples: 40,
    pvf_checking_enabled: true,
    pvf_voting_ttl: 2,
    minimum_validation_upgrade_delay: 20,
}
    
Apr 20 11:56:30.494  INFO runtime::configuration: Last pending HostConfig upgrade:

None
    
Apr 20 11:56:30.494  INFO runtime::configuration: post_upgrade    
Apr 20 11:56:30.494  INFO runtime::configuration: Last pending HostConfig upgrade:

Some(
    (
        6122,
        HostConfiguration {
            max_code_size: 4194304,
            max_head_data_size: 20480,
            max_upward_queue_count: 209715,
            max_upward_queue_size: 1048576,
            max_upward_message_size: 65531,
            max_upward_message_num_per_candidate: 16,
            hrmp_max_message_num_per_candidate: 10,
            validation_upgrade_cooldown: 14400,
            validation_upgrade_delay: 600,
            async_backing_params: AsyncBackingParams {
                max_candidate_depth: 0,
                allowed_ancestry_len: 0,
            },
            max_pov_size: 5242880,
            max_downward_message_size: 51200,
            hrmp_max_parachain_outbound_channels: 30,
            hrmp_max_parathread_outbound_channels: 0,
            hrmp_sender_deposit: 100000000000,
            hrmp_recipient_deposit: 100000000000,
            hrmp_channel_max_capacity: 1000,
            hrmp_channel_max_total_size: 102400,
            hrmp_max_parachain_inbound_channels: 30,
            hrmp_max_parathread_inbound_channels: 0,
            hrmp_channel_max_message_size: 102400,
            executor_params: ExecutorParams(
                [],
            ),
            code_retention_period: 14400,
            parathread_cores: 0,
            parathread_retries: 0,
            group_rotation_frequency: 10,
            chain_availability_period: 10,
            thread_availability_period: 10,
            scheduling_lookahead: 1,
            max_validators_per_core: Some(
                5,
            ),
            max_validators: Some(
                200,
            ),
            dispute_period: 6,
            dispute_post_conclusion_acceptance_period: 600,
            no_show_slots: 2,
            n_delay_tranches: 89,
            zeroth_delay_tranche_width: 0,
            needed_approvals: 30,
            relay_vrf_modulo_samples: 40,
            pvf_checking_enabled: true,
            pvf_voting_ttl: 2,
            minimum_validation_upgrade_delay: 20,
        },
    ),
)
    
Apr 20 11:56:30.494  INFO runtime::configuration: Checking config s=6122    
Apr 20 11:56:30.494 ERROR runtime::configuration: The ActiveConfig is inconsistent: MaxCodeSizeExceedHardLimit { max_code_size: 10485760 }. We tolerate this since there are pending consistent upgrades.

@ggwpez
Copy link
Member

ggwpez commented Apr 20, 2023

3 MiB would also be fine it seems, although the previous was 4. Current max across all paras is 1.70MiB. We should probably announce this in the Forum before proceeding.

Parachain Code Size

Relay Para Name Code Size [Byte]
kusama Picasso 1780294
kusama Genshiro 1728386
kusama Genshiro crowdloan 2 1728386
kusama Amplitude 1643834
kusama Bifrost 1627241
polkadot Composable Finance 1573213
kusama Moonriver 1546666
kusama Shiden 1489435
kusama Karura 1482184
kusama Parallel Heiko 1475447
polkadot Acala 1474313
polkadot Moonbeam 1469681
polkadot Parallel 1462944
polkadot Astar 1460806
kusama Kintsugi BTC 1406672
polkadot Bifrost 1402592
polkadot Pendulum 1373998
kusama Khala Network 1335992
polkadot Clover 1318401
kusama Darwinia Crab 1309678
polkadot Phala Network 1293185
polkadot Equilibrium 1281831
kusama QUARTZ by UNIQUE 1202716
polkadot Interlay 1173411
polkadot Nodle 1151341
kusama Altair 1134774
polkadot Efinity 1121310
polkadot Unique Network 1118146
polkadot HydraDX 1105514
polkadot Litentry 1094670
kusama Mangata 1093053
kusama Basilisk 1082842
kusama subzero 1071064
polkadot Bitgreen 1061442
polkadot Zeitgeist 1057255
kusama Tanganika 1031284
polkadot Watr Network 1009246
polkadot Centrifuge 1003614
polkadot Hashed Network 992974
kusama Crust Shadow 983685
polkadot Aventus 980858
kusama Turing Network 978139
polkadot KILT Spiritnet 977736
polkadot Crust 952317
kusama Pichiu 936112
kusama Bajun Network 917254
polkadot OriginTrail 848760
kusama Integritee Network 835723
kusama InvArch Tinkernet 818355
kusama DAO IPCI 809456
kusama Robonomics 807109
kusama Robonomics 2 807109
polkadot Manta 771372
kusama Dora Factory 762242
polkadot Subsocial 752136
polkadot Kylin 728780
kusama Kabocha 720578
kusama GM 711752
polkadot t3rn 644599
polkadot Kapex 633529
polkadot Darwinia 600779
polkadot Ajuna Network 582751
polkadot Frequency 540935
kusama SORA 516993
polkadot Integritee Shell 412227
polkadot Ares Odyssey 0
polkadot Coinversation 0
polkadot Darwinia Backup 0
polkadot Geminis 0
polkadot InvArch 0
polkadot OAK Network 0
polkadot OmniBTC 0
polkadot peaq 0
polkadot Polkadex 0
polkadot SORA 0
polkadot SubDAO 0
polkadot SubGame Gamma 0
kusama Aband 0
kusama Bit.Country Pioneer 0
kusama Calamari 0
kusama Crust Shadow 2 0
kusama Imbue Network 0
kusama KICO 0
kusama KICO 2 0
kusama Kpron 0
kusama Krest 0
kusama Listen Network 0
kusama Litmus 0
kusama Loom Network 0
kusama Mars 0
kusama Parallel Heiko 2 0
kusama PolkaSmith by PolkaFoundry 0
kusama RioDeFi 0
kusama Sakura 0
kusama Shiden Crowdloan 2 0
kusama SNOW Network 0
kusama SubGame Gamma 0
kusama SubsocialX 0
kusama TrustBase 0
kusama Unorthodox 0

(Chains with 0 could not be contacted. Either dead RPC or already off-boarded.)

@Sophia-Gold
Copy link

Would you like me to make a Polkadot forum post about this? It seems pretty straightforward.

@bkchr
Copy link
Member Author

bkchr commented Apr 20, 2023

About the value: it was 4MiB previously, but i can do a sweep across the parachains to check the current max.

What you mean by previously?

Would you like me to make a Polkadot forum post about this? It seems pretty straightforward.

Not sure we need a forum post for this, mainly requires a governance proposal to set the value. IMO that should be enough.

@ggwpez
Copy link
Member

ggwpez commented Apr 20, 2023

About the value: it was 4MiB previously, but i can do a sweep across the parachains to check the current max.

What you mean by previously?

Ah nvm. I was a local change of mine 🤦‍♂️

Not sure we need a forum post for this, mainly requires a governance proposal to set the value. IMO that should be enough.

Just wanted to ensure that all the para-chain teams see it - just in case that they have a pending upgrade that would get invalidated. But a proposal should probably be enough.

Can we still get feedback from the @paritytech/parachains-core team on this?

@bkchr
Copy link
Member Author

bkchr commented Apr 20, 2023

Just wanted to ensure that all the para-chain teams see it - just in case that they have a pending upgrade that would get invalidated. But a proposal should probably be enough.

Ahh yeah, good point. Anything above 5MiB would lead to issues right now any way.

@Sophia-Gold
Copy link

Can we still get feedback from the @paritytech/parachains-core team on this?

We (@eskimor and I) are already tagged here :)

@eskimor
Copy link
Member

eskimor commented Apr 21, 2023

The 3MB limit is also enforced at the network level. Hence any runtime upgrade greater than 3MB could hardly make it anyway already. (It could technically if the backing validator is the block producer at the same time.)

ggwpez added a commit that referenced this issue Apr 25, 2023
Re-addig these checks is blocked on #7108

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
@ggwpez
Copy link
Member

ggwpez commented Apr 25, 2023

Proposal is here https://kusama.polkassembly.io/referenda/173

@ggwpez
Copy link
Member

ggwpez commented May 16, 2023

Kusama executed successfully.

For Polkadot we can probably wait til OpenGov, to not block the current Referendum queue since it is not time-critical.

@shawntabrizi
Copy link
Member

As discussed with @eskimor on Tuesday, the max_code_size can not be bigger than the maximum block length/size of Polkadot itself.

I have always imagined some extrinsic which would append data to some storage over multiple blocks, allowing some single file stored on chain greater than the block limit.

In this case, a chain could make multiple upload extrinsics to the preimage pallet, and then trigger an upgrade from the larger file, bypassing the per-block limit.

@ggwpez
Copy link
Member

ggwpez commented May 19, 2023

I have always imagined some extrinsic which would append data to some storage over multiple blocks, allowing some single file stored on chain greater than the block limit.
In this case, a chain could make multiple upload extrinsics to the preimage pallet, and then trigger an upgrade from the larger file, bypassing the per-block limit.

I think we can do this simply with sp_io::storage::append. But the problem is that once the preimage is uploaded, we need to move it to storage key :code:. And we dont have a "move data from one storage key to another" host call. So instead we have to read+write the value, thereby bringing it into the proof…

We could also try to change the format of the proof, to kind of do a matching against known values. Then it could realize that the written data is actually already in storage and can reference it instead of copying. But that would require some reverse lookup from value->key, or some matching of read+write ops. Sounds very hacky.

paritytech-processbot bot pushed a commit that referenced this issue May 19, 2023
* 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 <[email protected]>

* Add benchmarking

* Benchmarks

* Mock example of using the QueueChangeHandler to update the WKK

* Use master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Merge remote-tracking branch 'origin/master' into gav-message-queue

* Update Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update remove-weight migration

The migration got touched on master; just resolving conflicts here.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* DNM: Temporarily comment code since XCMv3 is not merged yet

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Define one sub-queue per *MP queue

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Harden check_upward_messages

Using safe math and casts.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add type-safe well_known_keys

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add message-queue weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Deploy MessageQueue to Polkadot

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Cargo.toml

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Migrate to parachain config V5

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update UMP tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert messed up merge 🤦

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update remove-weight migration

The migration got touched on master; just resolving conflicts here.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* DNM: Temporarily comment code since XCMv3 is not merged yet

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Define one sub-queue per *MP queue

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Harden check_upward_messages

Using safe math and casts.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add type-safe well_known_keys

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add message-queue weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Deploy MessageQueue to Polkadot

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Cargo.toml

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Migrate to parachain config V5

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update UMP tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Make stuff compile

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Diener for CI

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* diener update cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert wrong changes

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "DNM: Temporarily comment code since XCMv3 is not merged yet"

This reverts commit 130a48a.

* Make compile

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup runtimes

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Define benchmarks

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Lockfile

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Delete stupid test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use BoundedVec for upward messages

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add weights and fix MessageProcessor

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bound receive_upward_messages and check bound in configuration pallet

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bound Debug impl

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* clippy

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test runtime

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix xcm-simulator

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Properly fix xcm-simulator and fuzzer

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Adapt to upstream Substrate changes

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix ProcesseMessage impls

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Some tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use new MQ API

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add UMP while Para offboarding tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use Mocked message processor for benchmarking

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use variables for constants

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add MQ pallet weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use MQ pallet weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Configure QueueChangeHandler

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add config test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix MQ serive weight

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup outgoing UMP dispatch queues

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use Master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Weight mul is not const

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Clippy

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove merge marker

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update runtime/parachains/src/inclusion/mod.rs

Co-authored-by: Gavin Wood <[email protected]>

* Update runtime/kusama/src/lib.rs

Co-authored-by: Gavin Wood <[email protected]>

* Use lowercase UMP

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Clarify comment

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use Weight::from_parts

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix doc

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Emit event after the fact

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add defensive_proof to receive_upward_messages

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Reapply "Remove original UMP files"

Looks like they came back from the dead. Re-apply commit 34b8a40

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove old files

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Rename MaxUmpMessageLen -> MaxUmpMessageLenOf

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Test defensive message dropping of receive_upward_messages

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup imports

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update implementors guide

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove FAIL-CI mark

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Delete unused code

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add another test for MQ change hook

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Imports

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Keep Kusama runtime formatting

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "Delete unused code"

This reverts commit dd76bca.

* Feature gate mock functions

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Review: Use saturating_add

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Test RelayDispatchQueueSize storage key

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Move migration to own file to avoid merge conflicts

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Migration in own file

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Rococo: configure MQ pallet

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 b9c15e8.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "Fixup tests"

This reverts commit 88f1cbe.

* Fixup migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix CI

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix other migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bump MAX_CODE_SIZE to 10MiB

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add ForceUpdateUmpLimits migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* clippy

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* clippy

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* imports

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Rename to ScheduleConfigUpdate

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup migration checks

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add MAX_CODE_SIZE to ScheduleConfigUpdate

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Set MAX_CODE_SIZE to 4MiB

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix benchmark

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix formatting

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "Add MAX_CODE_SIZE to ScheduleConfigUpdate"

This reverts commit 7caffb0.

* Revert "Set MAX_CODE_SIZE to 4MiB"

This reverts commit 103ffba.

* Revert "Bump MAX_CODE_SIZE to 10MiB"

This reverts commit 530734b.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove consistency check from migration

Re-addig these checks is blocked on #7108

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix constants

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bump MAX_UPWARD_MESSAGE_SIZE_BOUND for Westend

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migrations

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use old nightly for fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixes

* cargo fmt

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixes

* Add MQ pallet to fuzzer

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix XMC simulator example

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove runtime-benchmarks from fuzzers

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "Remove runtime-benchmarks from fuzzers"

This reverts commit e1f2bb0.

* Fix example simulator

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add V6 migration and remove old ones

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Actually make old migrations reusable

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Dont delete old migrations

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Future proof AggregateMessageOrigin and review fixes

There are indications that Loopback and Bridged will be needed soon.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* More cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fix benchmarks

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix fuzzer build

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Review

Co-authored-by: muharem <[email protected]>

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove old migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Set MQ service weight to 20%

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix tabs in Markdown

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: asynchronous rob <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Keith Yeung <[email protected]>
@shawntabrizi
Copy link
Member

In this case, the limit is not the block size, but the PoV size.

For large items in PoV, we have this issue open which can solve that also using the preimage pallet: paritytech/polkadot-sdk#811

Yes, some engineering required, but I don't see a fundamental limitation here yet.

This was referenced Jun 7, 2023
@ggwpez
Copy link
Member

ggwpez commented Jun 16, 2023

Polkadot proposal is here https://polkadot.polkassembly.io/referenda/9
Westend was done manually by devops Sudo.
Rococo is fine at 3 MiB.

ggwpez added a commit to ggwpez/runtimes that referenced this issue Jul 13, 2023
* 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 <[email protected]>

* Add benchmarking

* Benchmarks

* Mock example of using the QueueChangeHandler to update the WKK

* Use master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Merge remote-tracking branch 'origin/master' into gav-message-queue

* Update Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update remove-weight migration

The migration got touched on master; just resolving conflicts here.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* DNM: Temporarily comment code since XCMv3 is not merged yet

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Define one sub-queue per *MP queue

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Harden check_upward_messages

Using safe math and casts.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add type-safe well_known_keys

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add message-queue weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Deploy MessageQueue to Polkadot

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Cargo.toml

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Migrate to parachain config V5

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update UMP tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert messed up merge 🤦

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update remove-weight migration

The migration got touched on master; just resolving conflicts here.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* DNM: Temporarily comment code since XCMv3 is not merged yet

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Define one sub-queue per *MP queue

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Harden check_upward_messages

Using safe math and casts.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add type-safe well_known_keys

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add message-queue weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Deploy MessageQueue to Polkadot

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Cargo.toml

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Migrate to parachain config V5

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update UMP tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Make stuff compile

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Diener for CI

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* diener update cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert wrong changes

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "DNM: Temporarily comment code since XCMv3 is not merged yet"

This reverts commit 820aa235cb21dd1d2621843607f7682bf035434e.

* Make compile

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup runtimes

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Define benchmarks

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Lockfile

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* Delete stupid test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use BoundedVec for upward messages

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add weights and fix MessageProcessor

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bound receive_upward_messages and check bound in configuration pallet

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bound Debug impl

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* clippy

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test runtime

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix xcm-simulator

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Properly fix xcm-simulator and fuzzer

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Adapt to upstream Substrate changes

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix ProcesseMessage impls

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Some tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use new MQ API

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add UMP while Para offboarding tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use Mocked message processor for benchmarking

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use variables for constants

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add MQ pallet weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use MQ pallet weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Configure QueueChangeHandler

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add config test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix MQ serive weight

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Cleanup outgoing UMP dispatch queues

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use Master Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update Cargo.lock

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Weight mul is not const

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Clippy

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove merge marker

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update runtime/parachains/src/inclusion/mod.rs

Co-authored-by: Gavin Wood <[email protected]>

* Update runtime/kusama/src/lib.rs

Co-authored-by: Gavin Wood <[email protected]>

* Use lowercase UMP

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Clarify comment

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use Weight::from_parts

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix test

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix doc

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Emit event after the fact

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add defensive_proof to receive_upward_messages

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Reapply "Remove original UMP files"

Looks like they came back from the dead. Re-apply commit cf6d316f0

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove old files

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Rename MaxUmpMessageLen -> MaxUmpMessageLenOf

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Test defensive message dropping of receive_upward_messages

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup imports

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update implementors guide

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove FAIL-CI mark

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Delete unused code

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add another test for MQ change hook

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Imports

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Keep Kusama runtime formatting

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "Delete unused code"

This reverts commit dd76bca5025b7e1ef846a9539c3607eed185f16a.

* Feature gate mock functions

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Review: Use saturating_add

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Test RelayDispatchQueueSize storage key

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Move migration to own file to avoid merge conflicts

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Migration in own file

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Rococo: configure MQ pallet

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Revert "Fixup tests"

This reverts commit 88f1cbe20774d20e5e1e554e798960ae39437af1.

* Fixup migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix CI

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix other migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bump MAX_CODE_SIZE to 10MiB

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add ForceUpdateUmpLimits migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* clippy

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* clippy

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* imports

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Rename to ScheduleConfigUpdate

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixup migration checks

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add MAX_CODE_SIZE to ScheduleConfigUpdate

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Set MAX_CODE_SIZE to 4MiB

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix benchmark

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix formatting

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 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 <[email protected]>

* Remove consistency check from migration

Re-addig these checks is blocked on paritytech/polkadot#7108

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix constants

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Bump MAX_UPWARD_MESSAGE_SIZE_BOUND for Westend

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix migrations

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use old nightly for fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixes

* cargo fmt

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix tests

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fixes

* Add MQ pallet to fuzzer

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix XMC simulator example

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove runtime-benchmarks from fuzzers

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Revert "Remove runtime-benchmarks from fuzzers"

This reverts commit e1f2bb01b6dea2dd465539d3658719895b58b557.

* Fix example simulator

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add V6 migration and remove old ones

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Actually make old migrations reusable

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Dont delete old migrations

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Future proof AggregateMessageOrigin and review fixes

There are indications that Loopback and Bridged will be needed soon.

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* More cleanup

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* fix benchmarks

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix fuzzer build

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Review

Co-authored-by: muharem <[email protected]>

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove old migration

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Set MQ service weight to 20%

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Fix tabs in Markdown

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: asynchronous rob <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Keith Yeung <[email protected]>
@ggwpez
Copy link
Member

ggwpez commented Jul 18, 2023

Polkadot executed https://polkadot.subsquare.io/referenda/referendum/9 successfully.

@ggwpez ggwpez closed this as completed Jul 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T1-runtime This PR/Issue is related to the topic “runtime”.
Projects
None yet
Development

No branches or pull requests

5 participants