ligo/src/test/contracts/bad_timestamp.ligo

7 lines
219 B
Plaintext
Raw Normal View History

2020-01-03 17:46:31 +01:00
type storage_ is timestamp
function main(const p : unit; const s : storage_) : list(operation) * storage_ is
block {
var toto : timestamp := ("badtimestamp" : timestamp);
}
with ((nil: list(operation)), toto)