bump polkadot-sdk and polkavm (#94)

Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
Cyrill Leutwiler
2024-10-22 19:50:58 +02:00
committed by GitHub
parent ee83d28a51
commit 995b115c5f
5 changed files with 1776 additions and 663 deletions
+4 -4
View File
@@ -26,10 +26,10 @@
use std::time::Duration;
use hex::{FromHex, ToHex};
use pallet_revive::AddressMapper;
use pallet_revive::{AddressMapper, ExecReturnValue, InstantiateReturnValue};
use polkadot_sdk::*;
use polkadot_sdk::{
pallet_revive::{CollectEvents, ContractExecResult, ContractInstantiateResult, DebugInfo},
pallet_revive::{CollectEvents, ContractResult, DebugInfo},
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: ContractExecResult<Balance, EventRecord>,
result: ContractResult<ExecReturnValue, Balance, EventRecord>,
wall_time: Duration,
},
Instantiate {
result: ContractInstantiateResult<Balance, EventRecord>,
result: ContractResult<InstantiateReturnValue, Balance, EventRecord>,
wall_time: Duration,
code_hash: H256,
},