Companion for substrate#11501 (#1404)

* Companion for substrate#11501

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Alexander Gryaznov
2022-06-23 15:48:13 +03:00
committed by GitHub
parent dedfe6da9e
commit c7d8da1783
3 changed files with 353 additions and 348 deletions
+351 -347
View File
File diff suppressed because it is too large Load Diff
@@ -59,6 +59,7 @@ impl Config for Runtime {
type ContractAccessWeight = DefaultContractAccessWeight<RuntimeBlockWeights>;
type MaxCodeLen = ConstU32<{ 128 * 1024 }>;
type RelaxedMaxCodeLen = ConstU32<{ 256 * 1024 }>;
type MaxStorageKeyLen = ConstU32<128>;
}
pub struct Migrations;
@@ -536,7 +536,7 @@ impl pallet_contracts_rpc_runtime_api::ContractsApi<Block, AccountId, Balance, B
fn get_storage(
address: AccountId,
key: [u8; 32],
key: Vec<u8>,
) -> pallet_contracts_primitives::GetStorageResult {
Contracts::get_storage(address, key)
}