mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Companion for contracts: Replace cargo feature unstable-interface with config (#1916)
* contracts: Add `UnsafeUnstableInterface`
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
ad08445268
commit
7350107f0b
@@ -4,7 +4,7 @@ use crate::{
|
||||
};
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
traits::{ConstU32, Nothing},
|
||||
traits::{ConstBool, ConstU32, Nothing},
|
||||
weights::Weight,
|
||||
};
|
||||
use pallet_contracts::{
|
||||
@@ -57,4 +57,5 @@ impl Config for Runtime {
|
||||
type AddressGenerator = DefaultAddressGenerator;
|
||||
type MaxCodeLen = ConstU32<{ 128 * 1024 }>;
|
||||
type MaxStorageKeyLen = ConstU32<128>;
|
||||
type UnsafeUnstableInterface = ConstBool<true>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user