update polkavm to 0.19 (#167)

paritytech/polkadot-sdk#7203 companion:

- Update the polkavm dependency to the latest version.
- Update the polkadot-sdk to the latest version.

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
Cyrill Leutwiler
2025-01-17 16:59:45 +01:00
committed by GitHub
parent cec283986f
commit bd1a22a702
5 changed files with 508 additions and 408 deletions
+3 -3
View File
@@ -29,7 +29,7 @@ use hex::{FromHex, ToHex};
use pallet_revive::{AddressMapper, ExecReturnValue, InstantiateReturnValue};
use polkadot_sdk::*;
use polkadot_sdk::{
pallet_revive::{CollectEvents, ContractResult, DebugInfo},
pallet_revive::ContractResult,
polkadot_runtime_common::BuildStorage,
polkadot_sdk_frame::testing_prelude::*,
sp_core::{H160, H256},
@@ -179,11 +179,11 @@ impl VerifyCallExpectation {
#[derive(Clone, Debug)]
pub enum CallResult {
Exec {
result: ContractResult<ExecReturnValue, Balance, EventRecord>,
result: ContractResult<ExecReturnValue, Balance>,
wall_time: Duration,
},
Instantiate {
result: ContractResult<InstantiateReturnValue, Balance, EventRecord>,
result: ContractResult<InstantiateReturnValue, Balance>,
wall_time: Duration,
code_hash: H256,
},
-4
View File
@@ -425,8 +425,6 @@ impl Specs {
code,
data,
salt.0,
DebugInfo::Skip,
CollectEvents::Skip,
);
results.push(CallResult::Instantiate {
result,
@@ -463,8 +461,6 @@ impl Specs {
gas_limit.unwrap_or(GAS_LIMIT),
storage_deposit_limit.unwrap_or(DEPOSIT_LIMIT).into(),
data,
DebugInfo::Skip,
CollectEvents::Skip,
);
results.push(CallResult::Exec {
result,