remove remaining references to CompileConfig
This commit is contained in:
parent
d55c85fce5
commit
149e07f6c9
3 changed files with 1 additions and 10 deletions
|
@ -83,9 +83,6 @@ const options = {
|
|||
source: "def main() -> (): return",
|
||||
location: importLocation
|
||||
};
|
||||
},
|
||||
config: {
|
||||
is_release: true
|
||||
}
|
||||
};
|
||||
const artifacts = zokratesProvider.compile(source, options);
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
5
zokrates_js/index.d.ts
vendored
5
zokrates_js/index.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue