Alain Mebsout
|
1fccffb61c
|
Michelson: keep field annotations in SET_CADR, MAP_CADR macros
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
040fa2a075
|
Michelson: special annotations %@ and @%
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
1b67e538d8
|
Michelson, Proto: show execution trace on failure also
When doing calling `trace code`, e.g. with option `--trace-stack` in
the client.
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
eb5837943f
|
Michelson: propagate variable annotations inside pairs in stack type
Also check that tyoe annotated constants are correct, but don't produce
annotated constants when unparsing.
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
fcd9b61084
|
Michelson: annotations must start with _a-zA-Z or be empty
Empty annotations are used to mean no annotation, or as a wildcard when
destructing pairs for instance.
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
6dacd8f6a5
|
Michelson: Force annotations of the same kind to be grouped
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
1748f370fc
|
Michelson: Remove binding annotations
Use RENAME in code blocks instead.
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
9993553a59
|
Michelson: Propagate annotations in execution trace
Fixes #179
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
703a12f681
|
Michelson: new (nop) opcodes CAST and RENAME
Removes RENAME macro
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
e8329b1fc3
|
Michelson: do not infer pair field names and fail when fields differ
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
821c6255dc
|
Michelson: annotation fixes to match the spec
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
382e06cf32
|
Michelson: more robust checking of type alias annotations
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
96e317f9d3
|
Michelson: allow type annotations on PUSH-like instructions
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
435d135aa0
|
Michelson: annotations for variable bindings with $
Also move annotation specific code to own module.
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
68f86fe274
|
Fix: indentation
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
ae6a97708e
|
Michelson: disable typechecking of field names through annotations
This is not compatible with the inferring mechanism for annotations in
types.
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
371ce150ce
|
Michelson: generate default annotation for field accesses
If stack is [ @storage (pair int int) ] then stack after CAR:
CAR; [ @storage.car int ]
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
22bdea00c2
|
Michelson: check (field) annotations of field accesses
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
5431752887
|
Michelson: better syntax for fields of pair types
|
2018-06-14 18:09:32 +02:00 |
|
Alain Mebsout
|
53b88e4dbb
|
Michelson: different types of annotations
|
2018-06-14 18:09:32 +02:00 |
|
Benjamin Canou
|
3140f6e51d
|
Michelson: allow multiple annotations
|
2018-06-14 18:09:32 +02:00 |
|
Grégoire Henry
|
a51c912722
|
Alpha: forbids trivial double baking evidence
|
2018-06-14 15:57:27 +00:00 |
|
Galfour
|
3dce646b18
|
Tests: more tests for double baking
|
2018-06-14 15:57:27 +00:00 |
|
Marco Stronati
|
53ec17c8b4
|
Tests/helpers: rework block to ease arbitrary signatures
|
2018-06-14 15:57:27 +00:00 |
|
Pietro
|
4d3a01974c
|
[proto]: Remove commas from decimal repr of tezos
|
2018-06-14 15:48:25 +00:00 |
|
Marco Stronati
|
e1702e0db2
|
Alpha: add check_size when parsing Z values
|
2018-06-14 02:27:41 +02:00 |
|
Marco Stronati
|
8f5aecfc01
|
Alpha: change space_storage from int64 to Z.t
|
2018-06-14 02:27:41 +02:00 |
|
Marco Stronati
|
12b7a49f96
|
Alpha: change counters from int32 to Z.t
|
2018-06-14 02:25:12 +02:00 |
|
Vincent Bernardoff
|
21823483a5
|
Crypto: add P256 cryptography
|
2018-06-13 23:59:16 +00:00 |
|
Pierre Chambart
|
e9c42123cb
|
Alpha: Simplify a few things after removing dead code.
|
2018-06-14 00:37:32 +02:00 |
|
Pierre Chambart
|
233273dff8
|
Alpha: Remove more dead code with in storage functor.
There are no instances of Carbonated values that have not a variable
lenght. And I don't forsee this changing anythime soon.
|
2018-06-14 00:37:32 +02:00 |
|
Pierre Chambart
|
ff428fe680
|
Alpha: Change carbonated data storage path
The len key was key ^ "$" which was problematic for potential name
collision with real keys. It is now key @ ["len"] and key @ ["data"]
|
2018-06-14 00:37:32 +02:00 |
|
Pierre Chambart
|
31b9c251f6
|
Alpha: Carbonated functor: fix read after update problems
|
2018-06-14 00:37:32 +02:00 |
|
Pierre Chambart
|
d11bc0b996
|
Alpha: Remove empty module type
|
2018-06-14 00:37:32 +02:00 |
|
Pierre Chambart
|
9c0bb49174
|
Alpha: Remove dead code
|
2018-06-14 00:37:32 +02:00 |
|
Pierre Chambart
|
2404246fb3
|
Alpha: Non implicit contracts cannot be removed
|
2018-06-14 00:37:32 +02:00 |
|
Pierre Chambart
|
64481a198e
|
Alpha: remove useless carbonated functor
Single carbonated data storage was useless and is buggy. It's simpler to
remove than to fix it.
|
2018-06-14 00:37:32 +02:00 |
|
Grégoire Henry
|
4c171c72a2
|
Proto: prepare protocol interface for multipass validation
|
2018-06-13 16:34:50 +02:00 |
|
Benjamin Canou
|
6d7fe70c44
|
Fix OPAM dependencies
|
2018-06-13 00:53:51 +02:00 |
|
Grégoire Henry
|
a5cec8fca0
|
Proto: move back max_operation_data_length as a constants
|
2018-06-12 21:27:55 +02:00 |
|
Grégoire Henry
|
5fd5c1c5f7
|
Dune: upgrade to 1.0+beta20
|
2018-06-08 15:27:23 +00:00 |
|
Grégoire Henry
|
98f77703c4
|
Alpha: do not use inter-modules toplevel side-effects
|
2018-06-08 15:27:23 +00:00 |
|
Grégoire Henry
|
8eac1b03ac
|
Alpha: adapt test to new operation type
|
2018-06-07 12:47:20 +02:00 |
|
Grégoire Henry
|
9df99e4553
|
Alpha: use the zero signature for anonymous operation
|
2018-06-06 15:24:05 +02:00 |
|
Benjamin Canou
|
6d2bf5af90
|
Alpha: add a few comments
|
2018-06-06 14:45:41 +02:00 |
|
Benjamin Canou
|
fa418ee6e0
|
Alpha: simplify handling of Unit parameter in Apply
|
2018-06-06 14:45:06 +02:00 |
|
Benjamin Canou
|
b2b0a98e39
|
Alpha: minor style fix: turn a ? into a ~
|
2018-06-06 12:38:57 +02:00 |
|
Benjamin Canou
|
7c8e0403e3
|
Alpha: minor cleanup of Apply for better readability
|
2018-06-06 12:05:57 +02:00 |
|
Benjamin Canou
|
f53cb40915
|
Michelson: do not padd nat-encoded addresses that are now fixed sized
|
2018-06-06 11:28:07 +02:00 |
|
Benjamin Canou
|
ee735c33cf
|
Alpha: fix typos and fill placeholders in services doc
|
2018-06-06 10:54:33 +02:00 |
|