fix leo cli

This commit is contained in:
collin 2020-06-19 23:08:15 -07:00
parent 82a0afc17e
commit 0f5d2e1076
4 changed files with 6 additions and 7 deletions

View File

@ -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] = &[];

View File

@ -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;

View File

@ -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};

View File

@ -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>,
);