3f4be78 | Paul Laforgue | 05 March 2020, 12:24:16 UTC | P2p: remove useless log | 04 June 2020, 23:05:37 UTC |
ea0f29b | Paul Laforgue | 03 March 2020, 12:38:15 UTC | P2p: add logs for Bootstrap and Advertise messages | 04 June 2020, 23:05:37 UTC |
4448edf | Paul Laforgue | 03 March 2020, 12:29:43 UTC | P2p_conn: let P2p_protocol handle advertise messages The sending of the Advertise message was previously done by the P2p_conn module instead of the P2p_protocol. Letting the P2p_protocol handle this action provides a better separation of concerns. | 04 June 2020, 23:05:37 UTC |
b0f589d | Raphaël Proust | 04 June 2020, 17:48:12 UTC | Protocol environment: fix dependencies in sigs/structs opam and dune | 04 June 2020, 17:48:12 UTC |
de994c3 | Raphaël Proust | 07 May 2020, 11:35:15 UTC | Protocol tests: remove unused utils module | 04 June 2020, 09:32:30 UTC |
6bc60c0 | Raphaël Proust | 06 May 2020, 09:19:48 UTC | Error_monad: more functions for non-Lwt, pure-error monad - new >>?= and >|?= operators - preallocated `ok_unit`, `ok_nil`, etc. - `map`, `iter`, `filter`, etc. - `error_when`, `error_unless` - some documentation | 04 June 2020, 09:32:30 UTC |
076f3ba | Raphaël Proust | 03 June 2020, 11:37:34 UTC | MBytes: revert erroneous environment update in test protocol | 04 June 2020, 08:45:41 UTC |
f9e3146 | Raphaël Proust | 03 June 2020, 09:36:00 UTC | Protocol_environment: factorise sigs/structs packers | 04 June 2020, 08:45:41 UTC |
ec2a982 | Raphaël Proust | 22 May 2020, 13:21:00 UTC | Stdlib: remove MBytes | 04 June 2020, 08:45:41 UTC |
becba4e | Raphaël Proust | 22 May 2020, 13:19:55 UTC | Protocol_environment: introduce structs/ (to go along sigs/) For now, only add `structs/v0/mBytes.ml`. This is a legacy module that will be removed from the non-protocol-environment code in the next commit. | 04 June 2020, 08:45:41 UTC |
9e0bd83 | Clément Hurlin | 11 May 2020, 20:10:58 UTC | Tests/mockup: remove deprecated comments | 03 June 2020, 12:08:31 UTC |
f529d3c | Richard Bonichon | 11 May 2020, 14:48:47 UTC | Tests: simplify CreateMockup output parsing | 03 June 2020, 12:08:31 UTC |
c24809f | Richard Bonichon | 11 May 2020, 14:31:28 UTC | Tests: Fix failing test (because of non-working test arch) Parsing the output was not done with the correct regexp and was failing. | 03 June 2020, 12:08:31 UTC |
0354f4f | Richard Bonichon | 24 April 2020, 09:08:25 UTC | Client/mockup: fix error registration mistake reported by @igarnier This fix brings more meaningful error reporting for the user. | 03 June 2020, 12:08:31 UTC |
3ed4a7b | Richard Bonichon | 17 April 2020, 13:51:40 UTC | Client/mockup: Signals incompatible client mode with base dir The client now fails when: - it's in client mode and its base dir is in mockup mode - it's in client mode and the base dir is does not exist or is a file (however, this case should never happen since it is dealt with earlier in the code). Since mockup may be either persistent or transient, the client only emits a warning when the base dir is in an incompatible state with the persistent mode. This allows transient operation (not needing on disk configuration) like typechecking to occur. Non-transient operations like transfer will fail later, e.g., during parsing. +: this only adds a local check -: the diagnostic (it might fail) is not very precise Note: having precise diagnostic would be quite invasive as the command-line parser would need to remember it's in mockup mode and check it when parsing for example a transfer operation. This would make command-line parsing dependent on itself and you would need to duplicate that work for all similar operations. For example, on my machine, the command now fails in the following way $ ./tezos-client -M mockup transfer 1 from bootstrap1 to bootstrap2 Base dir /home/richard/.tezos-client has state base_dir_is_empty. Some commands (e.g., transfer) might not work correctly. Error: Erroneous command line argument 4 (bootstrap1). no contract or key named bootstrap1 bad contract notation Invalid contract notation "bootstrap1" | 03 June 2020, 12:08:31 UTC |
56b532b | Richard Bonichon | 17 April 2020, 13:51:04 UTC | Client/mockup: Pretty-printer for base dir classes | 03 June 2020, 12:08:31 UTC |
3029058 | Mark Karpov | 01 April 2020, 13:56:10 UTC | Client/mockup: further propagate use of RPC_encoding.uri_encoding | 03 June 2020, 12:08:31 UTC |
16acd84 | Romain Bardou | 02 June 2020, 11:17:25 UTC | Doc: explain how to get Rust for master | 03 June 2020, 08:43:21 UTC |
7132b4e | François Thiré | 16 April 2020, 19:44:05 UTC | tests_python: Add a "--singleprocess" option for the node By default, a sandbox node starts without this option. The validation is therefore externalized to the binary `bin_validation`. This prevents the `--log-dir` option to print debug messages emit from `lib_validation`. Using the option `--singleprocess` the node binary also validates blocks. This may slow down the node since validation is blocking. | 02 June 2020, 11:46:35 UTC |
1dd3b62 | Raphaël Proust | 29 May 2020, 14:43:50 UTC | Lib_client_base: use `ctxt` (rather than Format) to print error message | 29 May 2020, 16:27:21 UTC |
8d83436 | Raphaël Proust | 26 May 2020, 13:07:34 UTC | Stdlib: remove unused Lwt_idle_waiter module | 29 May 2020, 16:27:21 UTC |
932be73 | Raphaël Proust | 26 May 2020, 12:59:35 UTC | Everywhere: replace Lwt.async with dont_wait | 29 May 2020, 16:27:21 UTC |
7fad0dc | Raphaël Proust | 26 May 2020, 12:59:07 UTC | Error_monad: add dont_wait, and error-aware Lwt.async replacement | 29 May 2020, 16:27:21 UTC |
74d33f3 | Raphaël Proust | 26 May 2020, 09:36:37 UTC | Stdlib/lwt_utils: add dont_wait, a sane alternative to Lwt.async | 29 May 2020, 16:27:21 UTC |
61c00b8 | Pietro | 29 May 2020, 13:32:38 UTC | build-deps: add depext conf-libffi | 29 May 2020, 13:32:38 UTC |
c8b4760 | Haochen Xie | 26 May 2020, 15:51:40 UTC | Doc: small fix of typo in README.rst correct the main `make` command to build the documentation from `make html` to `make doc-html`. also clarify from which directory this command is supposed to be called. | 29 May 2020, 12:01:43 UTC |
15f57c4 | Philippe Bidinger | 18 March 2020, 16:40:08 UTC | Tests/python: test for prototol migration and test chain This test is a reworked version of `multibranch/test_voting_full.py`. . The multibranch test wasn't on the CI and this became deprecated, . Because babylon and carthage are now present on the master branch, doesn't need to rely on other branches. . it tests the test chain, and the new bootstrap heuristic when a test chain is launched It also enriches the Python client API | 28 May 2020, 09:32:52 UTC |
799d674 | Philippe Bidinger | 10 April 2020, 07:01:45 UTC | Shell/bootstrap: spawned chain inherits bootstrap flag from parent The bootstrap heuristic doesn't deal well with the corner case where all nodes spawn a chain at a same time, especially if the (global) bootstrap threshold isn't zero for the node which bake the first blocks. This solves the issue by making the testchain inherit the bootstrap status from the parent. | 28 May 2020, 09:32:52 UTC |
7c0d790 | Philippe Bidinger | 14 November 2019, 09:59:22 UTC | Tests/Python: add a bootstrap test | 28 May 2020, 09:32:52 UTC |
1a89a60 | Philippe Bidinger | 09 April 2020, 07:42:42 UTC | Shell/RPC: add /chains/<chain_id>/is_bootstrapped Returns a bool saying if chain_id is bootstrapped | 28 May 2020, 09:32:52 UTC |
56b707b | Philippe Bidinger | 05 November 2019, 16:30:01 UTC | Shell/RPC: add /chains/<chain_id>/sync_state Returns the synchronization state of a chain (stuck, sync, unsync) | 28 May 2020, 09:32:51 UTC |
5823edb | Philippe Bidinger | 08 April 2020, 11:59:25 UTC | Shell/bootstrap: improve logging | 28 May 2020, 09:32:51 UTC |
ac05516 | Philippe Bidinger | 14 November 2019, 14:28:27 UTC | Shell/Bootstrap: update bootstrap constants types . Use more appropriate types for bootstrap heuristic parameters . Allow passing of bootstrap parameters on the command line | 28 May 2020, 09:32:51 UTC |
6a71c33 | Philippe Bidinger | 01 April 2020, 10:27:29 UTC | Shell/Bootstrap: change bootstrap heuristic . Change bootstrap heuristic . add config parameters (max_latency, chain_stuck_delay, sync_polling_period, bootstrap_threshold) . exhaust bootstrap stream in Client_daemon | 28 May 2020, 09:32:51 UTC |
303afe4 | Philippe Bidinger | 08 April 2020, 11:39:05 UTC | Shell: log bootstrap event using worker logger | 28 May 2020, 09:32:51 UTC |
c6aba52 | Pierre Boutillier | 19 May 2020, 11:43:49 UTC | Tests: Adapt regression test to new bootstrapped outputs | 28 May 2020, 09:32:51 UTC |
fef1303 | Pierre Boutillier | 19 May 2020, 09:08:50 UTC | Client: Factorize wait_for_bootstrapped | 28 May 2020, 09:32:51 UTC |
7cc1bab | Pierre Boutillier | 27 May 2020, 17:46:57 UTC | CI: uses a build image with librustzcash | 27 May 2020, 17:46:57 UTC |
40d94fb | Raphaël Cauderlier | 26 May 2020, 10:30:05 UTC | Doc/Michelson: fix the formatting of the typing rule of FAILWITH | 26 May 2020, 20:10:52 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 |