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 Gryaznovandparity-processbot authored and GitHub committed 2022-06-23 12:48:13 +00:00
1 parent dedfe6da9e
commit c7d8da1783
3 files changed
+353 -348

No files matched your search

+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)
}