mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-11 13:56:58 +03:00
Update snarkVM dep
This commit is contained in:
parent
209d9cb5e7
commit
e2749eebb9
908
Cargo.lock
generated
908
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -33,12 +33,12 @@ members = [
|
||||
[workspace.dependencies.snarkvm]
|
||||
# version = "0.9.15"
|
||||
git = "https://github.com/AleoHQ/snarkVM"
|
||||
rev = "74ff5ed"
|
||||
rev = "b6ea332"
|
||||
|
||||
[workspace.dependencies.snarkvm-console]
|
||||
# version = "0.9.15"
|
||||
git = "https://github.com/AleoHQ/snarkVM"
|
||||
rev = "74ff5ed"
|
||||
rev = "b6ea332"
|
||||
|
||||
[lib]
|
||||
path = "leo/lib.rs"
|
||||
@ -130,7 +130,7 @@ version = "1.0"
|
||||
|
||||
[dependencies.snarkvm]
|
||||
workspace = true
|
||||
features = [ "aleo-cli", "circuit", "console", "parallel" ]
|
||||
features = [ "circuit", "console" ]
|
||||
|
||||
[dependencies.sys-info]
|
||||
version = "0.9.1"
|
||||
|
@ -52,7 +52,7 @@ default-features = false
|
||||
[dev-dependencies.snarkvm]
|
||||
workspace = true
|
||||
default-features = false
|
||||
features = [ "aleo-cli", "circuit", "console", "parallel" ]
|
||||
features = [ "circuit", "console", ]
|
||||
|
||||
[dev-dependencies.regex]
|
||||
version = "1.7.3"
|
||||
|
@ -129,7 +129,7 @@ fn run_test(test: Test, handler: &Handler, err_buf: &BufferEmitter) -> Result<Va
|
||||
let package = setup_build_directory(&program_name, &bytecode, handler)?;
|
||||
|
||||
// Initialize an rng.
|
||||
let rng = &mut rand::thread_rng();
|
||||
let rng = &mut TestRng::default();
|
||||
|
||||
// Run each test case for each function.
|
||||
for (function_name, function_cases) in all_cases {
|
||||
|
@ -145,7 +145,7 @@ fn run_test(test: Test, handler: &Handler, err_buf: &BufferEmitter) -> Result<Va
|
||||
process.add_program(&program).unwrap();
|
||||
|
||||
// Initialize an rng.
|
||||
let rng = &mut rand::thread_rng();
|
||||
let rng = &mut TestRng::default();
|
||||
|
||||
// Initialize a private key.
|
||||
let private_key = PrivateKey::<Network>::new(rng).unwrap();
|
||||
|
@ -30,6 +30,7 @@ use leo_test_framework::test::TestConfig;
|
||||
use snarkvm::{file::Manifest, package::Package};
|
||||
use std::{
|
||||
cell::RefCell,
|
||||
fmt,
|
||||
fs,
|
||||
fs::File,
|
||||
path::{Path, PathBuf},
|
||||
|
Loading…
Reference in New Issue
Block a user