Skip to content
Prev Previous commit
Next Next commit
pallet contracts UnsafeUnstableInterface set to false
  • Loading branch information
maciejnems committed Feb 17, 2023
commit bf47d0d6935f16e222b4f828bd16bb9dc89a013b
5 changes: 4 additions & 1 deletion bin/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ pub use frame_support::{
};
use frame_support::{
sp_runtime::Perquintill,
traits::{ConstU32, EqualPrivilegeOnly, SortedMembers, U128CurrencyToVote, WithdrawReasons},
traits::{
ConstBool, ConstU32, EqualPrivilegeOnly, SortedMembers, U128CurrencyToVote, WithdrawReasons,
},
weights::constants::WEIGHT_PER_MILLIS,
PalletId,
};
Expand Down Expand Up @@ -683,6 +685,7 @@ impl pallet_contracts::Config for Runtime {
type AddressGenerator = pallet_contracts::DefaultAddressGenerator;
type MaxCodeLen = ConstU32<{ 128 * 1024 }>;
type MaxStorageKeyLen = ConstU32<128>;
type UnsafeUnstableInterface = ConstBool<false>;
}

parameter_types! {
Expand Down