From 7d202f23b58680e3458d40cde6393cae2eaad0a1 Mon Sep 17 00:00:00 2001 From: moana Date: Fri, 2 Aug 2024 17:51:07 +0200 Subject: [PATCH] rusk: Add `zk` feature to execution-core --- rusk/Cargo.toml | 3 +-- rusk/tests/common/wallet.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/rusk/Cargo.toml b/rusk/Cargo.toml index d2d5b6b83e..3caac8609b 100644 --- a/rusk/Cargo.toml +++ b/rusk/Cargo.toml @@ -43,7 +43,6 @@ blake2b_simd = { version = "1", default-features = false } poseidon-merkle = { version = "0.6", features = ["rkyv-impl", "size_32"] } sha3 = "0.10" -dusk-plonk = "0.19" dusk-bytes = "0.1" kadcast = "0.6.0-rc" pin-project = "1" @@ -59,7 +58,7 @@ tokio-rustls = "0.25" rustls-pemfile = "2" async-trait = "0.1" -execution-core = { version = "0.1.0", path = "../execution-core" } +execution-core = { version = "0.1.0", path = "../execution-core", features = ["zk"] } rusk-profile = { version = "0.6", path = "../rusk-profile" } rusk-abi = { version = "0.13.0-rc", path = "../rusk-abi", default-features = false, features = ["host"] } rusk-prover = { version = "0.3", path = "../rusk-prover", optional = true } diff --git a/rusk/tests/common/wallet.rs b/rusk/tests/common/wallet.rs index bd7ad2b9fd..5e514df10b 100644 --- a/rusk/tests/common/wallet.rs +++ b/rusk/tests/common/wallet.rs @@ -11,8 +11,8 @@ use std::sync::{Arc, RwLock}; use crate::common::block::Block as BlockAwait; use dusk_bytes::{DeserializableSlice, Serializable}; -use dusk_plonk::prelude::Proof; use execution_core::{ + plonk::Proof, signatures::bls::PublicKey as BlsPublicKey, stake::StakeData, transfer::{