type compile_main function in contracts tests
This commit is contained in:
parent
6ed2f2b3ae
commit
255b9a6e00
@ -19,8 +19,8 @@ let get_program =
|
||||
)
|
||||
|
||||
let compile_main () =
|
||||
let%bind _ = Compile.Wrapper.source_to_michelson_contract
|
||||
(Syntax_name "pascaligo") "./contracts/coase.ligo" "main" in
|
||||
let%bind (_ : Tezos_utils.Michelson.michelson * (Ast_typed.program * Typer.Solver.state * Ast_typed.Types.full_environment)) =
|
||||
Compile.Wrapper.source_to_michelson_contract (Syntax_name "pascaligo") "./contracts/coase.ligo" "main" in
|
||||
ok ()
|
||||
|
||||
open Ast_simplified
|
||||
|
@ -16,8 +16,8 @@ let get_program =
|
||||
)
|
||||
|
||||
let compile_main () =
|
||||
let%bind _ = Compile.Wrapper.source_to_michelson_contract
|
||||
(Syntax_name "pascaligo") "./contracts/multisig.ligo" "main" in
|
||||
let%bind (_ : Tezos_utils.Michelson.michelson * (Ast_typed.program * Typer.Solver.state * Ast_typed.Types.full_environment)) =
|
||||
Compile.Wrapper.source_to_michelson_contract (Syntax_name "pascaligo") "./contracts/multisig.ligo" "main" in
|
||||
ok ()
|
||||
|
||||
open Ast_simplified
|
||||
|
@ -16,7 +16,8 @@ let get_program =
|
||||
)
|
||||
|
||||
let compile_main () =
|
||||
let%bind _ = Compile.Wrapper.source_to_michelson_contract (Syntax_name "pascaligo") "./contracts/multisig-v2.ligo" "main" in
|
||||
let%bind (_ : Tezos_utils.Michelson.michelson * (Ast_typed.program * Typer.Solver.state * Ast_typed.Types.full_environment)) =
|
||||
Compile.Wrapper.source_to_michelson_contract (Syntax_name "pascaligo") "./contracts/multisig-v2.ligo" "main" in
|
||||
ok ()
|
||||
|
||||
open Ast_simplified
|
||||
|
Loading…
Reference in New Issue
Block a user