Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
SNO-653: Add constant attribute for MaxUpgradeDataSize (paritytech#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
doubledup authored Sep 1, 2023
1 parent 8bae65e commit 4931897
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parachain/pallets/control/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ pub mod pallet {
type OwnParaId: Get<ParaId>;

/// Max size of params passed to initializer of the new implementation contract
#[pallet::constant]
type MaxUpgradeDataSize: Get<u32>;

/// Implementation that ensures origin is an XCM location for agent operations
Expand Down

0 comments on commit 4931897

Please sign in to comment.