18 lines
394 B
Plaintext
18 lines
394 B
Plaintext
(**
|
|
|
|
This test makes sure that the balance is accessible in CameLIGO.
|
|
It's there to detect a regression of: https://gitlab.com/ligolang/ligo/issues/61
|
|
|
|
Which results in this error when you attempt to compile this contract:
|
|
|
|
generated. unrecognized constant: {"constant":"BALANCE","location":"generated"}
|
|
|
|
|
|
*)
|
|
|
|
type storage = tez
|
|
|
|
let main (p : unit) storage =
|
|
([] : operation list), balance
|
|
|