mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-08 04:18:01 +00:00
contracts: Companion for offchain indeterminism (#1794)
* Adapt to new pallet contracts API
* Fix
* Fix runtime APIs
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
b566f3b303
commit
7c8d1f7a37
Generated
+187
-187
File diff suppressed because it is too large
Load Diff
@@ -524,6 +524,7 @@ impl_runtime_apis! {
|
||||
storage_deposit_limit,
|
||||
input_data,
|
||||
contracts::CONTRACTS_DEBUG_OUTPUT,
|
||||
pallet_contracts::Determinism::Deterministic,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -553,8 +554,14 @@ impl_runtime_apis! {
|
||||
origin: AccountId,
|
||||
code: Vec<u8>,
|
||||
storage_deposit_limit: Option<Balance>,
|
||||
determinism: pallet_contracts::Determinism,
|
||||
) -> pallet_contracts_primitives::CodeUploadResult<Hash, Balance> {
|
||||
Contracts::bare_upload_code(origin, code, storage_deposit_limit)
|
||||
Contracts::bare_upload_code(
|
||||
origin,
|
||||
code,
|
||||
storage_deposit_limit,
|
||||
determinism,
|
||||
)
|
||||
}
|
||||
|
||||
fn get_storage(
|
||||
|
||||
Reference in New Issue
Block a user