mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 17:31:02 +00:00
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:
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user