2020-03-24 13:58:18 +01:00
|
|
|
type bar = big_map (nat, int);
|
|
|
|
|
|
|
|
/* this should result in an error as nested big_maps are not supported: */
|
|
|
|
type storage = big_map (int, bar);
|
|
|
|
|
|
|
|
type return = (list (operation), storage);
|
|
|
|
|
2020-04-01 16:34:36 +02:00
|
|
|
let main = ((_, store): (unit, storage)): return => {
|
2020-03-24 13:58:18 +01:00
|
|
|
([]: list(operation), store)
|
|
|
|
};
|