mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
Companion for substrate#11501 (#1404)
* Companion for substrate#11501
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
dedfe6da9e
commit
c7d8da1783
Generated
+351
-347
File diff suppressed because it is too large
Load Diff
@@ -59,6 +59,7 @@ impl Config for Runtime {
|
|||||||
type ContractAccessWeight = DefaultContractAccessWeight<RuntimeBlockWeights>;
|
type ContractAccessWeight = DefaultContractAccessWeight<RuntimeBlockWeights>;
|
||||||
type MaxCodeLen = ConstU32<{ 128 * 1024 }>;
|
type MaxCodeLen = ConstU32<{ 128 * 1024 }>;
|
||||||
type RelaxedMaxCodeLen = ConstU32<{ 256 * 1024 }>;
|
type RelaxedMaxCodeLen = ConstU32<{ 256 * 1024 }>;
|
||||||
|
type MaxStorageKeyLen = ConstU32<128>;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Migrations;
|
pub struct Migrations;
|
||||||
|
|||||||
@@ -536,7 +536,7 @@ impl pallet_contracts_rpc_runtime_api::ContractsApi<Block, AccountId, Balance, B
|
|||||||
|
|
||||||
fn get_storage(
|
fn get_storage(
|
||||||
address: AccountId,
|
address: AccountId,
|
||||||
key: [u8; 32],
|
key: Vec<u8>,
|
||||||
) -> pallet_contracts_primitives::GetStorageResult {
|
) -> pallet_contracts_primitives::GetStorageResult {
|
||||||
Contracts::get_storage(address, key)
|
Contracts::get_storage(address, key)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user