This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +203
-179
lines changed
Expand file tree Collapse file tree 7 files changed +203
-179
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,7 @@ impl InstanceFilter<Call> for ProxyType {
348348 Call :: Uniques ( pallet_uniques:: Call :: clear_metadata { .. } ) |
349349 Call :: Uniques ( pallet_uniques:: Call :: clear_attribute { .. } ) |
350350 Call :: Uniques ( pallet_uniques:: Call :: clear_collection_metadata { .. } ) |
351+ Call :: Uniques ( pallet_uniques:: Call :: set_collection_max_supply { .. } ) |
351352 Call :: Utility { .. } | Call :: Multisig { .. }
352353 ) ,
353354 ProxyType :: AssetManager => matches ! (
Original file line number Diff line number Diff line change @@ -227,4 +227,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
227227 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
228228 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
229229 }
230+ // Storage: Uniques Class (r:1 w:0)
231+ // Storage: Uniques Asset (r:1 w:1)
232+ fn set_collection_max_supply ( ) -> Weight {
233+ ( 19_417_000 as Weight )
234+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
235+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
236+ }
230237}
Original file line number Diff line number Diff line change @@ -349,6 +349,7 @@ impl InstanceFilter<Call> for ProxyType {
349349 Call :: Uniques ( pallet_uniques:: Call :: clear_metadata { .. } ) |
350350 Call :: Uniques ( pallet_uniques:: Call :: clear_attribute { .. } ) |
351351 Call :: Uniques ( pallet_uniques:: Call :: clear_collection_metadata { .. } ) |
352+ Call :: Uniques ( pallet_uniques:: Call :: set_collection_max_supply { .. } ) |
352353 Call :: Utility { .. } | Call :: Multisig { .. }
353354 ) ,
354355 ProxyType :: AssetManager => matches ! (
Original file line number Diff line number Diff line change @@ -227,4 +227,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
227227 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
228228 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
229229 }
230+ // Storage: Uniques Class (r:1 w:0)
231+ // Storage: Uniques Asset (r:1 w:1)
232+ fn set_collection_max_supply ( ) -> Weight {
233+ ( 19_417_000 as Weight )
234+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
235+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
236+ }
230237}
Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ impl InstanceFilter<Call> for ProxyType {
343343 Call :: Uniques ( pallet_uniques:: Call :: clear_metadata { .. } ) |
344344 Call :: Uniques ( pallet_uniques:: Call :: clear_attribute { .. } ) |
345345 Call :: Uniques ( pallet_uniques:: Call :: clear_collection_metadata { .. } ) |
346+ Call :: Uniques ( pallet_uniques:: Call :: set_collection_max_supply { .. } ) |
346347 Call :: Utility { .. } | Call :: Multisig { .. }
347348 ) ,
348349 ProxyType :: AssetManager => matches ! (
Original file line number Diff line number Diff line change @@ -227,4 +227,11 @@ impl<T: frame_system::Config> pallet_uniques::WeightInfo for WeightInfo<T> {
227227 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
228228 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
229229 }
230+ // Storage: Uniques Class (r:1 w:0)
231+ // Storage: Uniques Asset (r:1 w:1)
232+ fn set_collection_max_supply ( ) -> Weight {
233+ ( 19_417_000 as Weight )
234+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 1 as Weight ) )
235+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1 as Weight ) )
236+ }
230237}
You can’t perform that action at this time.
0 commit comments