mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-02 12:22:08 +03:00
fix leo cli
This commit is contained in:
parent
82a0afc17e
commit
0f5d2e1076
@ -18,7 +18,7 @@ pub struct BuildCommand;
|
||||
|
||||
impl CLI for BuildCommand {
|
||||
type Options = ();
|
||||
type Output = (Compiler<'static, Fq, EdwardsGroupType>, bool);
|
||||
type Output = (Compiler<Fq, EdwardsGroupType>, bool);
|
||||
|
||||
const ABOUT: AboutType = "Compile the current package as a program";
|
||||
const ARGUMENTS: &'static [ArgumentType] = &[];
|
||||
|
@ -3,10 +3,9 @@ use crate::{
|
||||
cli_types::*,
|
||||
directories::{InputsDirectory, SourceDirectory},
|
||||
errors::{CLIError, InitError},
|
||||
files::{Gitignore, MainFile, Manifest},
|
||||
files::{Gitignore, InputsFile, MainFile, Manifest},
|
||||
};
|
||||
|
||||
use crate::files::InputsFile;
|
||||
use clap::ArgMatches;
|
||||
use std::env::current_dir;
|
||||
|
||||
|
@ -2,16 +2,16 @@ use crate::{
|
||||
cli::*,
|
||||
cli_types::*,
|
||||
commands::SetupCommand,
|
||||
directories::INPUTS_DIRECTORY_NAME,
|
||||
errors::CLIError,
|
||||
files::{Manifest, ProofFile},
|
||||
files::{Manifest, ProofFile, INPUTS_FILE_NAME},
|
||||
};
|
||||
use leo_inputs::LeoInputsParser;
|
||||
|
||||
use snarkos_algorithms::snark::{create_random_proof, PreparedVerifyingKey, Proof};
|
||||
use snarkos_curves::bls12_377::Bls12_377;
|
||||
|
||||
use crate::{directories::INPUTS_DIRECTORY_NAME, files::INPUTS_FILE_NAME};
|
||||
use clap::ArgMatches;
|
||||
use leo_inputs::LeoInputsParser;
|
||||
use rand::thread_rng;
|
||||
use std::{convert::TryFrom, env::current_dir, time::Instant};
|
||||
|
||||
|
@ -21,7 +21,7 @@ pub struct SetupCommand;
|
||||
impl CLI for SetupCommand {
|
||||
type Options = ();
|
||||
type Output = (
|
||||
Compiler<'static, Fq, EdwardsGroupType>,
|
||||
Compiler<Fq, EdwardsGroupType>,
|
||||
Parameters<Bls12_377>,
|
||||
PreparedVerifyingKey<Bls12_377>,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user