Commit Graph

1865 Commits

Author SHA1 Message Date
Vincent Botbol
1a75bbf95c
Alpha/Tests: fix non-increasing level when finalizing an incremental block 2018-08-03 12:40:22 +02:00
Vincent Botbol
c1f36a5ad2 Alpha/Accuser: ensure that double endorsements denunciations happens only when endorsement are not from the same branch 2018-08-02 16:45:09 +00:00
Grégoire Henry
87e0de9826 Dune: use the new syntax 2018-08-01 10:52:24 +02:00
Grégoire Henry
5362b321d9 Dune: rename s/jbuild/dune/ 2018-08-01 10:32:12 +02:00
Vincent Bernardoff
d7d7457fa3 Node/RPC: listens on all resolved RPC addresses 2018-07-27 14:40:08 +00:00
Pietro
c7cfdcb4d9 [Doc]: Fix minor warnings and errors in the doc 2018-07-25 15:58:38 +02:00
Pietro
b89682e441 Build: Jbuilder -> Dune 1.0.1 2018-07-24 19:15:04 +02:00
Vincent Bernardoff
907423a85b Signer/TCP: more flexible spec 2018-07-24 13:50:08 +00:00
Vincent Bernardoff
fe21585462 Utils/Socket: use getaddrinfo instead of gethostbyname 2018-07-24 13:50:08 +00:00
Benjamin Canou
b76b5367bb
Alpha: use underscores in error ids 2018-07-24 14:56:12 +02:00
dbornside
67cca7dd93 Node: change node config diagnostics json field labels to use underscores 2018-07-24 14:37:49 +02:00
dbornside
289cc7ba96 Alpha: fix Michelson interpreter diagnostics field names to have underscores 2018-07-24 14:37:49 +02:00
dbornside
41b98dac63 Alpha: change documented field labels to underscores in json field names 2018-07-24 14:37:49 +02:00
dbornside
ea5992d030 Alpha: change managerPubkey to underscores in json field names 2018-07-24 14:37:49 +02:00
Grégoire Henry
c1d89e3777
Compiler: use -hash-only in the test suite 2018-07-24 14:18:06 +02:00
Grégoire Henry
90ef97b38b Compiler: by default, enforce the hash declared in TEZOS_PROTOCOL 2018-07-21 01:06:51 +02:00
Grégoire Henry
588832f04c Proto: revert to the dummy hash for genesis 2018-07-21 00:29:13 +02:00
Grégoire Henry
fedf5d66c6 Proto: revert to the dummy hash for alpha 2018-07-21 00:28:48 +02:00
Pierre Chambart
30def07aee Sandbox: Update scripts 2018-07-20 17:34:42 +02:00
Grégoire Henry
663127468d Accuser: ignore heads from protocols 2018-07-20 12:25:06 +00:00
Grégoire Henry
213bedaf58 Alpha: fix up compatibility for encoding of michelson primitives 2018-07-20 04:31:17 +02:00
Benjamin Canou
70fddce545 Micheline: versioned serializer for retrocompatibility 2018-07-19 19:26:24 +02:00
Alain Mebsout
a7eb0cdf36 Micheline: Fix binary deserialization of annotations
Fixes #262
2018-07-19 19:26:24 +02:00
Benjamin Canou
3ca1fc9509 Michelson: add missing bytes primitives on comparable_ty (thanks @tomjack) 2018-07-19 19:04:35 +02:00
Pierre Chambart
09592a6eeb Michelson: test compare on bytes and concat on 2 strings 2018-07-19 19:04:35 +02:00
Pierre Chambart
74b7ca2c77 Michelson: allow CONCAT on two bytes/strings 2018-07-19 19:04:35 +02:00
Benjamin Canou
e70cd5c645 Michelson: a few new tests 2018-07-19 19:04:35 +02:00
Benjamin Canou
7a9be54bd0 Michelson: add SIZE on string and bytes 2018-07-19 19:04:35 +02:00
Benjamin Canou
7508895e2d Michelson: add SLICE instruction on strings and bytes 2018-07-19 19:04:35 +02:00
Benjamin Canou
cd9dd32665 Michelson: add CONCAT on bytes 2018-07-19 19:04:35 +02:00
Benjamin Canou
c691068209 Michelson: change semantics of CONCAT 2018-07-19 19:04:35 +02:00
Benjamin Canou
bd709a44ba Michelson: parse bytes as a comparable_ty (thanks @catsigma) 2018-07-19 19:04:35 +02:00
Pierre Chambart
5a60dff917 Protocol_compiler: Add an option to avoid compiling 2018-07-19 18:52:00 +02:00
Grégoire Henry
077b3cd964 Script: add archive_protocol.sh 2018-07-19 18:52:00 +02:00
Grégoire Henry
50151c55a1 Compiler: allow for _ in protocol directory name. 2018-07-19 18:52:00 +02:00
Grégoire Henry
9b9c3a1bee Proto: avoid conflict between client errors 2018-07-19 18:52:00 +02:00
Pierre Chambart
cff6c4beb1 Alpha_002: forced registration for unregistered delegates 2018-07-19 18:52:00 +02:00
Pierre Chambart
15857d7e90 Alpha_002: prepare for Proto_alpha upgrade 2018-07-19 00:32:39 +02:00
Pierre Chambart
e80839efe1 Alpha: really allow big maps in lambda 2018-07-18 21:45:21 +00:00
Pierre Chambart
9bec16b6a2 Alpha: typecheck_data shouldn't allow big maps 2018-07-18 21:45:21 +00:00
Benjamin Canou
93a5b3fb7d Michelson: allow big_maps in more places 2018-07-18 21:45:21 +00:00
Grégoire Henry
c91f082a28
Makefile: rename tezos-$protocol-baker to tezos-baker-$protocol 2018-07-18 23:43:49 +02:00
Pierre Chambart
ae1f325b76 Baker: correct handling of protocol upgrades 2018-07-18 22:34:13 +02:00
Grégoire Henry
86091e98c6 Baker: use next_protocols when calling GET /monitor/heads 2018-07-18 22:34:13 +02:00
Grégoire Henry
f9dd92d6b4 Shell/RPC: fix filtering of next_protocols in GET /monitor/heads 2018-07-18 22:34:13 +02:00
Grégoire Henry
378c4e2780 Node: --connections now implies --peer-table-size 2018-07-18 17:48:39 +02:00
Grégoire Henry
41fe7d17ea Node: check that the size of known_peer_ids is coherent 2018-07-18 17:48:39 +02:00
Grégoire Henry
c0d42c8f46 P2p: do not drop currently connected peers 2018-07-18 17:48:39 +02:00
Vincent Botbol
4fe9f82735 Alpha/Tests: add self-delegation on origination test cases 2018-07-17 16:56:56 +02:00
Vincent Botbol
07486a3027 Alpha/Origination: ensure that delegate's originated accounts are registered 2018-07-17 16:46:29 +02:00
Alain Mebsout
da986e27ab Proto: show Michleson error traces in correct order 2018-07-17 13:52:04 +00:00
Alain Mebsout
e52455f00a RPC: new client command and RPC to retrieve big map value by key 2018-07-17 13:42:04 +00:00
Alain Mebsout
82f20ade37 Proto: show big map diff in transaction receipt 2018-07-17 13:42:04 +00:00
Alain Mebsout
d73d3fdf2b Proto: Show big map diffs with keys as expressions in addtion to hashes 2018-07-17 13:42:04 +00:00
Alain Mebsout
2da9a5331e Client: Say which file would not be read 2018-07-17 13:42:04 +00:00
Alain Mebsout
a36f42506a Alpha: Fix CREATE_CONTRACT spends twice 2018-07-17 14:37:54 +02:00
Milo Davis
7d58552bd5 Michelson: add command to view bytes as Michelson 2018-07-17 14:09:54 +02:00
Grégoire Henry
122a2421a6 Client/Test: fix sandbox detection 2018-07-17 13:51:53 +02:00
Vincent Bernardoff
41f6757ef8 Everywhere: exception Not_found -> _opt 2018-07-13 01:31:04 +02:00
Grégoire Henry
359f858c3e
CI: fix opam dependencies 2018-07-11 23:27:04 +02:00
Vincent Botbol
6909f0b3bc
Shell: benchmark for the context storage
Co-authored-by: Quyen <kim.quyen.ly@tezos.com>
Co-authored-by: Grégoire Henry <gregoire.henry@tezos.com>
Signed-off-by: Grégoire Henry <gregoire.henry@tezos.com>
2018-07-11 21:02:14 +02:00
Grégoire Henry
ea4e33b0e2 Client: preload encrypted keys when running a daemon (again)
This is 370114eb8b again, sigh.
2018-07-09 13:02:06 +02:00
Vincent Bernardoff
d6fac868ee Signer/Ledger: hash big payloads on Ledger if supported 2018-07-06 23:27:20 +02:00
Benjamin Canou
edc1a6512f CI: fix p2p opam tests 2018-07-06 19:11:50 +02:00
Grégoire Henry
c0222e53ee CI: use the new opam images from tezos/opam-repository 2018-07-06 18:18:41 +02:00
Benjamin Canou
8aec39d8bb CI: use IPv4 in p2p tests 2018-07-06 18:05:10 +02:00
Benjamin Canou
9bc9768e17 Fix OPAM dependencies 2018-07-04 19:03:31 +02:00
Vincent Bernardoff
7f569b45fa Signer/Encrypted: typos 2018-07-04 09:47:25 +02:00
Vincent Bernardoff
a0f5cb09db Signer/Encrypted: add test 2018-07-04 09:47:25 +02:00
Vincent Bernardoff
ea78c9b6d6 Signer/Ledger: major > 1 also supports P256 2018-07-03 14:55:28 +00:00
Pierre Chambart
8581264d11 Tests: add a Michelson guestbook test contract 2018-07-03 15:30:28 +02:00
Benjamin Canou
c3c4e3d5a8 Tests: fix injection test after headers update 2018-07-03 15:26:10 +02:00
b
322710c56c Update wrong licenses 2018-07-03 12:04:24 +02:00
Benjamin Canou
74732d7711 Sync with betanet 2018-07-02 10:53:20 +02:00
Benjamin Canou
6c00f64dfb Proto Genesis's hash is its actual hash 2018-06-30 18:56:30 +02:00
Benjamin Canou
252435d280 Proto Alpha's hash is its actual hash 2018-06-30 18:56:30 +02:00
Benjamin Canou
12b72c9a0b Set Betanet activation key 2018-06-30 18:46:23 +02:00
Pierre Boutillier
140bd6b1ca Tezos is now Open Source 2018-06-30 17:41:32 +02:00
Benjamin Canou
712f972a10 Update initial nonces 2018-06-30 15:48:01 +02:00
Benjamin Canou
6cf03d0f6b Client: select commands depending on the network 2018-06-30 15:01:22 +02:00
Vincent Bernardoff
99e5cd3186 Client: do not expose insecure functions (betanet) 2018-06-30 14:28:11 +02:00
Vincent Bernardoff
e92e1aee17 Signer/Encrypted: use custom Base58Check prefixes 2018-06-30 14:28:11 +02:00
Vincent Bernardoff
dee9c470fd Crypto: more compact Secretbox representation 2018-06-30 14:28:11 +02:00
Vincent Botbol
b885b03ef6 Alpha: correctly apply recursion on backtrack operation application 2018-06-30 14:12:40 +02:00
Benjamin Canou
63159f2a5d It's the final constants 2018-06-30 14:12:12 +02:00
Pierre Chambart
a5374a2494 Alpha: Always allow operations as argument of lambda 2018-06-30 13:25:28 +02:00
Benjamin Canou
ee7a67b915 Michelson: fix PACK/UNPACK 2018-06-30 12:38:05 +02:00
Vincent Botbol
f59b0aa44f Alpha/Baker: only retain applied, delayed and unprocessed mempool operations 2018-06-30 04:43:16 +02:00
Vincent Botbol
fbefa3940d Alpha/Baker: filter out outdated operations 2018-06-30 04:43:16 +02:00
Vincent Botbol
c479c65cdf Shell: add rpc to retrieve live blocks 2018-06-30 04:43:16 +02:00
Pierre Chambart
f381693da8 Alpha: Fix commitment bug 2018-06-30 04:09:51 +02:00
Benjamin Canou
f5091bf5e6 Michelson: fix gas cost for CONTRACT 2018-06-30 03:56:15 +02:00
Benjamin Canou
546eff6eb7 Michelson: adjust gaz weights 2018-06-30 01:41:14 +02:00
Benjamin Canou
33e6d89ce9 Michelson: fix gas costs for PACK/UNPACK 2018-06-30 01:41:14 +02:00
Benjamin Canou
79b4767370 RPCs: better errors when querying out of bound operations 2018-06-30 01:40:33 +02:00
Benjamin Canou
42a8fbaf77 Alpha: set block size constants 2018-06-29 21:45:41 +02:00
Vincent Botbol
8ff740c8ee Alpha/Baker: ensure that anonymous operations do not overflow in the block 2018-06-29 20:37:06 +02:00
bruno
1368eed80c Alpha/Tests/delegation: deactivation and self-delegation when empty 2018-06-29 16:44:57 +00:00
Vincent Botbol
523d44354c Alpha/Baker: ensure that we apply the operations in the correct order 2018-06-29 17:50:17 +02:00
Vincent Botbol
b6cf4ff8a8 Alpha/Baker: correctly filter potential overflowing manager operations, sort them using a knapsack approximation 2018-06-29 17:50:17 +02:00