mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-07-22 06:15:45 +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:
Generated
+500
-396
File diff suppressed because it is too large
Load Diff
+5
-5
@@ -48,10 +48,10 @@ which = "7.0"
|
|||||||
path-slash = "0.2"
|
path-slash = "0.2"
|
||||||
rayon = "1.8"
|
rayon = "1.8"
|
||||||
clap = { version = "4", default-features = false, features = ["derive"] }
|
clap = { version = "4", default-features = false, features = ["derive"] }
|
||||||
polkavm-common = "0.18.0"
|
polkavm-common = "0.19.0"
|
||||||
polkavm-linker = "0.18.0"
|
polkavm-linker = "0.19.0"
|
||||||
polkavm-disassembler = "0.18.0"
|
polkavm-disassembler = "0.19.0"
|
||||||
polkavm = "0.18.0"
|
polkavm = "0.19.0"
|
||||||
alloy-primitives = { version = "0.8.19", features = ["serde"] }
|
alloy-primitives = { version = "0.8.19", features = ["serde"] }
|
||||||
alloy-sol-types = "0.8.19"
|
alloy-sol-types = "0.8.19"
|
||||||
alloy-genesis = "0.9.2"
|
alloy-genesis = "0.9.2"
|
||||||
@@ -73,7 +73,7 @@ assert_fs = "1.1.2"
|
|||||||
# polkadot-sdk and friends
|
# polkadot-sdk and friends
|
||||||
codec = { version = "3.6.12", default-features = false, package = "parity-scale-codec" }
|
codec = { version = "3.6.12", default-features = false, package = "parity-scale-codec" }
|
||||||
scale-info = { version = "2.11.6", default-features = false }
|
scale-info = { version = "2.11.6", default-features = false }
|
||||||
polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk", rev = "cb0d8544dc8828c7b5e7f6a5fc20ce8c6ef9bbb4" }
|
polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk", rev = "d62a90c8c729acd98c7e9a5cab9803b8b211ffc5" }
|
||||||
|
|
||||||
# llvm
|
# llvm
|
||||||
[workspace.dependencies.inkwell]
|
[workspace.dependencies.inkwell]
|
||||||
|
|||||||
Binary file not shown.
@@ -29,7 +29,7 @@ use hex::{FromHex, ToHex};
|
|||||||
use pallet_revive::{AddressMapper, ExecReturnValue, InstantiateReturnValue};
|
use pallet_revive::{AddressMapper, ExecReturnValue, InstantiateReturnValue};
|
||||||
use polkadot_sdk::*;
|
use polkadot_sdk::*;
|
||||||
use polkadot_sdk::{
|
use polkadot_sdk::{
|
||||||
pallet_revive::{CollectEvents, ContractResult, DebugInfo},
|
pallet_revive::ContractResult,
|
||||||
polkadot_runtime_common::BuildStorage,
|
polkadot_runtime_common::BuildStorage,
|
||||||
polkadot_sdk_frame::testing_prelude::*,
|
polkadot_sdk_frame::testing_prelude::*,
|
||||||
sp_core::{H160, H256},
|
sp_core::{H160, H256},
|
||||||
@@ -179,11 +179,11 @@ impl VerifyCallExpectation {
|
|||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub enum CallResult {
|
pub enum CallResult {
|
||||||
Exec {
|
Exec {
|
||||||
result: ContractResult<ExecReturnValue, Balance, EventRecord>,
|
result: ContractResult<ExecReturnValue, Balance>,
|
||||||
wall_time: Duration,
|
wall_time: Duration,
|
||||||
},
|
},
|
||||||
Instantiate {
|
Instantiate {
|
||||||
result: ContractResult<InstantiateReturnValue, Balance, EventRecord>,
|
result: ContractResult<InstantiateReturnValue, Balance>,
|
||||||
wall_time: Duration,
|
wall_time: Duration,
|
||||||
code_hash: H256,
|
code_hash: H256,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -425,8 +425,6 @@ impl Specs {
|
|||||||
code,
|
code,
|
||||||
data,
|
data,
|
||||||
salt.0,
|
salt.0,
|
||||||
DebugInfo::Skip,
|
|
||||||
CollectEvents::Skip,
|
|
||||||
);
|
);
|
||||||
results.push(CallResult::Instantiate {
|
results.push(CallResult::Instantiate {
|
||||||
result,
|
result,
|
||||||
@@ -463,8 +461,6 @@ impl Specs {
|
|||||||
gas_limit.unwrap_or(GAS_LIMIT),
|
gas_limit.unwrap_or(GAS_LIMIT),
|
||||||
storage_deposit_limit.unwrap_or(DEPOSIT_LIMIT).into(),
|
storage_deposit_limit.unwrap_or(DEPOSIT_LIMIT).into(),
|
||||||
data,
|
data,
|
||||||
DebugInfo::Skip,
|
|
||||||
CollectEvents::Skip,
|
|
||||||
);
|
);
|
||||||
results.push(CallResult::Exec {
|
results.push(CallResult::Exec {
|
||||||
result,
|
result,
|
||||||
|
|||||||
Reference in New Issue
Block a user