901ca34 | Pierre Boutillier | 26 May 2020, 12:35:43 UTC | Merge branch 'ffi_in_docker' into 'master' CI: update base docker image (includes libffi) Closes #810 See merge request tezos/tezos!1842 | 26 May 2020, 12:35:43 UTC |
dbd7893 | Pierre Boutillier | 26 May 2020, 12:35:06 UTC | CI: update base docker image (includes libffi) Fixes tezos/tezos#810 | 26 May 2020, 12:35:06 UTC |
076ee7d | vbot | 23 May 2020, 13:49:55 UTC | Doc: add missing system dependency for ctypes | 23 May 2020, 20:59:39 UTC |
c7126f8 | Danny Willems | 07 May 2020, 16:23:50 UTC | CI: harmonize linting targets between CI and Makefile Previously, OCaml code was also verified in check_python_linting. Also, check_linting was not executing dune build @runtest-lint Harmonising the Makefile and the CI targets help local development Signed-off-by: Danny Willems <be.danny.willems@gmail.com> | 23 May 2020, 07:21:19 UTC |
024edff | Tomáš Zemanovič | 26 March 2020, 20:13:10 UTC | Tests/Python: Add tests for Michelson conversions | 22 May 2020, 16:08:36 UTC |
6817476 | Tomáš Zemanovič | 10 March 2020, 11:15:58 UTC | Client: Add conversion commands for Michelson scripts or data This adds two client commands: - `tezos-client convert script <script> from <input> to <output>` - `tezos-client convert data <data> from <input> to <output>` where <input> can be one of "michelson", "json" or "binary" <output> can be one of "michelson", "json", "binary" or "ocaml" The "convert script" type-checks the program before conversion. The "convert data" command can be optionally given type with "--type" argument, which will be used to type-check the data before conversion. | 22 May 2020, 16:08:36 UTC |
c272c08 | Pietro | 19 May 2020, 13:51:22 UTC | proto_client_lib: change type Lwt_io.file_name -> string | 22 May 2020, 08:56:03 UTC |
08e8421 | Pietro | 18 May 2020, 15:26:28 UTC | p2p_services: remove leftover dependency to tezos-workers | 22 May 2020, 08:56:03 UTC |
6903142 | Romain Bardou | 19 May 2020, 15:02:55 UTC | Doc: release candidates are mostly for major versions | 20 May 2020, 20:58:31 UTC |
63d556a | Clément Hurlin | 20 May 2020, 08:28:23 UTC | Client/mockup: remove calls to Lwt_main.run | 20 May 2020, 14:28:10 UTC |
9c17254 | Ilias Garnier | 19 May 2020, 13:31:46 UTC | Client/mockup: remove spurious UNIX dependency in mockup | 20 May 2020, 09:32:04 UTC |
e3c0ab8 | Mathias Bourgoin | 29 April 2020, 12:46:05 UTC | P2P: Add documentation to avoid misused conditions | 20 May 2020, 09:00:41 UTC |
8d281fc | Philippe Bidinger | 12 May 2020, 16:36:41 UTC | Tests/python: --sandbox is no longer needed The `--sandbox` option is no longer needed when launching a node. It was used to specify the public key to be used by genesis to validate a protocol activation. This key is now hard-coded in the node and is used by default when the node is launched with `--network=sandbox`. This commit updates the python test API and tests to reflect this change. There's also no need for `--network` in snapshot import | 20 May 2020, 08:33:06 UTC |
ec4df12 | Victor Dumitrescu | 19 May 2020, 11:39:18 UTC | Vendors: remove blake2 and hacl version 1 | 19 May 2020, 16:23:22 UTC |
0ec84c2 | Victor Dumitrescu | 19 May 2020, 14:08:29 UTC | Lib_crypto: Adding SHA-3, Keccak-256 | 19 May 2020, 16:23:22 UTC |
d26b16f | Victor Dumitrescu | 19 May 2020, 14:02:18 UTC | Lib_crypto: Rewrite to use hacl-star opam package HACLv2 includes an implementation of Blake2b. There is also a slight simplification of the API wrt to NaCl: - there is no longer need to pad buffers with zeros - thus, there are no more boxzerobytes and zerobytes - there is now a single tagbytes for the in-place functions | 19 May 2020, 16:23:22 UTC |
409db3e | Victor Dumitrescu | 19 May 2020, 11:55:08 UTC | Lib_crypto: Switch API from Bytes + Bigstring to Bytes only Bigstrings were planned to be used for locking and wiping memory but that is postponed. Bytes are more efficient and simplify the codebase. | 19 May 2020, 16:23:22 UTC |
8db9b54 | Marco Stronati | 19 May 2020, 08:49:39 UTC | Lib_p2p: fix writing header of chunk with uint16 rather than int16 read is expecting a uint16 but write was writing a int16 | 19 May 2020, 16:23:22 UTC |
646b18e | Marco Stronati | 19 May 2020, 08:48:41 UTC | Lib_crypto: make nonce abstract | 19 May 2020, 16:23:22 UTC |
a89fb38 | Romain Bardou | 19 May 2020, 14:03:15 UTC | Doc: fix version 7.1 note since we backported client patches | 19 May 2020, 14:08:51 UTC |
7edf85e | Pierre Boutillier | 19 May 2020, 11:22:30 UTC | Lib_crypto: add hacl-star For now, it is purely artificial to decouple opam-repository update from switching hacl version. | 19 May 2020, 13:18:09 UTC |
fcb50c3 | Romain Bardou | 12 May 2020, 12:11:32 UTC | Doc: update version 7 page with version 7.1 changes | 19 May 2020, 12:04:32 UTC |
b3cc540 | Romain Bardou | 12 May 2020, 12:17:14 UTC | Changelog: add version 7.1 changes | 19 May 2020, 12:04:18 UTC |
a4bf2f6 | Romain Bardou | 12 May 2020, 12:13:44 UTC | Version: set version to 7.1+dev | 19 May 2020, 10:12:35 UTC |
3416bfc | Clément Hurlin | 15 May 2020, 07:42:29 UTC | Tests/Python: add mockup tests | 18 May 2020, 14:07:13 UTC |
e8865ec | Clément Hurlin | 15 May 2020, 07:41:14 UTC | Tests/Python: prepare mockup tests This commit prepares the client and the sandbox | 18 May 2020, 14:07:13 UTC |
3c47251 | Philippe Bidinger | 08 May 2020, 22:34:15 UTC | Shell/DDb: documentation/typos | 18 May 2020, 13:30:24 UTC |
f9e0520 | Philippe Bidinger | 19 December 2019, 15:50:59 UTC | Shell/DDb: remove deadcode | 18 May 2020, 13:30:24 UTC |
8d4e1a5 | Philippe Bidinger | 05 September 2019, 15:33:42 UTC | Shell/DDB: extract p2p_reader to separate module | 18 May 2020, 13:30:24 UTC |
33c9f92 | Philippe Bidinger | 05 September 2019, 11:15:19 UTC | Shell/DDB: break mutually recursive types This is is a preparatory step before extracting P2p_reader | 18 May 2020, 13:30:24 UTC |
38e2959 | Philippe Bidinger | 08 May 2020, 22:31:55 UTC | Shell/DDb: fix log messages | 18 May 2020, 13:30:24 UTC |
0a101a5 | vbot | 12 May 2020, 16:48:31 UTC | Daemons (006 backport): fix the bootstrapping waiting phase | 18 May 2020, 13:06:28 UTC |
11ae53f | vbot | 12 May 2020, 16:47:02 UTC | Mempool (006 backport): protect operation validation from exceptions | 18 May 2020, 13:06:28 UTC |
8142d9e | Tomáš Zemanovič | 12 May 2020, 16:41:41 UTC | Client (006 backport): refactor call command syntax | 18 May 2020, 13:06:28 UTC |
85ea2e7 | Tomáš Zemanovič | 12 May 2020, 15:10:33 UTC | Client (006 backport): Factorize 'tranfer' and 'call' commands | 18 May 2020, 13:06:28 UTC |
2431a27 | Pierre Boutillier | 12 May 2020, 15:07:01 UTC | Client (006 backport): command 'activate account ... with' accepts a file or some inlined JSON as argument | 18 May 2020, 13:06:28 UTC |
ec7962a | Julien Tesson | 12 May 2020, 15:00:36 UTC | Client (006 backport): no partial entrypoints list when typecheck fails | 18 May 2020, 13:06:28 UTC |
528c48f | Julien Tesson | 12 May 2020, 14:57:51 UTC | Client (006 backport): earlier check of set/remove_delegate entrypoint | 18 May 2020, 13:06:28 UTC |
1b8fd9d | Julien Tesson | 12 May 2020, 14:56:46 UTC | Client (006 backport): managed_contract: optimizing the passed lambda | 18 May 2020, 13:06:28 UTC |
cfcdd23 | Tomáš Zemanovič | 12 May 2020, 14:49:37 UTC | Client (006 backport): Remove unused argument | 18 May 2020, 13:06:28 UTC |
00edabc | Victor Allombert | 14 May 2020, 06:39:33 UTC | Tests/Python: rename block accessor | 15 May 2020, 11:47:47 UTC |
03d2234 | Victor Allombert | 26 March 2020, 14:33:07 UTC | Tests/Python: add rpcs | 15 May 2020, 11:47:47 UTC |
3fbe720 | Victor Allombert | 30 March 2020, 12:23:36 UTC | Tests/Python: add get_block_header_per_level | 15 May 2020, 11:47:47 UTC |
f6eb43e | Victor Allombert | 11 March 2020, 13:45:36 UTC | Tests/Python: allow to run a node with a given data-dir | 15 May 2020, 11:47:47 UTC |
a21a26e | Craig Ferguson | 13 May 2020, 17:40:56 UTC | Dune: mark vendors/ directory with vendored_dirs This prevents `dune` from recursing into the `vendors/` directory when building all targets, running all tests, or linting with `dune build @fmt`. Libraries in the `vendors/` directory are also built with warnings suppressed. This has the effect of avoiding running tests for `ocaml-blake2`, `ocaml-lmdb` etc. as part of the `make test` command. See https://dune.readthedocs.io/en/stable/dune-files.html#vendored-dirs-since-1-11 for more details. | 14 May 2020, 14:49:04 UTC |
e671e59 | Pierre Boutillier | 13 May 2020, 21:49:32 UTC | Build: update opam-repository ref | 13 May 2020, 22:29:41 UTC |
e35e908 | Pierre Boutillier | 13 May 2020, 19:16:03 UTC | HaCL: conflicts with hacl_x25519 (dependency of tls.0.12.0) Actually, they 'stole' us C functions that therefore end up being defined twice :-) | 13 May 2020, 19:16:03 UTC |
8543632 | vbot | 13 May 2020, 15:28:29 UTC | Deps: adapt signatures for Lwt 5.2 + disable deprecated warning | 13 May 2020, 19:14:06 UTC |
f568a41 | Craig Ferguson | 12 May 2020, 18:36:39 UTC | Tests/P2P: avoid use of Alcotest_lwt ... in favour of explicitly calling `Lwt_main.run` for each threaded test case – replicating the semantics of pre-1.0 Alcotest_lwt. These tests nest calls to `Lwt_main.run` as part of forking nodes, which is undefined behaviour pre-5.0.0 and explicitly forbidden thereafter. When the outer top-level promise contains the full test-suite, as is the case for Alcotest_lwt 1.0+, this results in each fork triggering its own suite of tests (which then deadlock due to contention over sockets). | 12 May 2020, 21:53:38 UTC |
4705942 | Craig Ferguson | 12 May 2020, 18:22:52 UTC | Tests/requester: bind on `fetch` before counting `pending_requests` ... by nesting uses of `Lwt.join` or `Lwt.choose` according to whether the request is expected to be satisfied or not respectively. This fixes a race condition in which `fetch` is assumed to have registered a request before necessarily having been scheduled. Exposed by the upgrade to Alcotest 1. | 12 May 2020, 21:53:38 UTC |
52a42d2 | Craig Ferguson | 12 May 2020, 18:22:12 UTC | Tests/requester: schedule `fetch` promise before asserting that it is resolved This fixes a race condition in which a call to `Test_Requester.fetch` is assumed to have resolved before necessarily having been scheduled. Exposed by the upgrade to Alcotest 1. | 12 May 2020, 21:53:38 UTC |
fdbecb2 | Craig Ferguson | 30 April 2020, 13:41:54 UTC | Tests: port to the Alcotest 1.0+ API | 12 May 2020, 21:53:38 UTC |
6f2b6a9 | François Thiré | 06 May 2020, 13:06:52 UTC | lwt_log_sin_unix: Add milliseconds in event messages The format for the date for all the events now also include milliseconds. | 12 May 2020, 13:39:46 UTC |
182ae7a | Pietro | 07 May 2020, 10:46:49 UTC | docs-html: fix fonts in shpinx css | 11 May 2020, 22:26:11 UTC |
3f11fe9 | Philippe Bidinger | 11 May 2020, 11:53:32 UTC | Tests/python: allow more than one client per node Defines a `sandbox.get_new_client()` which allows to instanciate more than one client for a given node. | 11 May 2020, 22:04:14 UTC |
0f4d9d1 | Philippe Bidinger | 29 April 2020, 21:59:51 UTC | Tests/python: refactor add_node split add_node in smaller functions. . makes the code more readable . useful for some tests | 11 May 2020, 22:04:14 UTC |
832ad0b | Philippe Bidinger | 11 May 2020, 10:52:02 UTC | Revert "Test: extract client instanciation in sandbox" This reverts commit 75c05dc7830128dca46b0b26eabf34a026f2ff75. | 11 May 2020, 22:04:14 UTC |
25f4397 | Paul Laforgue | 11 October 2019, 23:17:25 UTC | Bin_sandbox: testsuite for synchronization between nodes | 11 May 2020, 15:32:28 UTC |
d03948e | Paul Laforgue | 28 August 2019, 22:37:08 UTC | Shell: dismiss locators whose caboose is too far ahead | 11 May 2020, 15:32:28 UTC |
373f869 | Pietro | 28 April 2020, 16:57:17 UTC | p2p: change the types of P2p_fd.socket to t Lwt.t | 11 May 2020, 14:42:04 UTC |
3f838ca | Pietro | 23 April 2020, 16:38:21 UTC | p2p: remove legacy logging from p2p_fd | 11 May 2020, 14:42:04 UTC |
e2d0e08 | Pietro | 23 April 2020, 16:12:47 UTC | p2p: remove legacy logging from conn | 11 May 2020, 14:42:04 UTC |
93ee301 | Pietro | 23 April 2020, 15:42:07 UTC | p2p: remove legacy logging from connect_handler | 11 May 2020, 14:42:04 UTC |
2314ff8 | Pietro | 23 April 2020, 10:46:43 UTC | p2p: remove legacy logging from discovery worker | 11 May 2020, 14:42:04 UTC |
32818f5 | Pietro | 23 April 2020, 10:12:50 UTC | p2p: remove legacy logging from welcome worker | 11 May 2020, 14:42:04 UTC |
7cceba6 | Pietro | 23 April 2020, 09:50:47 UTC | p2p: remove legacy logging from maintenance worker | 11 May 2020, 14:42:04 UTC |
1c4709d | Philippe Bidinger | 06 May 2020, 16:06:31 UTC | Doc: MR testing/coding guidelines | 11 May 2020, 14:12:58 UTC |
39dbe1e | Julien Tesson | 17 December 2019, 21:55:44 UTC | lib_rpc: prevent empty error trace on RPC error When an RPC resulted in an error that does not carry a json list of encoded error, it was producing an empty error trace for the error monad. Empty error trace should not happen. | 11 May 2020, 13:44:36 UTC |
ea08caf | Romain Bardou | 29 April 2020, 13:34:26 UTC | Node: built-in activator key for --network sandbox | 11 May 2020, 13:43:12 UTC |
1ad8d30 | Clément Hurlin | 04 May 2020, 12:49:55 UTC | docs/mockup: Fix create mockup command It was using a deprecated syntax (`create mockup for protocol`) whereas the correct command is now `--protocol foo create mockup` | 11 May 2020, 12:20:18 UTC |
44123ff | Richard Bonichon | 29 April 2020, 15:06:35 UTC | Doc/mockup: Typos & minor update | 11 May 2020, 12:20:18 UTC |
f33f8fb | Clément Hurlin | 27 April 2020, 13:36:38 UTC | docs: Add mockup mode | 11 May 2020, 12:20:18 UTC |
c0d5a0e | Philippe Bidinger | 23 March 2020, 20:25:13 UTC | Tests/python: display output for synchronous node commands | 11 May 2020, 09:09:31 UTC |
4296813 | Philippe Bidinger | 18 March 2020, 11:52:11 UTC | Tests/python: use context manager for assert_run_failure More 'pythonic' and consistent with `pytest.raise` that is already used in this codebase. | 11 May 2020, 09:09:31 UTC |
5483124 | Philippe Bidinger | 18 March 2020, 11:51:46 UTC | Tests/python: capture output of all node commands | 11 May 2020, 09:09:30 UTC |
b200ace | Philippe Bidinger | 18 March 2020, 08:53:22 UTC | Tests/python: refactor client.run | 11 May 2020, 09:09:30 UTC |
62860d3 | Arvid Jakobsson | 07 May 2020, 13:54:49 UTC | Tests/Python: automatically add regression marker | 07 May 2020, 21:25:28 UTC |
02ac13d | Arvid Jakobsson | 07 May 2020, 13:33:37 UTC | Tests/Python: rename regression files to new shorter format | 07 May 2020, 21:25:27 UTC |
f08278a | Arvid Jakobsson | 07 May 2020, 12:29:54 UTC | Tests/Python: bump pytest-regtest to 1.4.4+nomadic-labs w/ short logs | 07 May 2020, 21:25:25 UTC |
5c5a959 | Arvid Jakobsson | 07 May 2020, 12:32:22 UTC | Tests/Python: remove stale regression files | 07 May 2020, 21:08:14 UTC |
1f030c4 | Romain Bardou | 07 May 2020, 13:29:31 UTC | Node: add -d as a short-hand of --data-dir `--data-dir` is probably one of the most used command-line options if you have more than one data-directory or if you're not using the default one, especially with the multinetwork node. So I believe it is worth it to have a short-hand for it: `-d`. | 07 May 2020, 15:21:10 UTC |
2efc285 | Romain Bardou | 07 May 2020, 13:11:30 UTC | Makefile: ignore opam error when checking if Merlin is installed If a user only has opam 2.0.0 (which we accept in our version check), the command emits an error: `opam: unknown option --silent, did you mean -s ?`. But actually compilation happens anyway. Instead of requiring users to use opam 2.0.0, I redirect this error to `/dev/null`. The only consequence is that users with opam 2.0.0 that use merlin will not run `dune build check` automatically, and thus will get less precise "jump to definition" behavior. | 07 May 2020, 14:28:25 UTC |
253a3e3 | Romain Bardou | 07 May 2020, 12:46:17 UTC | Makefile: only list protocols with a TEZOS_PROTOCOL file If a protocol is deleted or moved, its `src/proto_XXX` directory will probably remain when switching branch because of leftover files which are ignored by Git. This is particularly annoying for users which just want to `git pull && make`, as they face an error `No rule to make target 'src/proto_plop/lib_protocol/TEZOS_PROTOCOL`. This patch modifies the Makefile to only try to build protocols for which there is actually a `TEZOS_PROTOCOL` file, instead of all `proto_*` folders. | 07 May 2020, 14:00:08 UTC |
50fa4e9 | Philippe Bidinger | 06 April 2020, 14:38:08 UTC | Test/python: check progress in some tests | 07 May 2020, 11:04:20 UTC |
75c05dc | Danny Willems | 17 April 2020, 17:35:09 UTC | Test: extract client instanciation in sandbox For the moment, only one client is used in the different tests, through sandbox.client(0). For a given node, only this client is used, including its state (saved keys, known addresses, etc). It may be interesting to allow instantiating a new client for a given node for scenari requiring clients with different states. | 07 May 2020, 10:43:27 UTC |
975e744 | Romain Bardou | 07 May 2020, 09:02:51 UTC | Doc: add note about leftover proto_demo files | 07 May 2020, 09:53:37 UTC |
b789327 | Romain Bardou | 07 May 2020, 09:02:26 UTC | Doc: add note about opam version | 07 May 2020, 09:53:37 UTC |
6d7d9d2 | Romain Bardou | 07 May 2020, 08:55:16 UTC | Doc: add note for remote signer users | 07 May 2020, 09:53:37 UTC |
47faaa7 | Romain Bardou | 07 May 2020, 08:53:42 UTC | Doc: add New Versioning Scheme section to 7.0 release page | 07 May 2020, 09:53:37 UTC |
b716ffa | Danny Willems | 04 May 2020, 19:21:32 UTC | Doc: TEZOS_CONTEXT -> TEZOS_PROTOCOL | 07 May 2020, 09:51:44 UTC |
9a01070 | Arvid Jakobsson | 06 May 2020, 16:02:19 UTC | Node: remove aliasing of *_validator limits Previously, node redeclared the following structures: - Block_validator.limits - Prevalidator.limits - Peer_validator.limits - Chain_validator.limits this commit removes the alias and uses e.g. Chain_validator.limits directly. This simplifies testing as the default limits in Node can be re-used directly. | 06 May 2020, 16:02:19 UTC |
de18ef3 | Romain Bardou | 19 December 2019, 16:41:18 UTC | Scripts: add baker-version-stats.sh | 06 May 2020, 14:56:04 UTC |
8565e39 | Romain Bardou | 05 May 2020, 12:52:20 UTC | Changelog: udpate with changes from 7.0~rc1 to 7.0 | 06 May 2020, 11:49:26 UTC |
a78523f | Romain Bardou | 15 April 2020, 11:56:27 UTC | Doc: update Latest Release section in index | 06 May 2020, 11:49:25 UTC |
705a640 | Romain Bardou | 15 April 2020, 11:50:37 UTC | Doc: update documentation for 7.0 release | 06 May 2020, 11:49:25 UTC |
00b7b46 | Romain Bardou | 15 April 2020, 10:22:41 UTC | Doc: update test_networks.rst | 06 May 2020, 11:49:24 UTC |
e5267a6 | Romain Bardou | 15 April 2020, 10:20:45 UTC | Doc: update multinetwork.rst | 06 May 2020, 11:49:23 UTC |
5bb75ce | Romain Bardou | 15 April 2020, 10:19:50 UTC | Doc: update howtorun.rst | 06 May 2020, 11:49:23 UTC |
079bae5 | Romain Bardou | 15 April 2020, 10:18:11 UTC | Doc: update howtouse.rst | 06 May 2020, 11:49:22 UTC |
57b819d | Romain Bardou | 15 April 2020, 10:08:44 UTC | Doc: update howtoget.rst | 06 May 2020, 11:49:21 UTC |