1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

remove remaining references to CompileConfig

This commit is contained in:
schaeff 2020-08-13 17:26:41 +02:00
parent d55c85fce5
commit 149e07f6c9
3 changed files with 1 additions and 10 deletions

View file

@ -83,9 +83,6 @@ const options = {
source: "def main() -> (): return",
location: importLocation
};
},
config: {
is_release: true
}
};
const artifacts = zokratesProvider.compile(source, options);

View file

@ -5,7 +5,7 @@ extern crate zokrates_field;
use std::io;
use zokrates_common::Resolver;
use zokrates_core::{
compile::{compile, CompilationArtifacts, CompileConfig},
compile::{compile, CompilationArtifacts},
ir::Interpreter,
};
use zokrates_field::Bn128Field;
@ -28,7 +28,6 @@ fn out_of_range() {
source,
"./path/to/file".into(),
None::<&dyn Resolver<io::Error>>,
&CompileConfig::default(),
)
.unwrap();

View file

@ -7,14 +7,9 @@ declare module 'zokrates-js' {
export type SolidityAbi = "v1" | "v2";
export type ResolveCallback = (location: string, path: string) => ResolverResult;
export interface CompileConfig {
is_release: boolean
}
export interface CompileOptions {
location?: string,
resolveCallback?: ResolveCallback,
config?: CompileConfig
}
export interface VerificationKey {