Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1533 commits
Select commit Hold shift + click to select a range
048c7a9
CI: sanitize coverage artifact names and merged file names
arvidj Dec 14, 2021
9aa8b9e
CI: manually balance unit tests and exploit intrarunner parallelism
arvidj Jan 13, 2022
5dc64bd
Merge branch 'arvid@rebalance-unittests' into 'master'
Feb 22, 2022
17412d2
Proto: expose snapshot index computation function
Feb 17, 2022
7dd14d3
Proto: register a RPC to query snapshot indexes
Feb 17, 2022
9956c1c
Proto/Ithaca: backport selected_snapshot RPC via the plugin
Feb 17, 2022
a2ad129
Docs: fix modified snapshotting constants
Feb 22, 2022
bfc99f7
Changes: add corresponding entry
Feb 22, 2022
59515c3
Merge branch 'vbot@add_selected_snapshot_rpc' into 'master'
Feb 22, 2022
8852a01
Proto: compile the protocol environment without Stdlib (fixes #2209)
g-b-fefe Feb 16, 2022
a6abacc
Merge branch 'env' into 'master'
Feb 22, 2022
7730346
Tx_rollup,Proto: use environment size for public key
vch9 Feb 22, 2022
e6a61aa
Merge branch 'tx_rollup@bls-pk-size' into 'master'
Feb 22, 2022
3ffe332
Tests/Tezt: make RPC.get_block_hash return strings
arvidj Feb 17, 2022
25f7aa3
Tests/Tezt/voting.ml: no need for manual tezos_proto file
arvidj Jan 17, 2022
f4d1461
Tests/Tezt/voting.ml: add and use period_kind type
arvidj Jan 17, 2022
12525e6
Tests/Tezt: facility for setting protocol overrides in node config
arvidj Jan 17, 2022
bde8a49
Tests/Tezt/voting.ml: add user-activated protocol override test
arvidj Jan 17, 2022
fde7066
Tests/Flextesa: remove sandboxes:u-a-u and sandboxes:daemons-upgrade
arvidj Jan 17, 2022
8fee410
Tests/Tezt: also run voting tests with target protocol Alpha
arvidj Jan 17, 2022
4fd97b5
Merge branch 'arvid@flextesa-user_activated_protocol_override-in-tezt…
Feb 23, 2022
5ec70aa
Tx_node: clean events
vect0r-vicall Feb 21, 2022
d207315
Tx_node: conform to let binding's convention
vect0r-vicall Feb 21, 2022
32bb1d9
Tx_node: move event to a better place
vect0r-vicall Feb 21, 2022
fea469f
Merge branch 'vicall@refactor_tx_rollup_node' into 'master'
Feb 23, 2022
f83c8b1
lib_context: Add encoding/context_binary.ml
Ngoguey42 Feb 7, 2022
f4b1fc5
lib_context: Functorise memory/context.ml
Ngoguey42 Feb 7, 2022
43f5e1f
lib_context: Functorise context.ml
Ngoguey42 Feb 7, 2022
e4a842e
lib_context: Add `Tezos_context_memory.Context_binary`
Ngoguey42 Feb 7, 2022
2fdc8be
lib_context: Add `Tezos_context.Context_binary`
Ngoguey42 Feb 7, 2022
0d72523
lib_context: Document the 4 contexts
Ngoguey42 Feb 22, 2022
2d82251
Merge branch 'binary-contexts2' into 'master'
Feb 23, 2022
9fb3d9b
Tezt/Tx_rollup: Use submodule for Tx_rollup related client commands
saroupille Feb 18, 2022
4a97c81
Tezt/Tx_rollup: Merge `originate_tx_rollup` command wrapper
saroupille Feb 18, 2022
6c18cfb
Tezt/Tx_rollup: Merge `submit_tx_rollup_batch` command wrapper
saroupille Feb 18, 2022
9c5bae4
Tezt: Add a `runnable_map` function
saroupille Feb 18, 2022
aae9fc4
Tezt: Merge `Tx_rollup.get_inbox` RPC
saroupille Feb 18, 2022
90a84df
Tezt: Use runnable type for `Tx_rollup.get_state` RPC
saroupille Feb 18, 2022
7825a5d
Tezt: Use runnable type for `Tx_rollup.get_commitments` RPC
saroupille Feb 18, 2022
579f9f5
Tezt/Tx_rollup: Merge `submit_commitment`
saroupille Feb 23, 2022
2325f1c
Tezt/Tx_rollup: Rename submit_batch command
saroupille Feb 23, 2022
0a2583b
Tezt/Tx_rollup: Rename `submit_commitment` command
saroupille Feb 23, 2022
85cfc5d
Tezt/Tx_rollup: Rename `originate` command
saroupille Feb 23, 2022
e0a4551
Tezt/Tx_rollup: Fix typos
saroupille Feb 23, 2022
28cbd4a
Merge branch 'francois@tx-rollup-fixups' into 'master'
Feb 23, 2022
27f2b27
Stdlib,Stdlibunix: convert from infix to binding operators
raphael-proust Feb 8, 2022
991dad2
Merge branch 'raphael-p@convert-lib-stdlib-and-unix-to-newer-let-synt…
Feb 23, 2022
bf1e67b
Manifest: linkall flag on executable belongs to link_flags
Feb 22, 2022
c974140
Merge branch 'hhugo-linkall-exe' into 'master'
Feb 23, 2022
cd1b18e
CI/Tezt: disable flaky protocol_override test
arvidj Feb 23, 2022
d287375
Merge branch 'arvid@remove-accuser-from-tezt-u-a-u-test' into 'master'
Feb 23, 2022
b2dac3f
Changelog: update for 12.0
Feb 22, 2022
3b63fe8
Doc: update version 12.0 release page
Feb 22, 2022
ad391fa
Merge branch 'romain-v12-doc' into 'master'
Feb 23, 2022
9f54cc2
lib_proxy: make Proxy_server argument a record
smelc Feb 22, 2022
1aad1a8
lib_proxy: remove reference to Lwt_unix.sleep
smelc Feb 22, 2022
fb988ed
Merge branch 'smelc@lib_proxy_lwt_unix_sleep' into 'master'
Feb 23, 2022
64b0a37
Proto, tx_rollup: carbonate hash function and split it from tx_rollup…
rueshyna Feb 18, 2022
b54b01f
Proto, tx_rollup: check carbonated hash in precheck
rueshyna Feb 18, 2022
a050976
Merge branch 'cc@carbonate_hash_messages' into 'master'
Feb 23, 2022
967265d
Env v5: add size_in_memory for curve and prime fields
dannywillems Feb 15, 2022
557fb97
Proto: use size_in_memory for Bls12_381.G1/G2/Fr
dannywillems Feb 15, 2022
5f9b732
Proto: set expected_ratios back to 3 in tests.
dannywillems Feb 15, 2022
683d422
Merge branch 'dannywillems-bls12-381-size-fix' into 'master'
Feb 23, 2022
8d1fa41
Store: infer savepoint at history mode switch with metadata files
vect0r-vicall Dec 10, 2021
ddf46fa
Store: refactor and use some events
vect0r-vicall Jan 24, 2022
9aedfba
Store: call write_checkpoint only after a checkpoint change
vect0r-vicall Jan 24, 2022
4825f6e
Store: move event to the right place
vect0r-vicall Jan 24, 2022
462b81b
Store: avoid unecessary writes while restoring consistency
vect0r-vicall Jan 31, 2022
8ca646c
Store: improve error reporting while restoring consistency
vect0r-vicall Jan 31, 2022
a4b7cc9
Merge branch 'vicall@store_various_improvements' into 'master'
Feb 23, 2022
fa09f87
lib-base: introduce Time.System.now
Feb 17, 2022
cb9e09d
Everywhere: use Time.System.now
Feb 17, 2022
de9c916
lib-stdlib-unix: remove Systime_os.now
Feb 17, 2022
5f2411d
Proto_alpha: remove Tezos_stdlib_unix dep
Feb 17, 2022
a373811
Merge branch 'hhugo@ptime-js' into 'master'
Feb 23, 2022
f5523ee
proto/lib_client_commands: load sequentially wallet in stresstest cmd
Feb 7, 2022
df2d886
Merge branch 'vivien@stresstest-wallet_map_s' into 'master'
Feb 23, 2022
a5d44de
Protocol/Docs: Docstring interfaces in lib_protocol
hai-nguyen-van Feb 23, 2022
2c81738
Merge branch 'docstring_lib_protocol' into 'master'
Feb 23, 2022
0b097bb
Gas_benchmarks: add benchmark for `type_has_tickets`
thomasathorne Feb 14, 2022
4267a5a
Gas_benchmarks: switch has_tickets benchmark to use `Result_syntax`
thomasathorne Feb 17, 2022
6956c9a
Merge branch 'thomas.athorne@type_has_tickets_benchmark' into 'master'
Feb 23, 2022
0dff1f0
Sapling-js: dummy js stubs for primitives with arity > 5
Feb 22, 2022
ac73a36
Merge branch 'hhugo-more-dummy-stubs' into 'master'
Feb 23, 2022
14dfa75
CI/build: coverage for bin_tps_evaluation, runtest_dune_template
arvidj Feb 21, 2022
0c30fff
CI/build: do not make the build-test target in the build job
arvidj Feb 21, 2022
3ce2aae
Merge branch 'arvid@build-bin_tps_evaluation-with-instrumentation' in…
Feb 23, 2022
4e2be97
Stress test: add the ability to call smart contracts
mrkkrp Jan 27, 2022
8f23a19
Merge branch 'charles@simple-tps-benchmark' into 'master'
Feb 24, 2022
8cdffc2
Proto,tx_rollup: Inbox hashes
novalis Feb 14, 2022
22a3ae4
Merge branch 'tx_rollup@inbox-constant-gas' into 'master'
Feb 24, 2022
c49a608
Proto/Michelson: keep boxed map operations polymorphic
mbouaziz Oct 1, 2021
24eb5c8
Proto/Michelson: move set/map type inside OPS
mbouaziz Oct 2, 2021
d0e55a3
Proto/Michelson: replace Script_map.key_ty with Script_map.empty_from
mbouaziz Oct 1, 2021
cc1b9a4
Proto: copy gas_input_size
mbouaziz Feb 16, 2022
ae9f07b
Proto: add Gas_comparable_input_size
mbouaziz Feb 16, 2022
bccabda
Proto/Michelson: do not use the type of comparable types in the type …
mbouaziz Oct 2, 2021
a1b710e
Merge branch 'mehdi@no_comparable_type_in_sets_and_maps' into 'master'
Feb 24, 2022
7a21e90
Tezt: replace ?regression_output_path with --regression-dir
Feb 15, 2022
985d6a9
Tezt: warn if there are leftover regression output files
Feb 15, 2022
84a226f
Tezt: add --delete-unknown-regression-files
Feb 15, 2022
41b416b
Tezt: improve regression error messages
Feb 16, 2022
1f5f26b
Tezt: catch Sys_error when checking regression files
Feb 21, 2022
f4b0fa2
Tezt: remove regression files that are no longer used
Feb 15, 2022
1d27924
Merge branch 'romain-tezt-regression' into 'master'
Feb 24, 2022
ebdea3a
Attacker: remove code
raphael-proust Feb 22, 2022
f952ff1
Merge branch 'raphael-p@remove-bin-attacker' into 'master'
Feb 24, 2022
e7c6cf7
Snoop,Shell_benchmark: convert infix binds to let syntax
raphael-proust Feb 22, 2022
231221f
Merge branch 'raphael-p@convert-lib-snoop-and-lib-shell-benchmark-to-…
Feb 24, 2022
30e44ad
Shell: remove `bench/` dead subdirectory
raphael-proust Feb 24, 2022
140687e
Merge branch 'raphael-p@remove-dead-code-shell-bench' into 'master'
Feb 24, 2022
648b3f9
Proto,tx_rollup: Bootstrap the finalization of commitments
novalis Jan 24, 2022
adc85f5
Merge branch 'tx_rollup@finality' into 'master'
Feb 24, 2022
52d6515
Proto: Add simple benchmark for IMin_block_time (#2504)
vapourismo Feb 22, 2022
24b56ec
Merge branch 'min-block-time' into 'master'
Feb 24, 2022
08cf44b
Clic: convert error monad to newer syntax
raphael-proust Feb 2, 2022
cbfb5ed
Mockup: convert last little >>=? to let*
raphael-proust Feb 2, 2022
70cde78
P2p: convert last remnants of >>=? into a let*
raphael-proust Feb 2, 2022
2b2cfc7
Client*: convert last remaining infix binds to let*
raphael-proust Feb 24, 2022
b20cf14
Base: convert infix binds to let*
raphael-proust Feb 24, 2022
e161d25
Crypto: convert infix binds to let*
raphael-proust Feb 24, 2022
dced578
Event_logging: tiny documentation improvement
raphael-proust Feb 24, 2022
6ea1253
Merge branch 'raphael-p@convert-lib-clic-to-newer-let-syntax' into 'm…
Feb 24, 2022
fedb490
Changelog: remove unexpected backtick
Feb 24, 2022
7146825
Merge branch 'romain-changelog-fix' into 'master'
Feb 24, 2022
2e3c1c0
lib_proxy: factor out initial_{env_rpc_,}context args into a record
evertedsphere Feb 17, 2022
3643418
Merge branch 'swann/2391-refactor-rpc' into 'master'
Feb 25, 2022
7b551cd
lib_shell: create shell_metrics module
killian-delarue Feb 24, 2022
98c858e
Merge branch 'killian@create_shell_metrics_module' into 'master'
Feb 25, 2022
82bf501
Proto,Tx_rollup: Allow commitments one block earlier
novalis Feb 14, 2022
d8fbd03
Merge branch 'tx_rollup@nontender' into 'master'
Feb 25, 2022
12e4f15
Proto: blocks_per_voting_period to cycles_per_voting_period
acerone-trilitech Feb 16, 2022
fa9d52d
tests_python: use cycles_per_voting_period
acerone-trilitech Feb 16, 2022
1ad9e8e
tezt: use cycles_per_voting_period
acerone-trilitech Feb 16, 2022
bf21c5b
flextesa-lib: use cycles_per_voting-period in protocol alpha
acerone-trilitech Feb 16, 2022
7f53b76
docs: document changes to cycles_per_voting_period
acerone-trilitech Feb 17, 2022
d486639
Merge branch 'blocks_per_voting_period_2_cycles_per_voting_period' in…
Feb 25, 2022
e82c706
Tezt: get_balance_for returns Tez.t instead of float.
Sventimir Feb 25, 2022
6b3914f
Merge branch 'sventimir@tezt-balance-as-tez' into 'master'
Feb 25, 2022
1f38278
Tezt: add option `--skip` and `--only` (implements #2425)
g-b-fefe Feb 14, 2022
a4e58d8
Merge branch 'tezt_skip' into 'master'
Feb 26, 2022
5d464fc
Tezt/Tx_rollups: Submit empty batch
saroupille Feb 23, 2022
816c9b1
Tezt/Tx_rollup: Encapsulate RPC regression tests
saroupille Feb 23, 2022
49295e5
Protocol/Tx_rollup: Fix off-by-one size limit
saroupille Feb 23, 2022
eea8744
Test/Tx_rollup: Test maximum batch size
saroupille Feb 23, 2022
5389852
Tezt/Tx_rollup: Rename internal function
saroupille Feb 23, 2022
fc98e0c
Tezt/Tx_rollup: Rename internal function
saroupille Feb 23, 2022
225d8ec
Tezt/Tx_rollup: Really check the limit
saroupille Feb 23, 2022
8404854
Client: Fix interface with additional bootstrap accounts
saroupille Feb 23, 2022
188c437
Tezt/Tx_rollup: Use additional_bootstrap_account_count argument
saroupille Feb 23, 2022
2b075e9
Protocol/Tx_rollup: Inbox size limit is inclusive
saroupille Feb 23, 2022
5505c3c
Tezt/Tx_rollup: Add a test for the inbox size limit
saroupille Feb 23, 2022
0e1b60f
Tezt/Tx_rollup: Lift some hard-coded limits
saroupille Feb 23, 2022
63f094e
Merge branch 'francois@tx-rollup-more-tests' into 'master'
Feb 27, 2022
b85c7fe
Automatically generate links for dockerhub and documentation
Feb 28, 2022
6622241
Merge branch 'issue/1474' into 'master'
Feb 28, 2022
ae9fd85
Test: regression tests for contract origination
jobjo Feb 25, 2022
49f0d22
Tests: regression output
jobjo Feb 25, 2022
5081590
Merge branch 'missing-regression-tests' into 'master'
Feb 28, 2022
b8d3141
tezos-proxy-server: add --data-dir option
evertedsphere Feb 21, 2022
a29a069
Merge branch 'swann/2430-add-data-dir' into 'master'
Feb 28, 2022
31332f4
Manifest: Add ?warnings_expression to the maker type
Feb 17, 2022
747217d
Manifest: Add targets_rule, install, and as_ to Manifest.Dune
Feb 17, 2022
fb87649
Manifest: Use Manifest.Dune.targets_rule in Main
Feb 17, 2022
6367749
Manifest: Use Manifest.Dune.install in Main
Feb 17, 2022
8763174
Manifest: generate
Feb 24, 2022
dbcb872
Merge branch 'richard-manifest-misc' into 'master'
Feb 28, 2022
c86e278
Tezt: ~protocols is no longer labeled
Feb 4, 2022
815cad4
Tezt: add ?supports to Protocol.register_test
Feb 4, 2022
cd24488
Merge branch 'romain-tezt-supports' into 'master'
Feb 28, 2022
f0414c5
lib_protocol_environment: Adding unit test for Proxy_context
litchipi Feb 21, 2022
2562e31
Merge branch 'timcer@test_proxy_context' into 'master'
Feb 28, 2022
67072a8
lib_context: Added encoding of context Merkle proofs
Jan 27, 2022
e032d71
lib_context: Added tests for context Merkle proof encoding
Jan 27, 2022
58b20af
lib_context: Added encoding of 5bit list
satos---jp Feb 7, 2022
72c133a
lib_context: implement efficient encoding for dense proofs
satos---jp Feb 14, 2022
5b57a3c
lib_context: replace assertions with conv_with_guard
satos---jp Feb 14, 2022
ae83ffb
lib_context: Moved context Merkle proof encoding out of the functor
satos---jp Feb 15, 2022
ab6fcec
lib_protocol_environment: expose the proof encodings
Feb 16, 2022
dee41d0
proto_alpha/lib_protocol: remove unused deriving irmin
satos---jp Feb 25, 2022
2f3adf2
Merge branch 'jun@merkle-proofs' into 'master'
Feb 28, 2022
1cd82a9
Signer-backend: convert code to use newer let* syntax
raphael-proust Feb 24, 2022
7af3b4b
Merge branch 'raphael-p@convert-lib-signer-backend-to-let-syntax' int…
Feb 28, 2022
e4cce80
CI/Coverage: no coverage for arm64
arvidj Feb 11, 2022
fbe6ebf
CI/Coverage: move merge_coverage.sh to script-section
arvidj Feb 11, 2022
a7c5d3e
CI/Coverage: move coverage report to external script
arvidj Feb 11, 2022
f5664c4
CI/Coverage: adapt coverage scripts to failing early
arvidj Feb 11, 2022
a95f0f3
CI/Coverage: usability improvement in send_slack_alert_coverage.sh
arvidj Feb 28, 2022
8621043
Merge branch 'arvid@coverage-fail-early' into 'master'
Mar 1, 2022
d78002a
Tezt: add `--retry`
arvidj Mar 1, 2022
5b4af6f
Merge branch 'arvid@tezt-retries' into 'master'
Mar 1, 2022
d554af5
Gas_benchmarks: add benchmark for `tickets_of_value`
thomasathorne Feb 17, 2022
2bd04b8
Gas_benchmarks: remove `cost_token_and_amount_of_ticket`
thomasathorne Feb 17, 2022
74ee694
Gas_benchmarks: add benchmark for `Contract.compare`
thomasathorne Feb 17, 2022
f531cb1
Merge branch 'thomas.athorne@tickets_benchmarks' into 'master'
Mar 1, 2022
cecf2d0
Tx_rollup,Proto: Expect the counter's successor in operation
vch9 Mar 1, 2022
c16914e
Merge branch 'tx_rollup@counter-succ' into 'master'
Mar 1, 2022
92ddf52
Proto: add an optional cycle argument to the selected_snapshot RPC
Feb 28, 2022
1b0f39a
Changes: update previous entry
Feb 28, 2022
5f76b52
Merge branch 'vbot@selected_snapshot_in_future' into 'master'
Mar 1, 2022
a3e70c2
Build: Update opam-repo hash for data-encoding.0.5.1
raphael-proust Feb 28, 2022
9898a41
Update regression diffs with json-data-encoding.0.11
vch9 Feb 2, 2022
bd4718a
Proto-env: don't use V3 backwards compat layer in V4
raphael-proust Feb 28, 2022
080af04
Lib_test: adapt to newer data-encoding interface
raphael-proust Feb 28, 2022
9e68b84
Proto-env: adapt to newer data-encoding interface
raphael-proust Feb 28, 2022
05da7fb
Data-encoding: use upstream Compact rather than rolling our own in base
raphael-proust Feb 28, 2022
db58028
Proto-alpha: update to changes in Compact encoding interface
raphael-proust Feb 25, 2022
e46fb54
Merge branch 'raphael-p@update-to-data-encoding-0-5' into 'master'
Mar 1, 2022
a3af33a
Proto,tx_rollup: Make rollup level great again
lthms Feb 25, 2022
4bd89a3
Merge branch 'tx_rollup@level' into 'master'
Mar 1, 2022
34a1e70
lib_context: update to use Irmin 3.0
craigfe Nov 30, 2021
aac9312
proto_alpha: update to use Irmin 3.0
craigfe Feb 24, 2022
660c2f0
lib_proxy: upgrade to use Irmin 3.0
craigfe Feb 24, 2022
bc3669c
lib_context: drop unnecessary comment on legacy Irmin behaviour
craigfe Feb 24, 2022
7e8b612
lib_context: deduplicate hash computation in commit consistency check
craigfe Feb 24, 2022
21f23e1
lib_context: respond to review comments
craigfe Feb 25, 2022
9540367
Node: automatically upgrade version from 0.0.6 to 0.0.7
vect0r-vicall Feb 28, 2022
3e16622
Changelog: notice the automatic upgrade from 0.0.6 to 0.0.7
vect0r-vicall Feb 28, 2022
1df60c4
lib_context: upgrade to 3.1.0
Feb 25, 2022
75b2e51
Opam: update opam-repository to include #242
craigfe Feb 16, 2022
89727e5
tezos-context: fix test_merkle_proof
Mar 1, 2022
22d5dd4
Merge branch 'upgrade-to-irmin-3.0' into 'master'
Mar 1, 2022
7709983
Proto,Tx_rollups: Inbox message count limit
novalis Feb 23, 2022
e0eb36d
Merge branch 'tx_rollup@inbox_size_limit' into 'master'
Mar 2, 2022
885a20a
doc: explicit RPC path prefixes
NicNomadic Feb 25, 2022
5f7500c
Merge branch 'nic@rpc-prefixes-doc' into 'master'
Mar 2, 2022
f04b8ec
Tx_rollup,Proto: Add [remove] in the storage signature
vch9 Mar 1, 2022
763e2ed
Tx_rollup,Proto: Remove empty balance from the context
vch9 Mar 1, 2022
e3c0526
Merge branch 'tx_rollup@remove-balance' into 'master'
Mar 2, 2022
90e680f
Proto: fix https://gitlab.com/tezos/tezos/-/issues/2084
g-b-fefe Mar 2, 2022
988f427
Merge branch 'random' into 'master'
Mar 2, 2022
c306601
Doc: add missing info from tzip
Feb 23, 2022
d2f9543
Merge branch 'astefano@add_missing_info_from_tb_tzip_to_doc' into 'ma…
Mar 2, 2022
61fbe47
Python: Fix the limits in mockup
vch9 Feb 25, 2022
f3f39ea
Tx_rollup,Proto: fix typo in register error
vch9 Mar 2, 2022
f3bb4eb
Merge branch 'vch9@toru-fix-typo' into 'master'
Mar 2, 2022
736528f
lib_context: Rename Sigs.S to Sigs.TRUC
Jun 14, 2021
b81a9ba
lib_context: Move context.mli to the end of sigs/context.ml
Jun 14, 2021
f05b89c
lib_context: Normalise sigs/context.ml
Jun 14, 2021
a0f8e92
lib_context: Extract interactions with TEZOS_CONTEXT to env.ml
Oct 5, 2021
2877dd3
lib_context: Update header dates
Ngoguey42 Mar 3, 2022
3c582a9
lib_context: Add irmin stats
Ngoguey42 Mar 3, 2022
54411ae
Recording
Oct 4, 2021
a924bdf
Update of recording
Ngoguey42 Mar 3, 2022
37098b4
Recording in lib_context
Ngoguey42 Mar 3, 2022
948553b
Replay
Oct 4, 2021
889c5dd
Update of replay
Ngoguey42 Mar 3, 2022
fb757a2
Add support for snap export in summary
Ngoguey42 Feb 25, 2022
2b71f10
Introduce indexing strategy choice in replay
maiste Mar 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ docs/api/tezos-client.html
docs/api/tezos-admin-client.html

tezos-node
tezos-tx-rollup-*
tezos-validator
tezos-protocol-compiler
tezos-client
Expand All @@ -24,6 +25,7 @@ tezos-accuser-*
tezos-proxy-server
tezos-signer
tezos-sc-rollup-node-*
tezos-sc-rollup-client-*

scripts/opam-test-all.sh.DONE
scripts/create_genesis/src
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ devtools export-ignore
docs/active export-ignore

src/lib_version/current_git_info.ml export-subst
src/lib_version/exe/get_git_info.ml export-subst
15 changes: 2 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,12 @@ __pycache__
/_opam
/_docker_build
/_snoop
/docs/api/tezos-client.html
/docs/api/tezos-admin-client.html
/docs/api/tezos-signer.html
/docs/api/tezos-accuser-alpha.html
/docs/api/tezos-baker-alpha.html
/docs/api/tezos-endorser-alpha.html

/test_results

/manifest/manifest
/tezos-node
/tezos-tx-rollup-*
/tezos-validator
/tezos-protocol-compiler
/tezos-client
Expand All @@ -35,19 +30,13 @@ __pycache__
/tezos-snoop
/tezos-tps-evaluation
/tezos-sc-rollup-node-*
/tezos-sc-rollup-client-*

/src/proto_*/parameters/*-parameters.json

/scripts/opam-test-all.sh.DONE
/scripts/create_genesis/src

/docs/introduction/readme.rst
/docs/api/errors.rst
/docs/0*/rpc.rst
/docs/alpha/rpc.rst
/docs/shell/rpc.rst
/docs/shell/p2p_api.rst

/src/bin_client/test/LOG.*
/_coverage_output/*.coverage
/_coverage_report
Expand Down
37 changes: 25 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,45 @@ workflow:
# The "manual" stage exists to fix a UI problem that occurs when mixing
# manual and non-manual jobs.
stages:
- bootstrap
- packaging
- sanity
- build
- test
- doc
- packaging
- build_release
- publish_release
- test_coverage
- manual

# All the jobs belonging to a stage X should be in
# .gitlab/ci/X.yml. The stage "manual" is an exception to this rule,
# as jobs of that stage are not logically related.

# If the configuration for stage X is long, it can be broken up in
# subfiles .gitlab/ci/X/a.yml, .gitlab/ci/X/b.yml, etc (see e.g. the
# stage test).

# Finally, templates shall not be defined in one stage file and used
# in another. That is, a template defined in test.yml shall not be
# used in doc.yml (but it's fine to use it in a subfile test/X.yml).

include:
- .gitlab/ci/templates.yml

# Actual jobs are defined in these included files

- .gitlab/ci/bootstrap-opam-pipeline.yml
- .gitlab/ci/packaging.yml
- .gitlab/ci/sanity.yml
- .gitlab/ci/build.yml
- .gitlab/ci/lints.yml
- .gitlab/ci/unittest.yml
- .gitlab/ci/integration.yml
- .gitlab/ci/liquidity-baking-scripts-integrity.yml
- .gitlab/ci/coq.yml
- .gitlab/ci/tezt.yml
- .gitlab/ci/test/templates.yml
- .gitlab/ci/test/lints.yml
- .gitlab/ci/test/unit.yml
- .gitlab/ci/test/integration.yml
- .gitlab/ci/test/liquidity-baking-scripts-integrity.yml
- .gitlab/ci/test/coq.yml
- .gitlab/ci/test/tezt.yml
- .gitlab/ci/doc.yml
- .gitlab/ci/publish.yml
- .gitlab/ci/coverage.yml
- .gitlab/ci/test-doc-scripts.yml
- .gitlab/ci/doc/test-scripts.yml
- .gitlab/ci/build_release.yml
- .gitlab/ci/publish_release.yml
- .gitlab/ci/test_coverage.yml
24 changes: 0 additions & 24 deletions .gitlab/ci/bootstrap-opam-pipeline.yml

This file was deleted.

39 changes: 18 additions & 21 deletions .gitlab/ci/build.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
---

.build_template:
extends:
- .default_settings_template
- .image_template__runtime_build_test_dependencies_template
- .template__coverage
stage: build
before_script:
- . ./scripts/version.sh
# Load the environment poetry previously created in the docker image.
# Give access to the Python dependencies/executables
- . $HOME/.venv/bin/activate

.build:
extends: .build_template
needs: []
Expand All @@ -29,11 +17,13 @@
fi
- diff poetry.lock /home/tezos/poetry.lock
- diff pyproject.toml /home/tezos/pyproject.toml
- dune build @runtest_dune_template
# We add $COVERAGE_OPTIONS to all dune build commands to enable reuse of
# build artifacts.
- dune build $COVERAGE_OPTIONS @runtest_dune_template
# 2. Actually build
- make all build-test
- make all build-sandbox
# 3. Also build the tps evaluation tool which is not part of the default build.
- dune build src/bin_tps_evaluation
- dune build $COVERAGE_OPTIONS src/bin_tps_evaluation
# 4. clean-up caches before uploading the cache
- opam clean
cache:
Expand All @@ -56,6 +46,8 @@ build_arm64:
- .rules_template__development_arm64
variables:
ARCH: "arm64"
# Disable coverage for arm64
COVERAGE_OPTIONS: ""
tags:
- arm64

Expand All @@ -65,14 +57,15 @@ build_x86_64:
- .rules_template__development
variables:
ARCH: "x86_64"
COVERAGE_OPTIONS: --instrument-with bisect_ppx

# similar to the build template above, this template
# compiles all binaries using the static profile.
.build_static_binaries_template:
extends:
- .default_settings_template
- .image_template__runtime_build_dependencies_template
variables:
ARCH: ""
before_script:
- sudo apk --no-cache --virtual add unzip wget eudev-dev autoconf automake libtool linux-headers binutils zlib-static
# dune build @install make ocamlopt stack overflow when compiling
Expand All @@ -83,12 +76,12 @@ build_x86_64:
@src/lib_protocol_compiler/install
$(for i in src/{,proto_*/}bin_* ; do echo @$i/install ; done)
--profile static
- mkdir tezos-binaries && install -t tezos-binaries _build/install/default/bin/*
- mkdir -p "tezos-binaries/$ARCH" && install -t "tezos-binaries/$ARCH" _build/install/default/bin/*
# Strip debug symbols in binaries
- find tezos-binaries -maxdepth 1 -type f ! -name "*.*" -exec strip --strip-debug {} \;
- find "tezos-binaries/$ARCH" -maxdepth 1 -type f ! -name "*.*" -exec strip --strip-debug {} \;
artifacts:
paths:
- tezos-binaries/*
- "tezos-binaries/$ARCH/*"

# Static binaries for x86_64 are necessary for development branches, as we want to make
# sure the build does not break. We also need it for release tags, to as its artifacts
Expand All @@ -100,14 +93,18 @@ build:static-x86_64-linux-binaries:
script:
- sudo apk --no-cache --virtual add upx
# Compress resulting binaries
- find tezos-binaries -maxdepth 1 -type f ! -name "*.*" -exec upx {} \;
- find tezos-binaries/x86_64 -maxdepth 1 -type f ! -name "*.*" -exec upx {} \;
variables:
ARCH: "x86_64"
stage: build

build:static-arm64-linux-binaries:
extends:
- .build_static_binaries_template
- .rules_template__master_and_releases
stage: build_release
variables:
ARCH: "arm64"
stage: build
script:
- echo "No compression for now"
tags:
Expand Down
84 changes: 84 additions & 0 deletions .gitlab/ci/build_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
.build_docker_release_template:
extends:
- .default_settings_template
- .image_template__latest # Docker-in-Docker (dind)
- .docker_registry_auth # Sets up a before_script
variables:
IMAGE_ARCH_PREFIX: ""
script:
- apk --no-cache --virtual add git
# Environment variables from before_script
- . ./scripts/ci/docker.env
# Build minimal, bare and debug images
- ./scripts/create_docker_image.sh
"${DOCKER_IMAGE_NAME}"
"${DOCKER_IMAGE_TAG}"
"${build_deps_image_name}"
"${build_deps_image_version}"
"${CI_COMMIT_SHORT_SHA}"
# auth gitlab or dockerhub registry
# notice the different namespace for gitlab and that we remove the `-`
# Test bare image
- ./scripts/ci/docker_smoke_test.sh "${DOCKER_IMAGE_NAME}bare:${DOCKER_IMAGE_TAG}" "${CI_COMMIT_SHORT_SHA}" version
# Push minimal, bare and debug images
- ./scripts/ci/docker_push_all.sh

docker:manual_build_amd64:
extends:
- .build_docker_release_template
- .rules_template__development_docker
variables:
IMAGE_ARCH_PREFIX: "amd64_"
stage: manual
interruptible: false
needs: []

docker:manual_build_arm64:
extends:
- .build_docker_release_template
- .rules_template__development_docker
variables:
IMAGE_ARCH_PREFIX: "arm64_"
stage: manual
interruptible: false
needs: []
tags:
- arm64

docker:build_amd64:
extends:
- .build_docker_release_template
- .rules_template__master_and_releases
variables:
IMAGE_ARCH_PREFIX: "amd64_"
stage: build

docker:build_arm64:
extends:
- .build_docker_release_template
- .rules_template__master_and_releases
variables:
IMAGE_ARCH_PREFIX: "arm64_"
stage: build
tags:
- arm64

upload-gitlab-packages:
extends:
- .rules_template__master_and_releases
image: registry.gitlab.com/gitlab-org/release-cli
variables:
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/tezos/${CI_COMMIT_TAG}"
stage: build_release
needs:
- build:static-arm64-linux-binaries
- build:static-x86_64-linux-binaries
script:
- apk --no-cache --virtual add jq curl git
# we run the smoketest only for x86_64 since this job is executed
# on x86_64
- scripts/ci/static_smoke_test.sh x86_64 version
- scripts/release/upload-static-binaries-to-package-registry.sh x86_64
- scripts/release/upload-static-binaries-to-package-registry.sh arm64
- scripts/release/upload-tarball-to-package-registry.sh
48 changes: 0 additions & 48 deletions .gitlab/ci/coverage.yml

This file was deleted.

Loading