diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index 6b19c436eeea6e726e5f65c61a1285825c716b4c..ae40c20df5f9eef7dbb59934f2c93ee17af19657 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -17,12 +17,11 @@ fi - diff poetry.lock /home/tezos/poetry.lock - diff pyproject.toml /home/tezos/pyproject.toml - # 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-sandbox build-unreleased # 3. Also build the tps evaluation tool which is not part of the default build. + # NOTE: We add $COVERAGE_OPTIONS to all dune build commands to enable reuse of + # build artifacts. - dune build $COVERAGE_OPTIONS src/bin_tps_evaluation # 4. clean-up caches before uploading the cache - opam clean diff --git a/.gitlab/ci/templates.yml b/.gitlab/ci/templates.yml index 872a552c0381292681f45b9afd7e8f3f77dc7bc1..06c28b4087ae47ed98e3e1d437927deb16bba120 100644 --- a/.gitlab/ci/templates.yml +++ b/.gitlab/ci/templates.yml @@ -289,7 +289,6 @@ variables: - "**/dune.inc" - "**/*.dune.inc" - "**/dune-project" - - "**/dune_protocol.*" - "**/*.opam" - scripts/version.sh - .gitlab-ci.yml diff --git a/Makefile b/Makefile index b518c22e4443264f1378fbed37b28e88a40091a6..828df3ac7552e97518feac0a419580fbcc5f6f04 100644 --- a/Makefile +++ b/Makefile @@ -77,16 +77,17 @@ build-parameters: @dune build --profile=$(PROFILE) $(COVERAGE_OPTIONS) @copy-parameters .PHONY: $(TEZOS_BIN) -$(TEZOS_BIN): generate_dune +$(TEZOS_BIN): dune build $(COVERAGE_OPTIONS) --profile=$(PROFILE) _build/install/default/bin/$@ cp -f _build/install/default/bin/$@ ./ .PHONY: $(UNRELEASED_TEZOS_BIN) -$(UNRELEASED_TEZOS_BIN): generate_dune +$(UNRELEASED_TEZOS_BIN): @dune build $(COVERAGE_OPTIONS) --profile=$(PROFILE) _build/install/default/bin/$@ @cp -f _build/install/default/bin/$@ ./ -build: generate_dune +.PHONY: build +build: ifneq (${current_ocaml_version},${ocaml_version}) $(error Unexpected ocaml version (found: ${current_ocaml_version}, expected: ${ocaml_version})) endif @@ -99,18 +100,8 @@ endif TEZOS_PROTOCOL_FILES=$(wildcard src/proto_*/lib_protocol/TEZOS_PROTOCOL) PROTOCOLS=$(patsubst %/lib_protocol/TEZOS_PROTOCOL,%,${TEZOS_PROTOCOL_FILES}) -DUNE_INCS=$(patsubst %,%/lib_protocol/dune.inc, ${PROTOCOLS}) - -.PHONY: generate_dune -generate_dune: ${DUNE_INCS} - -${DUNE_INCS}:: src/proto_%/lib_protocol/dune.inc: \ - src/proto_%/lib_protocol/TEZOS_PROTOCOL - dune build --profile=$(PROFILE) @$(dir $@)/runtest_dune_template --auto-promote - touch $@ - .PHONY: all.pkg -all.pkg: generate_dune +all.pkg: @dune build --profile=$(PROFILE) \ $(patsubst %.opam,%.install, $(shell find src vendors -name \*.opam -print)) @@ -242,11 +233,6 @@ test-coverage-tenderbake: -@$(MAKE) test-unit-alpha -@$(MAKE) test-python-tenderbake -.PHONY: lint-opam-dune -lint-opam-dune: - @dune build --profile=$(PROFILE) @runtest_dune_template - - # Ensure that all unit tests are restricted to their opam package # (change 'tezos-test-helpers' to one the most elementary packages of # the repo if you add "internal" dependencies to tezos-test-helpers) @@ -273,7 +259,7 @@ lint-ometrics: --exclude-entry-re "encoding\|encoding_.+\|.+_encoding" \ --exclude-entry-re "compare\|compare_.+\|.+_compare" -.PHONY: lint-ometric-gitlab +.PHONY: lint-ometrics-gitlab lint-ometrics-gitlab: @echo "Running ometrics analysis in your changes." @mkdir -p _reports @@ -289,7 +275,7 @@ lint-ometrics-gitlab: @echo "Report should be available in file://$(shell pwd)/${CODE_QUALITY_REPORT}" .PHONY: test -test: lint-opam-dune test-code +test: test-code .PHONY: check-linting check-python-linting diff --git a/dune-project b/dune-project index 00dee6e36f8d5403c54f6f3b5f1ac16d301102d1..fc0eb05b6cd8aaced62192b943f9c0d4940ae74d 100644 --- a/dune-project +++ b/dune-project @@ -2,9 +2,12 @@ (formatting (enabled_for ocaml)) (cram enable) (package (name internal-devtools)) +(package (name tezos-012-Psithaca-test-helpers)) +(package (name tezos-013-PtJakart-test-helpers)) (package (name tezos-accuser-012-Psithaca)) (package (name tezos-accuser-013-PtJakart)) (package (name tezos-accuser-alpha)) +(package (name tezos-alpha-test-helpers)) (package (name tezos-baker-012-Psithaca)) (package (name tezos-baker-013-PtJakart)) (package (name tezos-baker-alpha)) @@ -82,6 +85,26 @@ (package (name tezos-codec)) (package (name tezos-context)) (package (name tezos-crypto)) +(package (name tezos-embedded-protocol-000-Ps9mPmXa)) +(package (name tezos-embedded-protocol-001-PtCJ7pwo)) +(package (name tezos-embedded-protocol-002-PsYLVpVv)) +(package (name tezos-embedded-protocol-003-PsddFKi3)) +(package (name tezos-embedded-protocol-004-Pt24m4xi)) +(package (name tezos-embedded-protocol-005-PsBABY5H)) +(package (name tezos-embedded-protocol-005-PsBabyM1)) +(package (name tezos-embedded-protocol-006-PsCARTHA)) +(package (name tezos-embedded-protocol-007-PsDELPH1)) +(package (name tezos-embedded-protocol-008-PtEdo2Zk)) +(package (name tezos-embedded-protocol-008-PtEdoTez)) +(package (name tezos-embedded-protocol-009-PsFLoren)) +(package (name tezos-embedded-protocol-010-PtGRANAD)) +(package (name tezos-embedded-protocol-011-PtHangz2)) +(package (name tezos-embedded-protocol-012-Psithaca)) +(package (name tezos-embedded-protocol-013-PtJakart)) +(package (name tezos-embedded-protocol-alpha)) +(package (name tezos-embedded-protocol-demo-counter)) +(package (name tezos-embedded-protocol-demo-noops)) +(package (name tezos-embedded-protocol-genesis)) (package (name tezos-error-monad)) (package (name tezos-event-logging)) (package (name tezos-event-logging-test-helpers)) @@ -99,15 +122,58 @@ (package (name tezos-openapi)) (package (name tezos-p2p)) (package (name tezos-p2p-services)) +(package (name tezos-protocol-000-Ps9mPmXa)) +(package (name tezos-protocol-001-PtCJ7pwo)) +(package (name tezos-protocol-002-PsYLVpVv)) +(package (name tezos-protocol-003-PsddFKi3)) +(package (name tezos-protocol-004-Pt24m4xi)) +(package (name tezos-protocol-005-PsBABY5H)) +(package (name tezos-protocol-005-PsBabyM1)) +(package (name tezos-protocol-006-PsCARTHA)) +(package (name tezos-protocol-007-PsDELPH1)) +(package (name tezos-protocol-008-PtEdo2Zk)) (package (name tezos-protocol-008-PtEdo2Zk-parameters)) +(package (name tezos-protocol-008-PtEdoTez)) +(package (name tezos-protocol-009-PsFLoren)) (package (name tezos-protocol-009-PsFLoren-parameters)) +(package (name tezos-protocol-010-PtGRANAD)) (package (name tezos-protocol-010-PtGRANAD-parameters)) +(package (name tezos-protocol-011-PtHangz2)) (package (name tezos-protocol-011-PtHangz2-parameters)) +(package (name tezos-protocol-012-Psithaca)) (package (name tezos-protocol-012-Psithaca-parameters)) +(package (name tezos-protocol-012-Psithaca-tests)) +(package (name tezos-protocol-013-PtJakart)) (package (name tezos-protocol-013-PtJakart-parameters)) +(package (name tezos-protocol-013-PtJakart-tests)) +(package (name tezos-protocol-alpha)) (package (name tezos-protocol-alpha-parameters)) +(package (name tezos-protocol-alpha-tests)) (package (name tezos-protocol-compiler)) +(package (name tezos-protocol-demo-counter)) +(package (name tezos-protocol-demo-noops)) (package (name tezos-protocol-environment)) +(package (name tezos-protocol-functor-000-Ps9mPmXa)) +(package (name tezos-protocol-functor-001-PtCJ7pwo)) +(package (name tezos-protocol-functor-002-PsYLVpVv)) +(package (name tezos-protocol-functor-003-PsddFKi3)) +(package (name tezos-protocol-functor-004-Pt24m4xi)) +(package (name tezos-protocol-functor-005-PsBABY5H)) +(package (name tezos-protocol-functor-005-PsBabyM1)) +(package (name tezos-protocol-functor-006-PsCARTHA)) +(package (name tezos-protocol-functor-007-PsDELPH1)) +(package (name tezos-protocol-functor-008-PtEdo2Zk)) +(package (name tezos-protocol-functor-008-PtEdoTez)) +(package (name tezos-protocol-functor-009-PsFLoren)) +(package (name tezos-protocol-functor-010-PtGRANAD)) +(package (name tezos-protocol-functor-011-PtHangz2)) +(package (name tezos-protocol-functor-012-Psithaca)) +(package (name tezos-protocol-functor-013-PtJakart)) +(package (name tezos-protocol-functor-alpha)) +(package (name tezos-protocol-functor-demo-counter)) +(package (name tezos-protocol-functor-demo-noops)) +(package (name tezos-protocol-functor-genesis)) +(package (name tezos-protocol-genesis)) (package (name tezos-protocol-plugin-007-PsDELPH1)) (package (name tezos-protocol-plugin-007-PsDELPH1-registerer)) (package (name tezos-protocol-plugin-008-PtEdo2Zk)) diff --git a/manifest/main.ml b/manifest/main.ml index 33783de97e1be4a9354c0a33f4e49d04aaa4c73d..1e9f9c62ce85555343289bd1bbf5aff3b9d75714 100644 --- a/manifest/main.ml +++ b/manifest/main.ml @@ -28,6 +28,22 @@ module V = Version let sf = Printf.sprintf +module String_set = Set.Make (String) + +let final_protocol_versions = + let path = "../src/lib_protocol_compiler/final_protocol_versions" in + let ic = open_in path in + let rec loop acc = + try + let s = input_line ic in + let acc' = if String.equal s "" then acc else String_set.add s acc in + loop acc' + with End_of_file -> + close_in ic ; + acc + in + loop String_set.empty + (* EXTERNAL LIBS *) let alcotest = external_lib ~js_compatible:true "alcotest" V.(at_least "1.5.0") @@ -234,8 +250,6 @@ let qcheck_core = external_lib "qcheck-core" V.True let re = external_lib ~js_compatible:true "re" V.(at_least "1.7.2") -let re_str = external_sublib ~js_compatible:true re "re.str" - let resto_version = V.(at_least "0.6" && less_than "0.7") let resto = external_lib ~js_compatible:true "resto" resto_version @@ -1777,16 +1791,7 @@ let tezos_protocol_compiler_native = Dune. [ install - [ - V - [ - S "dune_protocol.v0"; - S "dune_protocol.v1"; - S "dune_protocol.template.v0"; - S "dune_protocol.template.v1"; - S "final_protocol_versions"; - ]; - ] + [V [S "final_protocol_versions"]] ~package:"tezos-protocol-compiler" ~section:"libexec"; ] @@ -2566,7 +2571,7 @@ let _tezos_protocol_compiler_bin = ~linkall:true ~modules:["Main_native"] -let _tezos_protocol_compiler_tezos_protocol_packer = +let tezos_protocol_compiler_tezos_protocol_packer = public_exe "tezos-protocol-compiler.tezos-protocol-packer" ~path:"src/lib_protocol_compiler/bin" @@ -2765,12 +2770,6 @@ end = struct let baking_exn p = mandatory "baking" p p.baking - (* For now we declare some packages as external packages just so - that we can depend on them, but their dune and .opam files are - not yet generated. *) - let todo ?opam ?main_module x = - Printf.ksprintf (fun name -> external_lib ?opam ?main_module name V.True) x - (* N as in "protocol number in the Alpha family". *) module N = struct (* This function is asymmetrical on purpose: we don't want to compare @@ -2800,14 +2799,509 @@ end = struct let ( == ) a b = compare_asymmetric a b == 0 end + module Lib_protocol = struct + type t = { + main : target; + embedded : target; + environment : target; + raw_protocol : target; + } + + (** AV0 is the Architecture Version corresponding to the first protocols. + After protocol 010, some changes were made in the architecture + of [lib_protocol], resulting in Architecture Version 1 (AV1). This + new version has been in effect since protocol 011. *) + type lib_protocol_architecture_version = AV0 | AV1 + + let make_tests ?test_helpers ?parameters ?plugin ?client ?benchmark + ?benchmark_type_inference ~main ~environment ~name_underscore ~name_dash + ~number () = + let some_if condition make = if condition then Some make else None in + let _integration_consensus = + test + "main" + ~path: + (sf + "src/proto_%s/lib_protocol/test/integration/consensus" + name_underscore) + ~opam:(sf "tezos-protocol-%s-tests" name_dash) + ~deps: + [ + alcotest_lwt; + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + main |> open_; + test_helpers |> if_some |> open_; + tezos_base_test_helpers |> open_; + parameters |> if_some |> open_; + plugin |> if_some |> open_; + ] + in + let _integration_gas = + test + "main" + ~path: + (sf + "src/proto_%s/lib_protocol/test/integration/gas" + name_underscore) + ~opam:(sf "tezos-protocol-%s-tests" name_dash) + ~deps: + [ + alcotest_lwt; + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + main |> open_; + test_helpers |> if_some |> open_; + tezos_base_test_helpers |> open_; + ] + in + let _integration_michelson = + test + "main" + ~path: + (sf + "src/proto_%s/lib_protocol/test/integration/michelson" + name_underscore) + ~opam:(sf "tezos-protocol-%s-tests" name_dash) + ~dep_globs: + (List.filter_map + Fun.id + [ + Some "contracts/*"; + "patched_contracts/*" |> some_if N.(number >= 013); + ]) + ~deps: + [ + alcotest_lwt; + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + main |> open_; + test_helpers |> if_some |> open_; + tezos_base_test_helpers |> open_; + tezos_client_base |> if_ N.(number <= 012); + client |> if_some |> open_; + tezos_benchmark; + tezos_micheline |> open_; + benchmark |> if_some |> open_; + benchmark_type_inference |> if_some |> open_; + parameters |> if_some |> if_ N.(number >= 013); + ] + in + let _integration_operations = + test + "main" + ~path: + (sf + "src/proto_%s/lib_protocol/test/integration/operations" + name_underscore) + ~opam:(sf "tezos-protocol-%s-tests" name_dash) + ?dep_globs:(["contracts/*"] |> some_if N.(number >= 013)) + ~deps: + [ + alcotest_lwt; + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + main |> open_; + client |> if_some |> if_ N.(number >= 012) |> open_; + test_helpers |> if_some |> open_; + tezos_base_test_helpers |> open_; + ] + in + let _integration = + test + "main" + ~path: + (sf "src/proto_%s/lib_protocol/test/integration" name_underscore) + ~opam:(sf "tezos-protocol-%s-tests" name_dash) + ~deps: + [ + alcotest_lwt; + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + client |> if_some |> open_; + tezos_client_base |> if_ N.(number <= 012); + main |> open_; + parameters |> if_some |> open_; + test_helpers |> if_some |> open_; + tezos_base_test_helpers |> open_; + ] + in + let _pbt = + tests + (List.filter_map + Fun.id + [ + Some "liquidity_baking_pbt"; + Some "saturation_fuzzing"; + "test_merkle_list" |> some_if N.(number >= 013); + Some "test_gas_properties"; + "test_sampler" |> some_if N.(number >= 012); + Some "test_script_comparison"; + Some "test_tez_repr"; + "test_tx_rollup_l2_encoding" |> some_if N.(number >= 013); + "test_tx_rollup_l2_withdraw_storage" |> some_if N.(number <= 010); + "test_bitset" |> some_if N.(number >= 013); + "test_sc_rollup_tick_repr" |> some_if N.(number >= 013); + "refutation_game_pbt" |> some_if N.(number == 013); + "test_carbonated_map" |> some_if N.(number >= 013); + ]) + ~synopsis:"Tezos/Protocol: tests for economic-protocol definition" + ~path:(sf "src/proto_%s/lib_protocol/test/pbt" name_underscore) + ~opam:(sf "tezos-protocol-%s-tests" name_dash) + ~deps: + [ + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + tezos_micheline |> open_; + client |> if_some |> open_; + main |> open_; + tezos_test_helpers; + test_helpers |> if_some |> open_; + alcotest; + qcheck_alcotest; + tezos_client_base |> if_ N.(number <= 012); + tezos_benchmark; + benchmark |> if_some |> open_; + benchmark_type_inference |> if_some |> open_; + ] + in + let _unit = + test + "main" + ~path:(sf "src/proto_%s/lib_protocol/test/unit" name_underscore) + ~opam:(sf "tezos-protocol-%s-tests" name_dash) + ~runtest:false + ~deps: + [ + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + tezos_base_test_helpers |> open_; + tezos_micheline |> open_; + client |> if_some |> open_; + tezos_client_base; + parameters |> if_some; + tezos_protocol_environment; + tezos_stdlib_unix; + main |> open_; + environment |> open_; + test_helpers |> if_some |> open_; + alcotest_lwt; + tezos_stdlib |> if_ N.(number >= 013) |> open_; + ] + ~dune: + Dune. + [ + alias_rule + "runtest" + ~package:(sf "tezos-protocol-%s-tests" name_dash) + ~action:(run_exe "main" ["test"; "Unit"]); + ] + in + () + + let make ~template_version ~name_dash ~name_underscore ~number () = + let dirname = sf "../src/proto_%s/lib_protocol" name_underscore in + let ( // ) = Filename.concat in + let tezos_protocol_filename = dirname // "TEZOS_PROTOCOL" in + let tezos_protocol = Tezos_protocol.of_file_exn tezos_protocol_filename in + let modules_as_deps = + let basenames_of_module module_ = + [".ml"; ".mli"] + |> List.filter_map (fun ext -> + let basename = String.uncapitalize_ascii module_ ^ ext in + if Sys.file_exists (dirname // basename) then Some basename + else None) + in + let s_expr = + tezos_protocol.Tezos_protocol.modules + |> List.map (fun module_ -> + match basenames_of_module module_ with + | _ :: _ as basenames -> Dune.(G (of_atom_list basenames)) + | [] -> + failwith + (sf + "In %s a module %s was declared, but no \ + corresponding .ml or .mli files were found in \ + directory %s" + tezos_protocol_filename + module_ + dirname)) + |> Dune.of_list + in + Dune.V s_expr + in + let warnings = + match template_version with + | AV0 -> "+a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68" + | AV1 -> "+a-4-40..42-44-45-48" + in + let warn_error = + match template_version with AV0 -> "-A" | AV1 -> "+a" + in + let environment = + public_lib + (sf "tezos-protocol-%s.environment" name_dash) + ~internal_name:(sf "tezos_protocol_environment_%s" name_underscore) + ~path:(sf "src/proto_%s/lib_protocol" name_underscore) + ~opam:(sf "tezos-protocol-%s" name_dash) + ~modules:["Environment"] + ~linkall:true + ~deps:[tezos_protocol_environment] + ~dune: + Dune. + [ + targets_rule + ["environment.ml"] + ~action: + [ + S "write-file"; + S "%{targets}"; + S + (sf + {|module Name = struct let name = "%s" end +include Tezos_protocol_environment.MakeV%d(Name)() +module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end +|} + name_dash + tezos_protocol.expected_env_version); + ]; + ] + in + let raw_protocol = + public_lib + (sf "tezos-protocol-%s.raw" name_dash) + ~internal_name:(sf "tezos_raw_protocol_%s" name_underscore) + ~path:(sf "src/proto_%s/lib_protocol" name_underscore) + ~opam:(sf "tezos-protocol-%s" name_dash) + ~linkall:true + ~modules:tezos_protocol.modules + ~warnings + ~warn_error:"+a" + ~nopervasives:true + ~nostdlib:true + ~deps:[environment |> open_ ~m:"Environment"] + ~opens:["Pervasives"; "Error_monad"] + in + let main = + public_lib + (sf "tezos-protocol-%s" name_dash) + ~path:(sf "src/proto_%s/lib_protocol" name_underscore) + ~synopsis: + (match number with + | (Alpha | V _) as number when N.(number <= 003) -> + sf + "Tezos/Protocol: %s (economic-protocol definition, functor \ + version)" + name_underscore + | Alpha | V _ | Other -> ( + match name_dash with + | "genesis" | "demo-noops" | "demo-counter" -> + sf + "Tezos/Protocol: %s economic-protocol definition" + name_underscore + | _ -> "Tezos/Protocol: economic-protocol definition")) + ~modules:["Protocol"] + ~warnings: + (match template_version with + | AV0 -> "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" + | AV1 -> "+a-4-40..42-44-45-48") + ~warn_error + ~nopervasives:true + ~flags_nostandard:true + ~deps: + [ + tezos_protocol_environment; + tezos_protocol_environment_sigs; + raw_protocol; + ] + ~dune: + Dune. + [ + install + [as_ "TEZOS_PROTOCOL" "raw/TEZOS_PROTOCOL"] + ~package:(sf "tezos-protocol-%s" name_dash) + ~section:"lib"; + targets_rule + ["protocol.ml"] + ~deps:[modules_as_deps] + ~action: + [ + S "write-file"; + S "%{targets}"; + S + (sf + {|module Environment = Tezos_protocol_environment_%s.Environment +let hash = Tezos_crypto.Protocol_hash.of_b58check_exn "%s" +let name = Environment.Name.name +include Tezos_raw_protocol_%s +include Tezos_raw_protocol_%s.Main +|} + name_underscore + tezos_protocol.hash + name_underscore + name_underscore); + ]; + alias_rule + "runtest_compile_protocol" + ~deps_dune: + [modules_as_deps; [S ":src_dir"; S "TEZOS_PROTOCOL"]] + ~action: + [ + S "run"; + S "%{bin:tezos-protocol-compiler}"; + (if + String_set.mem + tezos_protocol.Tezos_protocol.hash + final_protocol_versions + then E + else S "-no-hash-check"); + S "."; + ]; + alias_rule + "runtest_sandbox" + ~deps: + [ + sf + ".tezos_protocol_%s.objs/native/tezos_protocol_%s.cmx" + name_underscore + name_underscore; + ] + ~action:[S "progn"]; + alias_rule + "runtest" + ~package:(sf "tezos-protocol-%s" name_dash) + ~alias_deps:["runtest_sandbox"]; + ] + in + let _functor = + public_lib + (sf "tezos-protocol-functor-%s" name_dash) + ~internal_name:(sf "tezos_protocol_%s_functor" name_underscore) + ~path:(sf "src/proto_%s/lib_protocol" name_underscore) + ~synopsis: + (match number with + | V _ as number when N.(number <= 003) -> + sf + "Tezos/Protocol: %s (economic-protocol definition \ + parameterized by its environment implementation)" + (if N.(number == 000) then name_dash else name_underscore) + | Alpha | V _ | Other -> ( + match name_dash with + | "genesis" | "demo-noops" | "demo-counter" -> + sf + "Tezos/Protocol: %s (economic-protocol definition \ + parameterized by its environment implementation)" + name_underscore + | _ -> + "Tezos/Protocol: economic-protocol definition \ + parameterized by its environment implementation")) + ~modules:["Functor"] + (* The instrumentation is removed as it can lead to a stack overflow *) + (* https://gitlab.com/tezos/tezos/-/issues/1927 *) + ~bisect_ppx:false + ~warnings: + (match template_version with + | AV0 -> "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" + | AV1 -> "+a-4-40..42-44-45-48") + ~warn_error + ~nopervasives:true + ~flags_nostandard:true + ~opam_only_deps:[tezos_protocol_compiler_tezos_protocol_packer] + ~deps: + [ + tezos_protocol_environment; + tezos_protocol_environment_sigs; + raw_protocol; + ] + ~dune: + Dune. + [ + targets_rule + ["functor.ml"] + ~deps:[modules_as_deps; [S ":src_dir"; S "TEZOS_PROTOCOL"]] + ~action: + [ + S "with-stdout-to"; + S "%{targets}"; + [ + S "chdir"; + S "%{workspace_root}"; + [ + S "run"; + S + "%{bin:tezos-protocol-compiler.tezos-protocol-packer}"; + S "%{src_dir}"; + ]; + ]; + ]; + ] + in + let embedded = + public_lib + (sf "tezos-embedded-protocol-%s" name_dash) + ~internal_name:(sf "tezos_embedded_protocol_%s" name_underscore) + ~path:(sf "src/proto_%s/lib_protocol" name_underscore) + ~synopsis: + (match number with + | (Alpha | V _) as number when N.(number <= 003) -> + sf + "Tezos/Protocol: %s (economic-protocol definition, embedded \ + in `tezos-node`)" + (if N.(number == 000) then name_dash else name_underscore) + | Alpha | V _ | Other -> ( + match name_dash with + | "genesis" | "demo-noops" | "demo-counter" -> + sf + "Tezos/Protocol: %s (economic-protocol definition, \ + embedded in `tezos-node`)" + name_underscore + | _ -> + "Tezos/Protocol: economic-protocol definition, embedded in \ + `tezos-node`")) + ~modules:["Registerer"] + ~linkall:true + ~warnings: + (match template_version with + | AV0 -> "+a-4-6-7-9-16-29-32-40..42-44-45-48-60-67" + | AV1 -> "+a-4-40..42-44-45-48") + ~warn_error:"+a" + ~deps:[main; tezos_protocol_updater; tezos_protocol_environment] + ~dune: + Dune. + [ + targets_rule + ["registerer.ml"] + ~deps:[modules_as_deps; [S ":src_dir"; S "TEZOS_PROTOCOL"]] + ~action: + [ + S "with-stdout-to"; + S "%{targets}"; + [ + S "chdir"; + S "%{workspace_root}"; + [ + S "run"; + S "%{bin:tezos-embedded-protocol-packer}"; + S "%{src_dir}"; + S name_underscore; + ]; + ]; + ]; + ] + in + {main; embedded; environment; raw_protocol} + end + let genesis = let name_dash = "genesis" in let name_underscore = "genesis" in - let main = - todo - ~main_module:(sf "Tezos_protocol_%s" name_underscore) - "tezos-protocol-%s" - name_dash + let {Lib_protocol.main; embedded; environment = _; raw_protocol = _} = + Lib_protocol.make + ~template_version:AV0 + ~name_dash + ~name_underscore + ~number:Other + () in let client = public_lib @@ -2829,31 +3323,31 @@ end = struct ~linkall:true in register - @@ make - ~name:"genesis" - ~status:Not_mainnet - ~main:(todo "tezos-protocol-genesis") - ~embedded:(todo "tezos-embedded-protocol-genesis") - ~client - () + @@ make ~name:"genesis" ~status:Not_mainnet ~main ~embedded ~client () let demo_noops = - register - @@ make - ~name:"demo-noops" - ~status:Not_mainnet - ~main:(todo "tezos-protocol-demo-noops") - ~embedded:(todo "tezos-embedded-protocol-demo-noops") - () + let name_dash = "demo-noops" in + let name_underscore = "demo_noops" in + let {Lib_protocol.main; embedded; environment = _; raw_protocol = _} = + Lib_protocol.make + ~template_version:AV1 + ~name_dash + ~name_underscore + ~number:Other + () + in + register @@ make ~name:"demo-noops" ~status:Not_mainnet ~main ~embedded () let _demo_counter = let name_dash = "demo-counter" in let name_underscore = "demo_counter" in - let main = - todo - ~main_module:(sf "Tezos_protocol_%s" name_underscore) - "tezos-protocol-%s" - name_dash + let {Lib_protocol.main; embedded; environment = _; raw_protocol = _} = + Lib_protocol.make + ~template_version:AV1 + ~name_dash + ~name_underscore + ~number:Other + () in let client = public_lib @@ -2873,13 +3367,7 @@ end = struct ~warnings:"-9+27-30-32-40@8" in register - @@ make - ~name:"demo-counter" - ~status:Not_mainnet - ~main:(todo "tezos-protocol-demo-counter") - ~embedded:(todo "tezos-embedded-protocol-demo-counter") - ~client - () + @@ make ~name:"demo-counter" ~status:Not_mainnet ~main ~embedded ~client () let register_alpha_family status number name = let make_full_name sep = @@ -2904,35 +3392,18 @@ end = struct | Overridden -> false in let opt_map l f = Option.map f l in + let both o1 o2 = + match (o1, o2) with Some x, Some y -> Some (x, y) | _, _ -> None + in let warnings = if N.(number == 002 || number == 001) then Some "-9+27-30-32-40@8" else None in - let main = - todo - ~main_module:(sf "Tezos_protocol_%s" name_underscore) - "tezos-protocol-%s" - name_dash - in - let embedded = - todo - ~main_module:(sf "Tezos_embedded_protocol_%s" name_underscore) - "tezos-embedded-protocol-%s" - name_dash - in - let environment = - todo - ~opam:(sf "tezos-protocol-%s" name_dash) - ~main_module:(sf "Tezos_protocol_environment_%s" name_underscore) - "tezos-protocol-%s.environment" - name_dash - in - let raw_protocol = - todo - ~opam:(sf "tezos-protocol-%s" name_dash) - ~main_module:(sf "Tezos_raw_protocol_%s" name_underscore) - "tezos-protocol-%s.raw" - name_dash + let {Lib_protocol.main; embedded; environment; raw_protocol} = + let template_version = + if N.(number >= 011) then Lib_protocol.AV1 else AV0 + in + Lib_protocol.make ~template_version ~name_dash ~name_underscore ~number () in let parameters = some_if (N.(number >= 008) && not_overridden) @@ fun () -> @@ -2987,12 +3458,6 @@ end = struct ]) ~bisect_ppx:false in - let test_helpers = - todo - "tezos-%s-test-helpers" - name_dash - ~main_module:(sf "Tezos_%s_test_helpers" name_underscore) - in let plugin = some_if (N.(number >= 007) && not_overridden) @@ fun () -> public_lib @@ -3025,32 +3490,6 @@ end = struct ~modules:["Plugin_registerer"] ~bisect_ppx:N.(number >= 008) in - let _plugin_tests = - opt_map plugin @@ fun plugin -> - some_if (active && N.(number <> 011)) @@ fun () -> - tests - ["test_consensus_filter"; "test_filter_state"; "test_plugin"] - ~path:(sf "src/proto_%s/lib_plugin/test" name_underscore) - ~synopsis:"Tezos/Protocol: protocol plugin tests" - ~opam:(sf "tezos-protocol-plugin-%s-tests" name_dash) - ~deps: - [ - tezos_base |> open_ ~m:"TzPervasives" - |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; - tezos_base_test_helpers |> open_; - tezos_base_unix |> if_ N.(number >= 013); - alcotest_lwt; - tezos_test_helpers; - qcheck_alcotest; - tezos_stdlib_unix; - tezos_micheline |> open_; - plugin |> open_; - environment |> open_; - main |> open_ |> open_ ~m:"Protocol"; - parameters |> if_some |> open_; - test_helpers |> open_; - ] - in let client = some_if not_overridden @@ fun () -> public_lib @@ -3078,6 +3517,64 @@ end = struct ~linkall:true ?warnings in + let test_helpers = + some_if active @@ fun () -> + public_lib + (sf "tezos-%s-test-helpers" name_dash) + ~path: + (if active then + sf "src/proto_%s/lib_protocol/test/helpers" name_underscore + else sf "src/proto_%s/lib_protocol" name_underscore) + ~opam: + (if active then sf "tezos-%s-test-helpers" name_dash + else sf "tezos-%s-test-helpers" name_dash) + ~internal_name:(sf "tezos_%s_test_helpers" name_underscore) + ~synopsis:"Tezos/Protocol: protocol testing framework" + ~opam_only_deps:[tezos_protocol_environment; parameters |> if_some] + ~deps: + [ + alcotest_lwt; + qcheck_alcotest; + tezos_test_helpers; + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + tezos_micheline |> open_; + tezos_stdlib_unix |> open_; + main |> open_; + client |> if_some |> open_; + parameters |> if_some; + tezos_protocol_environment; + plugin |> if_some |> open_; + environment |> open_; + tezos_shell_services |> open_; + ] + in + let _plugin_tests = + opt_map (both plugin test_helpers) @@ fun (plugin, test_helpers) -> + some_if (active && N.(number <> 011)) @@ fun () -> + tests + ["test_consensus_filter"; "test_filter_state"; "test_plugin"] + ~path:(sf "src/proto_%s/lib_plugin/test" name_underscore) + ~synopsis:"Tezos/Protocol: protocol plugin tests" + ~opam:(sf "tezos-protocol-plugin-%s-tests" name_dash) + ~deps: + [ + tezos_base |> open_ ~m:"TzPervasives" + |> open_ ~m:"TzPervasives.Error_monad.Legacy_monad_globals"; + tezos_base_test_helpers |> open_; + tezos_base_unix |> if_ N.(number >= 013); + alcotest_lwt; + tezos_test_helpers; + qcheck_alcotest; + tezos_stdlib_unix; + tezos_micheline |> open_; + plugin |> open_; + environment |> open_; + main |> open_ |> open_ ~m:"Protocol"; + parameters |> if_some |> open_; + test_helpers |> open_; + ] + in let _client_tests = some_if N.(number >= 011) @@ fun () -> tests @@ -3268,7 +3765,7 @@ end = struct ~linkall:true in let _baking_tests = - opt_map baking @@ fun baking -> + opt_map (both baking test_helpers) @@ fun (baking, test_helpers) -> some_if N.(number >= 011) @@ fun () -> let mockup_simulator = some_if N.(number >= 012) @@ fun () -> @@ -3609,6 +4106,7 @@ end = struct ] in let benchmark = + opt_map test_helpers @@ fun test_helpers -> some_if active @@ fun () -> public_lib (sf "tezos-benchmark-%s" name_dash) @@ -3638,6 +4136,7 @@ end = struct ~bisect_ppx:N.(number <= 012) in let _benchmark_tests = + opt_map (both benchmark test_helpers) @@ fun (benchmark, test_helpers) -> some_if active @@ fun () -> (* Note: to enable gprof profiling, manually add the following stanza to lib_benchmark/test/dune: @@ -3686,7 +4185,9 @@ end = struct ]; ] in - let benchmarks_proto = + let benchmarks_proto : Manifest.target option = + Option.bind (both benchmark test_helpers) + @@ fun (benchmark, test_helpers) -> some_if active @@ fun () -> public_lib (sf "tezos-benchmarks-proto-%s" name_dash) @@ -3715,6 +4216,22 @@ end = struct ] ~linkall:true in + let _ = + if active then + Lib_protocol.make_tests + ?test_helpers + ?parameters + ?plugin + ?client + ?benchmark:(Option.bind benchmark Fun.id) + ?benchmark_type_inference + ~main + ~environment + ~name_underscore + ~name_dash + ~number + () + in register @@ make ~number @@ -3728,7 +4245,7 @@ end = struct ?baking_commands_registration ?plugin ?plugin_registerer - ~test_helpers + ?test_helpers ?parameters ?benchmarks_proto ?baking @@ -3925,29 +4442,6 @@ let _s_packer = ~section:"libexec"; ] -let _replace = - private_exe - "replace" - ~path:"src/lib_protocol_compiler/bin" - ~opam:"tezos-protocol-compiler" - ~deps: - [ - tezos_base |> open_ ~m:"TzPervasives"; - tezos_base_unix; - tezos_stdlib_unix |> open_; - re_str; - ] - ~modules:["Replace"] - ~static:true - ~dune: - Dune. - [ - install - [as_ "replace.exe" "replace"] - ~section:"libexec" - ~package:"tezos-protocol-compiler"; - ] - let _tezos_validator_bin = public_exe "tezos-validator" @@ -4271,9 +4765,6 @@ let _tezos_tps_evaluation = let exclude filename = let is_proto_ name = has_prefix ~prefix:"proto_" name in match String.split_on_char '/' filename with - (* lib_protocol files (that's a TODO). *) - | "src" :: maybe_proto :: "lib_protocol" :: _ when is_proto_ maybe_proto -> - true (* proto_/parameters/dune (it only has a (copy_files) stanza). *) | "src" :: maybe_proto :: "parameters" :: _ when is_proto_ maybe_proto -> true (* lib_time_measurement (its dune structure is *very* specific). *) diff --git a/manifest/tezos_protocol.ml b/manifest/tezos_protocol.ml index 02328a85c67826e6b7ef711e066805830d9a5573..c337d24eb7470eb366cfc052d2f372845e879bbd 100644 --- a/manifest/tezos_protocol.ml +++ b/manifest/tezos_protocol.ml @@ -1,10 +1,6 @@ (* This module decodes TEZOS_PROTOCOL files. *) -type t = { - hash : string; - modules : string list; - expected_env_version : int option; -} +type t = {hash : string; modules : string list; expected_env_version : int} let of_string_exn ?filename s = let die msg = @@ -30,7 +26,7 @@ let of_string_exn ?filename s = let lookup key f = f (List.assoc_opt key assoc) in let expected_env_version = lookup "expected_env_version" (optional float) - |> Option.map Int.of_float + |> Option.map Int.of_float |> Option.value ~default:0 in let hash = lookup "hash" (required string) in let modules = lookup "modules" (required (listed string)) in diff --git a/src/proto_012_Psithaca/lib_protocol/test/helpers/tezos-012-Psithaca-test-helpers.opam b/opam/tezos-012-Psithaca-test-helpers.opam similarity index 66% rename from src/proto_012_Psithaca/lib_protocol/test/helpers/tezos-012-Psithaca-test-helpers.opam rename to opam/tezos-012-Psithaca-test-helpers.opam index 3bd2292f1fa6b18539ae8b3d1e9ec942664ed128..0c66999d4e7ccf7d0f7de83fef5e8c19d7a510b9 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/helpers/tezos-012-Psithaca-test-helpers.opam +++ b/opam/tezos-012-Psithaca-test-helpers.opam @@ -1,24 +1,29 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "alcotest-lwt" { >= "1.5.0" } + "qcheck-alcotest" { >= "0.15" } + "tezos-test-helpers" "tezos-base" + "tezos-micheline" "tezos-stdlib-unix" - "tezos-shell-services" - "tezos-protocol-environment" "tezos-protocol-012-Psithaca" - "tezos-protocol-012-Psithaca-parameters" "tezos-client-012-Psithaca" - "tezos-test-helpers" - "alcotest-lwt" - "qcheck-alcotest" + "tezos-protocol-012-Psithaca-parameters" + "tezos-protocol-environment" + "tezos-protocol-plugin-012-Psithaca" + "tezos-shell-services" ] build: [ + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_013_PtJakart/lib_protocol/test/helpers/tezos-013-PtJakart-test-helpers.opam b/opam/tezos-013-PtJakart-test-helpers.opam similarity index 66% rename from src/proto_013_PtJakart/lib_protocol/test/helpers/tezos-013-PtJakart-test-helpers.opam rename to opam/tezos-013-PtJakart-test-helpers.opam index 5d3113e0350e5a796b4f60876b1acafcf69dc051..00276105068910f61ca0ef213c97133a3bcc2067 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/helpers/tezos-013-PtJakart-test-helpers.opam +++ b/opam/tezos-013-PtJakart-test-helpers.opam @@ -1,24 +1,29 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "alcotest-lwt" { >= "1.5.0" } + "qcheck-alcotest" { >= "0.15" } + "tezos-test-helpers" "tezos-base" + "tezos-micheline" "tezos-stdlib-unix" - "tezos-shell-services" - "tezos-protocol-environment" "tezos-protocol-013-PtJakart" - "tezos-protocol-013-PtJakart-parameters" "tezos-client-013-PtJakart" - "tezos-test-helpers" - "alcotest-lwt" - "qcheck-alcotest" + "tezos-protocol-013-PtJakart-parameters" + "tezos-protocol-environment" + "tezos-protocol-plugin-013-PtJakart" + "tezos-shell-services" ] build: [ + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_alpha/lib_protocol/test/helpers/tezos-alpha-test-helpers.opam b/opam/tezos-alpha-test-helpers.opam similarity index 66% rename from src/proto_alpha/lib_protocol/test/helpers/tezos-alpha-test-helpers.opam rename to opam/tezos-alpha-test-helpers.opam index 1a5ced942e58cfb5c695e42215f56129884a3e39..40c411cdb452b219b79f94f224ca1b8f7a62679e 100644 --- a/src/proto_alpha/lib_protocol/test/helpers/tezos-alpha-test-helpers.opam +++ b/opam/tezos-alpha-test-helpers.opam @@ -1,24 +1,29 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "alcotest-lwt" { >= "1.5.0" } + "qcheck-alcotest" { >= "0.15" } + "tezos-test-helpers" "tezos-base" + "tezos-micheline" "tezos-stdlib-unix" - "tezos-shell-services" - "tezos-protocol-environment" "tezos-protocol-alpha" - "tezos-protocol-alpha-parameters" "tezos-client-alpha" - "tezos-test-helpers" - "alcotest-lwt" - "qcheck-alcotest" + "tezos-protocol-alpha-parameters" + "tezos-protocol-environment" + "tezos-protocol-plugin-alpha" + "tezos-shell-services" ] build: [ + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_000_Ps9mPmXa/lib_protocol/tezos-embedded-protocol-000-Ps9mPmXa.opam b/opam/tezos-embedded-protocol-000-Ps9mPmXa.opam similarity index 62% rename from src/proto_000_Ps9mPmXa/lib_protocol/tezos-embedded-protocol-000-Ps9mPmXa.opam rename to opam/tezos-embedded-protocol-000-Ps9mPmXa.opam index 28086ca1c738d86e220f1ad7e0a3287794d50f7f..fe9c237781a1f383f12844ea9e018f81a4393588 100644 --- a/src/proto_000_Ps9mPmXa/lib_protocol/tezos-embedded-protocol-000-Ps9mPmXa.opam +++ b/opam/tezos-embedded-protocol-000-Ps9mPmXa.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-000-Ps9mPmXa" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "000_Ps9mPmXa" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_001_PtCJ7pwo/lib_protocol/tezos-embedded-protocol-001-PtCJ7pwo.opam b/opam/tezos-embedded-protocol-001-PtCJ7pwo.opam similarity index 62% rename from src/proto_001_PtCJ7pwo/lib_protocol/tezos-embedded-protocol-001-PtCJ7pwo.opam rename to opam/tezos-embedded-protocol-001-PtCJ7pwo.opam index 45ae19a8da3c89a5b1f10331dc41bab62becaaf5..ff6fdfdb40db792575ab97b821d5e00daa72c285 100644 --- a/src/proto_001_PtCJ7pwo/lib_protocol/tezos-embedded-protocol-001-PtCJ7pwo.opam +++ b/opam/tezos-embedded-protocol-001-PtCJ7pwo.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-001-PtCJ7pwo" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "001_PtCJ7pwo" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_002_PsYLVpVv/lib_protocol/tezos-embedded-protocol-002-PsYLVpVv.opam b/opam/tezos-embedded-protocol-002-PsYLVpVv.opam similarity index 62% rename from src/proto_002_PsYLVpVv/lib_protocol/tezos-embedded-protocol-002-PsYLVpVv.opam rename to opam/tezos-embedded-protocol-002-PsYLVpVv.opam index 2d80417aa1476c64adac85b7e81b02846839ef57..93999e457b1fdfe4fab9a5c5f469845aabd52667 100644 --- a/src/proto_002_PsYLVpVv/lib_protocol/tezos-embedded-protocol-002-PsYLVpVv.opam +++ b/opam/tezos-embedded-protocol-002-PsYLVpVv.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-002-PsYLVpVv" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "002_PsYLVpVv" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_003_PsddFKi3/lib_protocol/tezos-embedded-protocol-003-PsddFKi3.opam b/opam/tezos-embedded-protocol-003-PsddFKi3.opam similarity index 62% rename from src/proto_003_PsddFKi3/lib_protocol/tezos-embedded-protocol-003-PsddFKi3.opam rename to opam/tezos-embedded-protocol-003-PsddFKi3.opam index 96fc0b16a063374489dbef40166a2e7847aa505a..0e6a3fa2f80177b11524e29905e0a07d5c17a182 100644 --- a/src/proto_003_PsddFKi3/lib_protocol/tezos-embedded-protocol-003-PsddFKi3.opam +++ b/opam/tezos-embedded-protocol-003-PsddFKi3.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-003-PsddFKi3" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "003_PsddFKi3" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_004_Pt24m4xi/lib_protocol/tezos-embedded-protocol-004-Pt24m4xi.opam b/opam/tezos-embedded-protocol-004-Pt24m4xi.opam similarity index 61% rename from src/proto_004_Pt24m4xi/lib_protocol/tezos-embedded-protocol-004-Pt24m4xi.opam rename to opam/tezos-embedded-protocol-004-Pt24m4xi.opam index 846d5a6bd5e8b492a339e33c902ebc17f437c0dc..f6f267cfd3cec5a19f55b635ba4f296c3d2fd4fa 100644 --- a/src/proto_004_Pt24m4xi/lib_protocol/tezos-embedded-protocol-004-Pt24m4xi.opam +++ b/opam/tezos-embedded-protocol-004-Pt24m4xi.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-004-Pt24m4xi" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "004_Pt24m4xi" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_005_PsBABY5H/lib_protocol/tezos-embedded-protocol-005-PsBABY5H.opam b/opam/tezos-embedded-protocol-005-PsBABY5H.opam similarity index 61% rename from src/proto_005_PsBABY5H/lib_protocol/tezos-embedded-protocol-005-PsBABY5H.opam rename to opam/tezos-embedded-protocol-005-PsBABY5H.opam index e04a5887516a725670453af8ed100cf6b3637fe2..ff72323df9aacf49fc9f151c90bda989476cd013 100644 --- a/src/proto_005_PsBABY5H/lib_protocol/tezos-embedded-protocol-005-PsBABY5H.opam +++ b/opam/tezos-embedded-protocol-005-PsBABY5H.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-005-PsBABY5H" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "005_PsBABY5H" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_005_PsBabyM1/lib_protocol/tezos-embedded-protocol-005-PsBabyM1.opam b/opam/tezos-embedded-protocol-005-PsBabyM1.opam similarity index 61% rename from src/proto_005_PsBabyM1/lib_protocol/tezos-embedded-protocol-005-PsBabyM1.opam rename to opam/tezos-embedded-protocol-005-PsBabyM1.opam index 1c4ec50df49df2a480a02072a33ba7f870cbc4a8..0f77d45ad205533c0ceb191d17d8373d5ccee8cb 100644 --- a/src/proto_005_PsBabyM1/lib_protocol/tezos-embedded-protocol-005-PsBabyM1.opam +++ b/opam/tezos-embedded-protocol-005-PsBabyM1.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-005-PsBabyM1" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "005_PsBabyM1" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_006_PsCARTHA/lib_protocol/tezos-embedded-protocol-006-PsCARTHA.opam b/opam/tezos-embedded-protocol-006-PsCARTHA.opam similarity index 61% rename from src/proto_006_PsCARTHA/lib_protocol/tezos-embedded-protocol-006-PsCARTHA.opam rename to opam/tezos-embedded-protocol-006-PsCARTHA.opam index 5bd839dc08db1cd0063459aba7ac436d1d92089e..655779287810bf9ce6ab1ab5598e93305382d083 100644 --- a/src/proto_006_PsCARTHA/lib_protocol/tezos-embedded-protocol-006-PsCARTHA.opam +++ b/opam/tezos-embedded-protocol-006-PsCARTHA.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-006-PsCARTHA" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "006_PsCARTHA" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_007_PsDELPH1/lib_protocol/tezos-embedded-protocol-007-PsDELPH1.opam b/opam/tezos-embedded-protocol-007-PsDELPH1.opam similarity index 61% rename from src/proto_007_PsDELPH1/lib_protocol/tezos-embedded-protocol-007-PsDELPH1.opam rename to opam/tezos-embedded-protocol-007-PsDELPH1.opam index 4f1d1b1c508c5ebdeff4956419c707e851161f61..fb5ab1a1d4eadff50fa5187d2c2cc80c6409d848 100644 --- a/src/proto_007_PsDELPH1/lib_protocol/tezos-embedded-protocol-007-PsDELPH1.opam +++ b/opam/tezos-embedded-protocol-007-PsDELPH1.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-007-PsDELPH1" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "007_PsDELPH1" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_008_PtEdo2Zk/lib_protocol/tezos-embedded-protocol-008-PtEdo2Zk.opam b/opam/tezos-embedded-protocol-008-PtEdo2Zk.opam similarity index 60% rename from src/proto_008_PtEdo2Zk/lib_protocol/tezos-embedded-protocol-008-PtEdo2Zk.opam rename to opam/tezos-embedded-protocol-008-PtEdo2Zk.opam index 8f0a3acb860ebded10cb1495028ebdea82cb999a..8922492ffc448a917ee521d4935f0210afdfefd0 100644 --- a/src/proto_008_PtEdo2Zk/lib_protocol/tezos-embedded-protocol-008-PtEdo2Zk.opam +++ b/opam/tezos-embedded-protocol-008-PtEdo2Zk.opam @@ -1,25 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-base" + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-008-PtEdo2Zk" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "008_PtEdo2Zk" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_008_PtEdoTez/lib_protocol/tezos-embedded-protocol-008-PtEdoTez.opam b/opam/tezos-embedded-protocol-008-PtEdoTez.opam similarity index 58% rename from src/proto_008_PtEdoTez/lib_protocol/tezos-embedded-protocol-008-PtEdoTez.opam rename to opam/tezos-embedded-protocol-008-PtEdoTez.opam index 040977314d6a1463b16b95807b7e27f4460c3632..7bdacdde0accca20e4e210588baed5235773451d 100644 --- a/src/proto_008_PtEdoTez/lib_protocol/tezos-embedded-protocol-008-PtEdoTez.opam +++ b/opam/tezos-embedded-protocol-008-PtEdoTez.opam @@ -1,24 +1,21 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-008-PtEdoTez" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "008_PtEdoTez" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] synopsis: "Tezos/Protocol: economic-protocol definition, embedded in `tezos-node`" diff --git a/src/proto_009_PsFLoren/lib_protocol/tezos-embedded-protocol-009-PsFLoren.opam b/opam/tezos-embedded-protocol-009-PsFLoren.opam similarity index 61% rename from src/proto_009_PsFLoren/lib_protocol/tezos-embedded-protocol-009-PsFLoren.opam rename to opam/tezos-embedded-protocol-009-PsFLoren.opam index a201efb86581f20e02cd51e1d9a3867b8ec1dec7..7a1c5f6d759562180038aebb05925d4961902c05 100644 --- a/src/proto_009_PsFLoren/lib_protocol/tezos-embedded-protocol-009-PsFLoren.opam +++ b/opam/tezos-embedded-protocol-009-PsFLoren.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-009-PsFLoren" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "009_PsFLoren" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_010_PtGRANAD/lib_protocol/tezos-embedded-protocol-010-PtGRANAD.opam b/opam/tezos-embedded-protocol-010-PtGRANAD.opam similarity index 61% rename from src/proto_010_PtGRANAD/lib_protocol/tezos-embedded-protocol-010-PtGRANAD.opam rename to opam/tezos-embedded-protocol-010-PtGRANAD.opam index 81006ce90f273ae2f77385a22d7408d003c4ef68..c6152f8ceaeee326f6b26d0762bf9d39a8d084ff 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/tezos-embedded-protocol-010-PtGRANAD.opam +++ b/opam/tezos-embedded-protocol-010-PtGRANAD.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-010-PtGRANAD" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "010_PtGRANAD" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_011_PtHangz2/lib_protocol/tezos-embedded-protocol-011-PtHangz2.opam b/opam/tezos-embedded-protocol-011-PtHangz2.opam similarity index 61% rename from src/proto_011_PtHangz2/lib_protocol/tezos-embedded-protocol-011-PtHangz2.opam rename to opam/tezos-embedded-protocol-011-PtHangz2.opam index 8bae2768e1ea74437b08a716c22ebc66696974a6..1572e89c126edbcefe8b1400657090e7349daad0 100644 --- a/src/proto_011_PtHangz2/lib_protocol/tezos-embedded-protocol-011-PtHangz2.opam +++ b/opam/tezos-embedded-protocol-011-PtHangz2.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-011-PtHangz2" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "011_PtHangz2" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_012_Psithaca/lib_protocol/tezos-embedded-protocol-012-Psithaca.opam b/opam/tezos-embedded-protocol-012-Psithaca.opam similarity index 61% rename from src/proto_012_Psithaca/lib_protocol/tezos-embedded-protocol-012-Psithaca.opam rename to opam/tezos-embedded-protocol-012-Psithaca.opam index 45fe0519f328922f61bbd19fb557ab17d7348432..e4ec20ff191475e6dcd675c9e2a5bedbf94e72f9 100644 --- a/src/proto_012_Psithaca/lib_protocol/tezos-embedded-protocol-012-Psithaca.opam +++ b/opam/tezos-embedded-protocol-012-Psithaca.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-012-Psithaca" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "012_Psithaca" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_013_PtJakart/lib_protocol/tezos-embedded-protocol-013-PtJakart.opam b/opam/tezos-embedded-protocol-013-PtJakart.opam similarity index 61% rename from src/proto_013_PtJakart/lib_protocol/tezos-embedded-protocol-013-PtJakart.opam rename to opam/tezos-embedded-protocol-013-PtJakart.opam index 77c0b0db28ff26de9babc41c56b20f4cc7b90fae..28e04a8939aa44f84a5ebbf1496e3c3d25e9f87e 100644 --- a/src/proto_013_PtJakart/lib_protocol/tezos-embedded-protocol-013-PtJakart.opam +++ b/opam/tezos-embedded-protocol-013-PtJakart.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-013-PtJakart" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "013_PtJakart" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_alpha/lib_protocol/tezos-embedded-protocol-alpha.opam b/opam/tezos-embedded-protocol-alpha.opam similarity index 61% rename from src/proto_alpha/lib_protocol/tezos-embedded-protocol-alpha.opam rename to opam/tezos-embedded-protocol-alpha.opam index 4561174fd508ee6806e8d9e231b9052a35ff7c76..6269194e61c6bebdfe60058168f13d8067bf23ea 100644 --- a/src/proto_alpha/lib_protocol/tezos-embedded-protocol-alpha.opam +++ b/opam/tezos-embedded-protocol-alpha.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-alpha" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "alpha" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_demo_counter/lib_protocol/tezos-embedded-protocol-demo-counter.opam b/opam/tezos-embedded-protocol-demo-counter.opam similarity index 50% rename from src/proto_demo_counter/lib_protocol/tezos-embedded-protocol-demo-counter.opam rename to opam/tezos-embedded-protocol-demo-counter.opam index 79569fd683eb248ae599f97a96100ad8e16b65c1..5f51d4560542e1dacf242d86ab4eab4099670db9 100644 --- a/src/proto_demo_counter/lib_protocol/tezos-embedded-protocol-demo-counter.opam +++ b/opam/tezos-embedded-protocol-demo-counter.opam @@ -1,25 +1,21 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-demo-counter" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "demo_counter" ] - [ "dune" "build" "-p" name "-j" jobs ] -] -run-test: [ - [ "dune" "runtest" "-p" name "-j" jobs ] + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] synopsis: "Tezos/Protocol: demo_counter (economic-protocol definition, embedded in `tezos-node`)" diff --git a/src/proto_demo_noops/lib_protocol/tezos-embedded-protocol-demo-noops.opam b/opam/tezos-embedded-protocol-demo-noops.opam similarity index 62% rename from src/proto_demo_noops/lib_protocol/tezos-embedded-protocol-demo-noops.opam rename to opam/tezos-embedded-protocol-demo-noops.opam index 98cd533df061ff9c4f3314d8e15942ce6cc78a20..56fe1a42d3ec67f4436d9e71ff94858d96ab9fab 100644 --- a/src/proto_demo_noops/lib_protocol/tezos-embedded-protocol-demo-noops.opam +++ b/opam/tezos-embedded-protocol-demo-noops.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-demo-noops" - "tezos-protocol-compiler" "tezos-protocol-updater" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "demo_noops" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_genesis/lib_protocol/tezos-embedded-protocol-genesis.opam b/opam/tezos-embedded-protocol-genesis.opam similarity index 62% rename from src/proto_genesis/lib_protocol/tezos-embedded-protocol-genesis.opam rename to opam/tezos-embedded-protocol-genesis.opam index 32dcdaa0347640698bb82bdbb4fcbb1d01a381b7..fa5a5fdb4cc00408b54130ba1f68317568a44698 100644 --- a/src/proto_genesis/lib_protocol/tezos-embedded-protocol-genesis.opam +++ b/opam/tezos-embedded-protocol-genesis.opam @@ -1,24 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } "tezos-protocol-genesis" "tezos-protocol-updater" - "tezos-protocol-compiler" + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "genesis" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_000_Ps9mPmXa/lib_protocol/tezos-protocol-000-Ps9mPmXa.opam b/opam/tezos-protocol-000-Ps9mPmXa.opam similarity index 58% rename from src/proto_000_Ps9mPmXa/lib_protocol/tezos-protocol-000-Ps9mPmXa.opam rename to opam/tezos-protocol-000-Ps9mPmXa.opam index 75726a434c7e93aeb2356049da452c8abcc13623..57b89d1ec3f0a632c840feccb1600293f5d10cca 100644 --- a/src/proto_000_Ps9mPmXa/lib_protocol/tezos-protocol-000-Ps9mPmXa.opam +++ b/opam/tezos-protocol-000-Ps9mPmXa.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "000_Ps9mPmXa" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/opam/tezos-protocol-001-PtCJ7pwo.opam b/opam/tezos-protocol-001-PtCJ7pwo.opam new file mode 100644 index 0000000000000000000000000000000000000000..2142fb1bb979a14a325dde44def29a2232ed986d --- /dev/null +++ b/opam/tezos-protocol-001-PtCJ7pwo.opam @@ -0,0 +1,19 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: 001_PtCJ7pwo (economic-protocol definition, functor version)" diff --git a/opam/tezos-protocol-002-PsYLVpVv.opam b/opam/tezos-protocol-002-PsYLVpVv.opam new file mode 100644 index 0000000000000000000000000000000000000000..085d02cc3f9ebbcab4dbe80ef83d888a12dcaa3c --- /dev/null +++ b/opam/tezos-protocol-002-PsYLVpVv.opam @@ -0,0 +1,19 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: 002_PsYLVpVv (economic-protocol definition, functor version)" diff --git a/opam/tezos-protocol-003-PsddFKi3.opam b/opam/tezos-protocol-003-PsddFKi3.opam new file mode 100644 index 0000000000000000000000000000000000000000..9bfe6ac938cb6ec06fcffc749cb97a24946935f8 --- /dev/null +++ b/opam/tezos-protocol-003-PsddFKi3.opam @@ -0,0 +1,19 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: 003_PsddFKi3 (economic-protocol definition, functor version)" diff --git a/src/proto_004_Pt24m4xi/lib_protocol/tezos-protocol-004-Pt24m4xi.opam b/opam/tezos-protocol-004-Pt24m4xi.opam similarity index 56% rename from src/proto_004_Pt24m4xi/lib_protocol/tezos-protocol-004-Pt24m4xi.opam rename to opam/tezos-protocol-004-Pt24m4xi.opam index 232c32e7176b886dc389c9172b52ed3f1a492b68..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_004_Pt24m4xi/lib_protocol/tezos-protocol-004-Pt24m4xi.opam +++ b/opam/tezos-protocol-004-Pt24m4xi.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "004_Pt24m4xi" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_005_PsBABY5H/lib_protocol/tezos-protocol-005-PsBABY5H.opam b/opam/tezos-protocol-005-PsBABY5H.opam similarity index 56% rename from src/proto_005_PsBABY5H/lib_protocol/tezos-protocol-005-PsBABY5H.opam rename to opam/tezos-protocol-005-PsBABY5H.opam index 6d27833ed9ca679d70ffc11aad8d62ce94d15e0d..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_005_PsBABY5H/lib_protocol/tezos-protocol-005-PsBABY5H.opam +++ b/opam/tezos-protocol-005-PsBABY5H.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "005_PsBABY5H" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_005_PsBabyM1/lib_protocol/tezos-protocol-005-PsBabyM1.opam b/opam/tezos-protocol-005-PsBabyM1.opam similarity index 56% rename from src/proto_005_PsBabyM1/lib_protocol/tezos-protocol-005-PsBabyM1.opam rename to opam/tezos-protocol-005-PsBabyM1.opam index 076f2c4622897f033897a393ea4d85a3b77a3f3c..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_005_PsBabyM1/lib_protocol/tezos-protocol-005-PsBabyM1.opam +++ b/opam/tezos-protocol-005-PsBabyM1.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "005_PsBabyM1" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_006_PsCARTHA/lib_protocol/tezos-protocol-006-PsCARTHA.opam b/opam/tezos-protocol-006-PsCARTHA.opam similarity index 56% rename from src/proto_006_PsCARTHA/lib_protocol/tezos-protocol-006-PsCARTHA.opam rename to opam/tezos-protocol-006-PsCARTHA.opam index 75e2d5df42e936fdafcb59dc07bfe400e6ec5a3a..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_006_PsCARTHA/lib_protocol/tezos-protocol-006-PsCARTHA.opam +++ b/opam/tezos-protocol-006-PsCARTHA.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "006_PsCARTHA" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_007_PsDELPH1/lib_protocol/tezos-protocol-007-PsDELPH1.opam b/opam/tezos-protocol-007-PsDELPH1.opam similarity index 56% rename from src/proto_007_PsDELPH1/lib_protocol/tezos-protocol-007-PsDELPH1.opam rename to opam/tezos-protocol-007-PsDELPH1.opam index 5b3f0b4815189b5928848a9acc34cc2c523859bf..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_007_PsDELPH1/lib_protocol/tezos-protocol-007-PsDELPH1.opam +++ b/opam/tezos-protocol-007-PsDELPH1.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "007_PsDELPH1" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/opam/tezos-protocol-008-PtEdo2Zk.opam b/opam/tezos-protocol-008-PtEdo2Zk.opam new file mode 100644 index 0000000000000000000000000000000000000000..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf --- /dev/null +++ b/opam/tezos-protocol-008-PtEdo2Zk.opam @@ -0,0 +1,19 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: economic-protocol definition" diff --git a/opam/tezos-protocol-008-PtEdoTez.opam b/opam/tezos-protocol-008-PtEdoTez.opam new file mode 100644 index 0000000000000000000000000000000000000000..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf --- /dev/null +++ b/opam/tezos-protocol-008-PtEdoTez.opam @@ -0,0 +1,19 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: economic-protocol definition" diff --git a/src/proto_009_PsFLoren/lib_protocol/tezos-protocol-009-PsFLoren.opam b/opam/tezos-protocol-009-PsFLoren.opam similarity index 56% rename from src/proto_009_PsFLoren/lib_protocol/tezos-protocol-009-PsFLoren.opam rename to opam/tezos-protocol-009-PsFLoren.opam index 22f4c2160fa1784b7a264d22c3dcabe2e15c105f..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_009_PsFLoren/lib_protocol/tezos-protocol-009-PsFLoren.opam +++ b/opam/tezos-protocol-009-PsFLoren.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "009_PsFLoren" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_010_PtGRANAD/lib_protocol/tezos-protocol-010-PtGRANAD.opam b/opam/tezos-protocol-010-PtGRANAD.opam similarity index 56% rename from src/proto_010_PtGRANAD/lib_protocol/tezos-protocol-010-PtGRANAD.opam rename to opam/tezos-protocol-010-PtGRANAD.opam index 33efc42ba14727ef9aa3514228125d4f350142a9..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/tezos-protocol-010-PtGRANAD.opam +++ b/opam/tezos-protocol-010-PtGRANAD.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "010_PtGRANAD" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_011_PtHangz2/lib_protocol/tezos-protocol-011-PtHangz2.opam b/opam/tezos-protocol-011-PtHangz2.opam similarity index 56% rename from src/proto_011_PtHangz2/lib_protocol/tezos-protocol-011-PtHangz2.opam rename to opam/tezos-protocol-011-PtHangz2.opam index 6d3cc68689ac50d152c302695efedae718bfe3c7..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_011_PtHangz2/lib_protocol/tezos-protocol-011-PtHangz2.opam +++ b/opam/tezos-protocol-011-PtHangz2.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "011_PtHangz2" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/opam/tezos-protocol-012-Psithaca-tests.opam b/opam/tezos-protocol-012-Psithaca-tests.opam new file mode 100644 index 0000000000000000000000000000000000000000..0c36df6edeaf8469d4e2aaa6701adc120d8c32ca --- /dev/null +++ b/opam/tezos-protocol-012-Psithaca-tests.opam @@ -0,0 +1,36 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "alcotest-lwt" { with-test & >= "1.5.0" } + "tezos-base" {with-test} + "tezos-protocol-012-Psithaca" {with-test} + "tezos-012-Psithaca-test-helpers" {with-test} + "tezos-base-test-helpers" {with-test} + "tezos-protocol-012-Psithaca-parameters" {with-test} + "tezos-protocol-plugin-012-Psithaca" {with-test} + "tezos-client-base" {with-test} + "tezos-client-012-Psithaca" {with-test} + "tezos-benchmark" {with-test} + "tezos-micheline" {with-test} + "tezos-benchmark-012-Psithaca" {with-test} + "tezos-benchmark-type-inference-012-Psithaca" {with-test} + "tezos-test-helpers" {with-test} + "alcotest" { with-test & >= "1.5.0" } + "qcheck-alcotest" { with-test & >= "0.15" } + "tezos-protocol-environment" {with-test} + "tezos-stdlib-unix" {with-test} +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: tests for economic-protocol definition" diff --git a/src/proto_012_Psithaca/lib_protocol/tezos-protocol-012-Psithaca.opam b/opam/tezos-protocol-012-Psithaca.opam similarity index 56% rename from src/proto_012_Psithaca/lib_protocol/tezos-protocol-012-Psithaca.opam rename to opam/tezos-protocol-012-Psithaca.opam index 5224ae123b0ae847e0ba8995d2ca91fab8b84457..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_012_Psithaca/lib_protocol/tezos-protocol-012-Psithaca.opam +++ b/opam/tezos-protocol-012-Psithaca.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "012_Psithaca" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/opam/tezos-protocol-013-PtJakart-tests.opam b/opam/tezos-protocol-013-PtJakart-tests.opam new file mode 100644 index 0000000000000000000000000000000000000000..08dfea544c1580be78ccb38e896f4fdf2fd89a8a --- /dev/null +++ b/opam/tezos-protocol-013-PtJakart-tests.opam @@ -0,0 +1,37 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "alcotest-lwt" { with-test & >= "1.5.0" } + "tezos-base" {with-test} + "tezos-protocol-013-PtJakart" {with-test} + "tezos-013-PtJakart-test-helpers" {with-test} + "tezos-base-test-helpers" {with-test} + "tezos-protocol-013-PtJakart-parameters" {with-test} + "tezos-protocol-plugin-013-PtJakart" {with-test} + "tezos-client-013-PtJakart" {with-test} + "tezos-benchmark" {with-test} + "tezos-micheline" {with-test} + "tezos-benchmark-013-PtJakart" {with-test} + "tezos-benchmark-type-inference-013-PtJakart" {with-test} + "tezos-test-helpers" {with-test} + "alcotest" { with-test & >= "1.5.0" } + "qcheck-alcotest" { with-test & >= "0.15" } + "tezos-client-base" {with-test} + "tezos-protocol-environment" {with-test} + "tezos-stdlib-unix" {with-test} + "tezos-stdlib" {with-test} +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: tests for economic-protocol definition" diff --git a/src/proto_013_PtJakart/lib_protocol/tezos-protocol-013-PtJakart.opam b/opam/tezos-protocol-013-PtJakart.opam similarity index 56% rename from src/proto_013_PtJakart/lib_protocol/tezos-protocol-013-PtJakart.opam rename to opam/tezos-protocol-013-PtJakart.opam index 2905089597d1e5689179b4f6cb1ee400724a729f..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_013_PtJakart/lib_protocol/tezos-protocol-013-PtJakart.opam +++ b/opam/tezos-protocol-013-PtJakart.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "013_PtJakart" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/opam/tezos-protocol-alpha-tests.opam b/opam/tezos-protocol-alpha-tests.opam new file mode 100644 index 0000000000000000000000000000000000000000..24cf61c2e30c1ecdfa66e02c88aac192d3866752 --- /dev/null +++ b/opam/tezos-protocol-alpha-tests.opam @@ -0,0 +1,37 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "alcotest-lwt" { with-test & >= "1.5.0" } + "tezos-base" {with-test} + "tezos-protocol-alpha" {with-test} + "tezos-alpha-test-helpers" {with-test} + "tezos-base-test-helpers" {with-test} + "tezos-protocol-alpha-parameters" {with-test} + "tezos-protocol-plugin-alpha" {with-test} + "tezos-client-alpha" {with-test} + "tezos-benchmark" {with-test} + "tezos-micheline" {with-test} + "tezos-benchmark-alpha" {with-test} + "tezos-benchmark-type-inference-alpha" {with-test} + "tezos-test-helpers" {with-test} + "alcotest" { with-test & >= "1.5.0" } + "qcheck-alcotest" { with-test & >= "0.15" } + "tezos-client-base" {with-test} + "tezos-protocol-environment" {with-test} + "tezos-stdlib-unix" {with-test} + "tezos-stdlib" {with-test} +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: tests for economic-protocol definition" diff --git a/src/proto_alpha/lib_protocol/tezos-protocol-alpha.opam b/opam/tezos-protocol-alpha.opam similarity index 57% rename from src/proto_alpha/lib_protocol/tezos-protocol-alpha.opam rename to opam/tezos-protocol-alpha.opam index eb72c768a96b57b159f93bb3086fa0fef34c12cd..56e1d07f3cfe4bf70f5c3d5f47b81adc2c5585bf 100644 --- a/src/proto_alpha/lib_protocol/tezos-protocol-alpha.opam +++ b/opam/tezos-protocol-alpha.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "alpha" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/opam/tezos-protocol-compiler.opam b/opam/tezos-protocol-compiler.opam index b7008a4b65565b3bbad28ed2ce1918e97400cf49..961878ac6a86eb5c84b06b9c4659368cb3d037b4 100644 --- a/opam/tezos-protocol-compiler.opam +++ b/opam/tezos-protocol-compiler.opam @@ -17,7 +17,6 @@ depends: [ "lwt" { >= "5.4.0" } "ocp-ocamlres" { >= "0.4" } "base-unix" - "re" { >= "1.7.2" } ] build: [ ["rm" "-r" "vendors"] diff --git a/opam/tezos-protocol-demo-counter.opam b/opam/tezos-protocol-demo-counter.opam new file mode 100644 index 0000000000000000000000000000000000000000..6269b0e8d9fa6b0dbb69f8cb1a2d65c20c0f2441 --- /dev/null +++ b/opam/tezos-protocol-demo-counter.opam @@ -0,0 +1,19 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. +opam-version: "2.0" +maintainer: "contact@tezos.com" +authors: ["Tezos devteam"] +homepage: "https://www.tezos.com/" +bug-reports: "https://gitlab.com/tezos/tezos/issues" +dev-repo: "git+https://gitlab.com/tezos/tezos.git" +license: "MIT" +depends: [ + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" +] +build: [ + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +synopsis: "Tezos/Protocol: demo_counter economic-protocol definition" diff --git a/src/proto_demo_noops/lib_protocol/tezos-protocol-demo-noops.opam b/opam/tezos-protocol-demo-noops.opam similarity index 57% rename from src/proto_demo_noops/lib_protocol/tezos-protocol-demo-noops.opam rename to opam/tezos-protocol-demo-noops.opam index 355e831f2c10434b8a965ac2b8b7539d28be12ac..a0c8ab26e3030023c881ef10524c66cf82bd3601 100644 --- a/src/proto_demo_noops/lib_protocol/tezos-protocol-demo-noops.opam +++ b/opam/tezos-protocol-demo-noops.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "demo_noops" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_000_Ps9mPmXa/lib_protocol/tezos-protocol-functor-000-Ps9mPmXa.opam b/opam/tezos-protocol-functor-000-Ps9mPmXa.opam similarity index 65% rename from src/proto_000_Ps9mPmXa/lib_protocol/tezos-protocol-functor-000-Ps9mPmXa.opam rename to opam/tezos-protocol-functor-000-Ps9mPmXa.opam index 2ce9eb13cbf196129a848b8699e7cda6a7566590..abea83d62816efc85f972659d61c4ec8125abafb 100644 --- a/src/proto_000_Ps9mPmXa/lib_protocol/tezos-protocol-functor-000-Ps9mPmXa.opam +++ b/opam/tezos-protocol-functor-000-Ps9mPmXa.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-000-Ps9mPmXa" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "000_Ps9mPmXa" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_001_PtCJ7pwo/lib_protocol/tezos-protocol-functor-001-PtCJ7pwo.opam b/opam/tezos-protocol-functor-001-PtCJ7pwo.opam similarity index 65% rename from src/proto_001_PtCJ7pwo/lib_protocol/tezos-protocol-functor-001-PtCJ7pwo.opam rename to opam/tezos-protocol-functor-001-PtCJ7pwo.opam index 81820c402d8b0c55233050aec68a94b12ffbd9e0..8bf34d0951d46acf132908673c61553410758f45 100644 --- a/src/proto_001_PtCJ7pwo/lib_protocol/tezos-protocol-functor-001-PtCJ7pwo.opam +++ b/opam/tezos-protocol-functor-001-PtCJ7pwo.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-001-PtCJ7pwo" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "001_PtCJ7pwo" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_002_PsYLVpVv/lib_protocol/tezos-protocol-functor-002-PsYLVpVv.opam b/opam/tezos-protocol-functor-002-PsYLVpVv.opam similarity index 65% rename from src/proto_002_PsYLVpVv/lib_protocol/tezos-protocol-functor-002-PsYLVpVv.opam rename to opam/tezos-protocol-functor-002-PsYLVpVv.opam index 1a45910748257578dd626cd90448eabb4701fa6d..95c4288690084a188bd0849621f1ea2efe19549b 100644 --- a/src/proto_002_PsYLVpVv/lib_protocol/tezos-protocol-functor-002-PsYLVpVv.opam +++ b/opam/tezos-protocol-functor-002-PsYLVpVv.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-002-PsYLVpVv" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "002_PsYLVpVv" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_003_PsddFKi3/lib_protocol/tezos-protocol-functor-003-PsddFKi3.opam b/opam/tezos-protocol-functor-003-PsddFKi3.opam similarity index 65% rename from src/proto_003_PsddFKi3/lib_protocol/tezos-protocol-functor-003-PsddFKi3.opam rename to opam/tezos-protocol-functor-003-PsddFKi3.opam index 9ff52a6b249a088c6f830acc91b4842c7bc75e5d..74acfbe1a66c84902bb2d2d3c82d9e9d281493e3 100644 --- a/src/proto_003_PsddFKi3/lib_protocol/tezos-protocol-functor-003-PsddFKi3.opam +++ b/opam/tezos-protocol-functor-003-PsddFKi3.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-003-PsddFKi3" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "003_PsddFKi3" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_004_Pt24m4xi/lib_protocol/tezos-protocol-functor-004-Pt24m4xi.opam b/opam/tezos-protocol-functor-004-Pt24m4xi.opam similarity index 65% rename from src/proto_004_Pt24m4xi/lib_protocol/tezos-protocol-functor-004-Pt24m4xi.opam rename to opam/tezos-protocol-functor-004-Pt24m4xi.opam index 333934439ed12c2752197099824041632563f73f..18ba5d9200bcc62ad30c23eff98272eec9559dc7 100644 --- a/src/proto_004_Pt24m4xi/lib_protocol/tezos-protocol-functor-004-Pt24m4xi.opam +++ b/opam/tezos-protocol-functor-004-Pt24m4xi.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-004-Pt24m4xi" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "004_Pt24m4xi" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_005_PsBABY5H/lib_protocol/tezos-protocol-functor-005-PsBABY5H.opam b/opam/tezos-protocol-functor-005-PsBABY5H.opam similarity index 65% rename from src/proto_005_PsBABY5H/lib_protocol/tezos-protocol-functor-005-PsBABY5H.opam rename to opam/tezos-protocol-functor-005-PsBABY5H.opam index 9e4233082fdc7ab606a04aa0b99123cc7b7d6e75..3917057318fae8ffa3f24aca340040cf878a38a7 100644 --- a/src/proto_005_PsBABY5H/lib_protocol/tezos-protocol-functor-005-PsBABY5H.opam +++ b/opam/tezos-protocol-functor-005-PsBABY5H.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-005-PsBABY5H" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "005_PsBABY5H" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_005_PsBabyM1/lib_protocol/tezos-protocol-functor-005-PsBabyM1.opam b/opam/tezos-protocol-functor-005-PsBabyM1.opam similarity index 65% rename from src/proto_005_PsBabyM1/lib_protocol/tezos-protocol-functor-005-PsBabyM1.opam rename to opam/tezos-protocol-functor-005-PsBabyM1.opam index d9f59b34eb4a3425ab0528dd3e2956c3c4955de0..86e2dc83ea4ac66f41332e91b81be118db1bb9c2 100644 --- a/src/proto_005_PsBabyM1/lib_protocol/tezos-protocol-functor-005-PsBabyM1.opam +++ b/opam/tezos-protocol-functor-005-PsBabyM1.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-005-PsBabyM1" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "005_PsBabyM1" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_006_PsCARTHA/lib_protocol/tezos-protocol-functor-006-PsCARTHA.opam b/opam/tezos-protocol-functor-006-PsCARTHA.opam similarity index 65% rename from src/proto_006_PsCARTHA/lib_protocol/tezos-protocol-functor-006-PsCARTHA.opam rename to opam/tezos-protocol-functor-006-PsCARTHA.opam index ba346ef478bf17808af5369045293a81100c3c9e..45287cb07e87558104d6e3c9beb8ba9b7017cd8a 100644 --- a/src/proto_006_PsCARTHA/lib_protocol/tezos-protocol-functor-006-PsCARTHA.opam +++ b/opam/tezos-protocol-functor-006-PsCARTHA.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-006-PsCARTHA" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "006_PsCARTHA" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_007_PsDELPH1/lib_protocol/tezos-protocol-functor-007-PsDELPH1.opam b/opam/tezos-protocol-functor-007-PsDELPH1.opam similarity index 65% rename from src/proto_007_PsDELPH1/lib_protocol/tezos-protocol-functor-007-PsDELPH1.opam rename to opam/tezos-protocol-functor-007-PsDELPH1.opam index 19cf00cbc1e5cda5723c2c2b0996911b5601bb41..ed846ced1edc46e3f1a3004eaffb0387e0ab3a5e 100644 --- a/src/proto_007_PsDELPH1/lib_protocol/tezos-protocol-functor-007-PsDELPH1.opam +++ b/opam/tezos-protocol-functor-007-PsDELPH1.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-007-PsDELPH1" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "007_PsDELPH1" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_008_PtEdo2Zk/lib_protocol/tezos-protocol-functor-008-PtEdo2Zk.opam b/opam/tezos-protocol-functor-008-PtEdo2Zk.opam similarity index 65% rename from src/proto_008_PtEdo2Zk/lib_protocol/tezos-protocol-functor-008-PtEdo2Zk.opam rename to opam/tezos-protocol-functor-008-PtEdo2Zk.opam index 3a034bfb7c42f9f379fe5b0ce10fa72786ca6b6d..3d10263446f728d9a94d9ecbf5b30f703a56f8ac 100644 --- a/src/proto_008_PtEdo2Zk/lib_protocol/tezos-protocol-functor-008-PtEdo2Zk.opam +++ b/opam/tezos-protocol-functor-008-PtEdo2Zk.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-008-PtEdo2Zk" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "008_PtEdo2Zk" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_008_PtEdoTez/lib_protocol/tezos-protocol-functor-008-PtEdoTez.opam b/opam/tezos-protocol-functor-008-PtEdoTez.opam similarity index 62% rename from src/proto_008_PtEdoTez/lib_protocol/tezos-protocol-functor-008-PtEdoTez.opam rename to opam/tezos-protocol-functor-008-PtEdoTez.opam index 7fe7cf8ac5ce45900e481ba1bb7f156164254a12..3fb1715d05faa7962621596a8481c2ddd46713e8 100644 --- a/src/proto_008_PtEdoTez/lib_protocol/tezos-protocol-functor-008-PtEdoTez.opam +++ b/opam/tezos-protocol-functor-008-PtEdoTez.opam @@ -1,23 +1,21 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-008-PtEdoTez" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "008_PtEdoTez" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] synopsis: "Tezos/Protocol: economic-protocol definition parameterized by its environment implementation" diff --git a/src/proto_009_PsFLoren/lib_protocol/tezos-protocol-functor-009-PsFLoren.opam b/opam/tezos-protocol-functor-009-PsFLoren.opam similarity index 65% rename from src/proto_009_PsFLoren/lib_protocol/tezos-protocol-functor-009-PsFLoren.opam rename to opam/tezos-protocol-functor-009-PsFLoren.opam index ab5d03106585ba3d14cbc75d7458487029e4ef5f..0c71cb64416308425a84919016ce873f572ca1cc 100644 --- a/src/proto_009_PsFLoren/lib_protocol/tezos-protocol-functor-009-PsFLoren.opam +++ b/opam/tezos-protocol-functor-009-PsFLoren.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-009-PsFLoren" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "009_PsFLoren" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_010_PtGRANAD/lib_protocol/tezos-protocol-functor-010-PtGRANAD.opam b/opam/tezos-protocol-functor-010-PtGRANAD.opam similarity index 65% rename from src/proto_010_PtGRANAD/lib_protocol/tezos-protocol-functor-010-PtGRANAD.opam rename to opam/tezos-protocol-functor-010-PtGRANAD.opam index 36d47db750fb9210dfc6aae16f679905858dd4f1..f0dc65f259f4fe64946d15df544404887b974f8c 100644 --- a/src/proto_010_PtGRANAD/lib_protocol/tezos-protocol-functor-010-PtGRANAD.opam +++ b/opam/tezos-protocol-functor-010-PtGRANAD.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-010-PtGRANAD" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "010_PtGRANAD" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_011_PtHangz2/lib_protocol/tezos-protocol-functor-011-PtHangz2.opam b/opam/tezos-protocol-functor-011-PtHangz2.opam similarity index 65% rename from src/proto_011_PtHangz2/lib_protocol/tezos-protocol-functor-011-PtHangz2.opam rename to opam/tezos-protocol-functor-011-PtHangz2.opam index 2d96ff7b6a674196b6a14a1f1184da64a1541abd..94c136e673c51d0a88dac1f83d59ecc6a018c46c 100644 --- a/src/proto_011_PtHangz2/lib_protocol/tezos-protocol-functor-011-PtHangz2.opam +++ b/opam/tezos-protocol-functor-011-PtHangz2.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-011-PtHangz2" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "011_PtHangz2" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_012_Psithaca/lib_protocol/tezos-protocol-functor-012-Psithaca.opam b/opam/tezos-protocol-functor-012-Psithaca.opam similarity index 65% rename from src/proto_012_Psithaca/lib_protocol/tezos-protocol-functor-012-Psithaca.opam rename to opam/tezos-protocol-functor-012-Psithaca.opam index c2927cef1091b49e2535d13f1c49f2c0e2774aa1..a13dec4535c41d8812406495f752678459dd6fb1 100644 --- a/src/proto_012_Psithaca/lib_protocol/tezos-protocol-functor-012-Psithaca.opam +++ b/opam/tezos-protocol-functor-012-Psithaca.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-012-Psithaca" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "012_Psithaca" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_013_PtJakart/lib_protocol/tezos-protocol-functor-013-PtJakart.opam b/opam/tezos-protocol-functor-013-PtJakart.opam similarity index 65% rename from src/proto_013_PtJakart/lib_protocol/tezos-protocol-functor-013-PtJakart.opam rename to opam/tezos-protocol-functor-013-PtJakart.opam index bdc2bb2bdf32f83b6ff5ce81f4cad04472f8798f..a546a0fc13b134f6211aae55c4acfb089aa6cafb 100644 --- a/src/proto_013_PtJakart/lib_protocol/tezos-protocol-functor-013-PtJakart.opam +++ b/opam/tezos-protocol-functor-013-PtJakart.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-013-PtJakart" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "013_PtJakart" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_alpha/lib_protocol/tezos-protocol-functor-alpha.opam b/opam/tezos-protocol-functor-alpha.opam similarity index 65% rename from src/proto_alpha/lib_protocol/tezos-protocol-functor-alpha.opam rename to opam/tezos-protocol-functor-alpha.opam index b7f4dcf1439cd3572352a56abc7912a16f08436b..ed6617ad0fb8becad638640abac2d233df5a659f 100644 --- a/src/proto_alpha/lib_protocol/tezos-protocol-functor-alpha.opam +++ b/opam/tezos-protocol-functor-alpha.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-alpha" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "alpha" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_demo_counter/lib_protocol/tezos-protocol-functor-demo-counter.opam b/opam/tezos-protocol-functor-demo-counter.opam similarity index 53% rename from src/proto_demo_counter/lib_protocol/tezos-protocol-functor-demo-counter.opam rename to opam/tezos-protocol-functor-demo-counter.opam index c372ee481b3ad32b5e45b154bef32fab8a2deae5..79cdfbeabec181225f92cd285e9c150fe8ae367a 100644 --- a/src/proto_demo_counter/lib_protocol/tezos-protocol-functor-demo-counter.opam +++ b/opam/tezos-protocol-functor-demo-counter.opam @@ -1,24 +1,21 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-demo-counter" "tezos-protocol-compiler" ] build: [ - [ "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "demo_counter" ] - [ "dune" "build" "-p" name "-j" jobs ] -] -run-test: [ - [ "dune" "runtest" "-p" name "-j" jobs ] + ["rm" "-r" "vendors"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] synopsis: "Tezos/Protocol: demo_counter (economic-protocol definition parameterized by its environment implementation)" diff --git a/src/proto_demo_noops/lib_protocol/tezos-protocol-functor-demo-noops.opam b/opam/tezos-protocol-functor-demo-noops.opam similarity index 65% rename from src/proto_demo_noops/lib_protocol/tezos-protocol-functor-demo-noops.opam rename to opam/tezos-protocol-functor-demo-noops.opam index 37181af909a78e4daeb7c4cc75dbb49d47f6f68a..55b6b4c64f01ba5d7409bfe794726371bbea0a73 100644 --- a/src/proto_demo_noops/lib_protocol/tezos-protocol-functor-demo-noops.opam +++ b/opam/tezos-protocol-functor-demo-noops.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-demo-noops" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "demo_noops" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_genesis/lib_protocol/tezos-protocol-functor-genesis.opam b/opam/tezos-protocol-functor-genesis.opam similarity index 65% rename from src/proto_genesis/lib_protocol/tezos-protocol-functor-genesis.opam rename to opam/tezos-protocol-functor-genesis.opam index c8261ab9f0d6ceb7f3f4e874fa1e09342a17fbd0..3b0ed6864b8cf9b2b428894dd74d67982a13aec5 100644 --- a/src/proto_genesis/lib_protocol/tezos-protocol-functor-genesis.opam +++ b/opam/tezos-protocol-functor-genesis.opam @@ -1,23 +1,20 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" "tezos-protocol-genesis" "tezos-protocol-compiler" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "genesis" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/src/proto_genesis/lib_protocol/tezos-protocol-genesis.opam b/opam/tezos-protocol-genesis.opam similarity index 57% rename from src/proto_genesis/lib_protocol/tezos-protocol-genesis.opam rename to opam/tezos-protocol-genesis.opam index aa03090fe1bf546492e7c60db4e0e59993445a51..71fd90a1c7ef45bf357301c26efedb9508350ae7 100644 --- a/src/proto_genesis/lib_protocol/tezos-protocol-genesis.opam +++ b/opam/tezos-protocol-genesis.opam @@ -1,22 +1,18 @@ +# This file was automatically generated, do not edit. +# Edit file manifest/main.ml instead. opam-version: "2.0" maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] +authors: ["Tezos devteam"] homepage: "https://www.tezos.com/" bug-reports: "https://gitlab.com/tezos/tezos/issues" dev-repo: "git+https://gitlab.com/tezos/tezos.git" license: "MIT" depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" + "dune" { >= "2.9" & < "3.0" } + "tezos-protocol-environment" ] build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "genesis" - ] + ["rm" "-r" "vendors"] ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] diff --git a/scripts/snapshot_alpha.sh b/scripts/snapshot_alpha.sh index 7e7a2f85be23000617450808dc899c8f6618c84f..697fedf9cd03c24c311eafbb86aae3032222a7ce 100755 --- a/scripts/snapshot_alpha.sh +++ b/scripts/snapshot_alpha.sh @@ -201,11 +201,6 @@ do done -# fix content of dune files -sed -i.old -e s/_alpha/_${version}_${short_hash}/g \ - -e s/-alpha/-${version}-${short_hash}/g \ - $(find . -name dune) - mv $daemons .. cd .. rmdir tmp @@ -221,48 +216,11 @@ sed -i.old -e s/protocol_alpha/protocol_${version}_${short_hash}/ \ -e s/protocol-functor-alpha/protocol-functor-${version}-${short_hash}/ \ $(find . -type f) -sed -i.old -e s/-alpha/-${version}-${short_hash}/ \ - -e s/_alpha/_${version}_${short_hash}/ \ - $(find . -type f -name dune) - -# replace fist the template call with underscore version, -# then the other occurrences with dash version -sed -i.old -e 's/"alpha"/"'${version}_${short_hash}'"/' \ - -e 's/alpha/'${version}-${short_hash}'/' \ - $(find . -name \*.opam) - -for file in $(find . -name \*.opam) -do - mv "$file" $(echo "$file" | sed s/alpha/${version}-${short_hash}/g) -done - # add this protocol to the immutable list printf \\n$long_hash >> ../../lib_protocol_compiler/final_protocol_versions cd ../../.. -# rename .opam files -for file in $(find opam/ -name \*alpha\*.opam) -do - new_opam_file=$(echo "$file" | sed s/alpha/${version}-${short_hash}/g) - cp "$file" $new_opam_file - # fix content of dune and opam files - sed -i.old -e s/_alpha/_${version}_${short_hash}/g \ - -e s/-alpha/-${version}-${short_hash}/g \ - $new_opam_file -done - -# Patch dune-project file -cp dune-project dune-project.old -grep alpha dune-project.old | sed "s/-alpha/-${version}-${short_hash}/g" >> dune-project - -(cd src/proto_${version}_${short_hash}/lib_protocol/ && \ - dune exec \ - ../../lib_protocol_compiler/bin/replace.exe \ - ../../lib_protocol_compiler/dune_protocol.template.v1 \ - dune.inc \ - ../../lib_protocol_compiler/final_protocol_versions ${version}_${short_hash}) - # remove files generated by sed find . -name '*.old' -exec rm {} \; diff --git a/scripts/snapshot_alpha_and_link.sh b/scripts/snapshot_alpha_and_link.sh index 4171221ab6d88e110e43d740d6bebc1365df4099..6cfa0af8e4174bd815fa9e7c05a884bdfed6cdf5 100755 --- a/scripts/snapshot_alpha_and_link.sh +++ b/scripts/snapshot_alpha_and_link.sh @@ -38,11 +38,11 @@ if [ -z "$short_hash" ]; then exit 1 fi -echo "dune exec scripts/declare-new-protocol-unit-test/main.exe -- ${version_number} ${short_hash}" -dune exec scripts/declare-new-protocol-unit-test/main.exe -- ${version_number} ${short_hash} - echo "link_protocol.sh src/proto_${version_number}_${short_hash}" $script_dir/link_protocol.sh src/proto_${version_number}_${short_hash} +echo "dune exec scripts/declare-new-protocol-unit-test/main.exe -- ${version_number} ${short_hash}" +dune exec scripts/declare-new-protocol-unit-test/main.exe -- ${version_number} ${short_hash} + echo "Done. You can now commit everything." echo "Don't forget to: git add src/proto_${version_number}_${short_hash} docs/${version_number}" diff --git a/src/lib_protocol_compiler/bin/dune b/src/lib_protocol_compiler/bin/dune index 377ff3167787c25a226f165e32d1b3d297bf3cd8..3779d43dbfdfe2fbbea2b3bcece5cae3c2fa5cf8 100644 --- a/src/lib_protocol_compiler/bin/dune +++ b/src/lib_protocol_compiler/bin/dune @@ -47,21 +47,3 @@ -open Tezos_base_unix -open Tezos_stdlib_unix)) (modules Main_embedded_packer)) - -(executable - (name replace) - (instrumentation (backend bisect_ppx)) - (libraries - tezos-base - tezos-base.unix - tezos-stdlib-unix - re.str) - (flags (:standard - -open Tezos_base.TzPervasives - -open Tezos_stdlib_unix)) - (modules Replace)) - -(install - (package tezos-protocol-compiler) - (section libexec) - (files (replace.exe as replace))) diff --git a/src/lib_protocol_compiler/bin/replace.ml b/src/lib_protocol_compiler/bin/replace.ml deleted file mode 100644 index d7a9aa49617ed112339cb185eb5b237a61838c3e..0000000000000000000000000000000000000000 --- a/src/lib_protocol_compiler/bin/replace.ml +++ /dev/null @@ -1,159 +0,0 @@ -(*****************************************************************************) -(* *) -(* Open Source License *) -(* Copyright (c) 2019 Nomadic Labs, *) -(* *) -(* Permission is hereby granted, free of charge, to any person obtaining a *) -(* copy of this software and associated documentation files (the "Software"),*) -(* to deal in the Software without restriction, including without limitation *) -(* the rights to use, copy, modify, merge, publish, distribute, sublicense, *) -(* and/or sell copies of the Software, and to permit persons to whom the *) -(* Software is furnished to do so, subject to the following conditions: *) -(* *) -(* The above copyright notice and this permission notice shall be included *) -(* in all copies or substantial portions of the Software. *) -(* *) -(* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR*) -(* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *) -(* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *) -(* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER*) -(* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *) -(* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *) -(* DEALINGS IN THE SOFTWARE. *) -(* *) -(*****************************************************************************) - -module StringMap = Map.Make (String) -open Re - -let regexp = Str.regexp "%%[^%]*%%" - -let current_dir = Sys.getcwd () - -let guess_version () = - let prefix = "proto_" in - let rec loop dir = - let dirname = Filename.basename dir in - let x = String.length prefix in - let n = String.length dirname in - if n >= x && String.sub dirname 0 x = prefix then - String.sub dirname x (n - x) - else - let updir = Filename.dirname dir in - if updir = dir then ( - Format.eprintf - "Cannot guess protocol version in path!@.Looking for `%s*` in `%s`@." - prefix - current_dir ; - exit 1) ; - loop updir - in - loop (Sys.getcwd ()) - -let warning_message = - {| - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -|} - -let replace ~template ~destination vars = - let inch = open_in template in - let outch = open_out destination in - output_string outch warning_message ; - try - while true do - let line = input_line inch in - let line = - Str.global_substitute - regexp - (fun s -> - let matched = Str.matched_string s in - let var = String.sub matched 2 (String.length matched - 4) in - match StringMap.find var vars with - | Some value -> value - | None -> - prerr_endline ("Unknown variable: " ^ var) ; - exit 1) - line - in - output_string outch line ; - output_string outch "\n" - done - with End_of_file -> - flush outch ; - close_out outch ; - () - -let module_name (c : Protocol.component) = String.capitalize_ascii c.name - -let sources_name (c : Protocol.component) = - let name = String.uncapitalize_ascii c.name in - match c.interface with - | None -> Printf.sprintf "%s.ml" name - | Some _ -> Printf.sprintf "%s.mli %s.ml" name name - -let process ~template ~destination (protocol : Protocol.t) lib_version hash - check_hash = - let version = String.concat "-" (String.split_on_char '_' lib_version) in - let vars = - StringMap.empty - |> StringMap.add "VERSION" version - |> StringMap.add "LIB_VERSION" lib_version - |> StringMap.add - "ENV_VERSION" - (Protocol.module_name_of_env_version protocol.expected_env) - |> StringMap.add "HASH" (Protocol_hash.to_b58check hash) - |> StringMap.add - "COMPILE_OPTION" - (if check_hash then "" else "-no-hash-check") - |> StringMap.add - "MODULES" - (String.concat "\n " (List.map module_name protocol.components)) - |> StringMap.add - "SOURCES" - (String.concat "\n " (List.map sources_name protocol.components)) - in - replace ~template ~destination vars - -let read_proto destination final_protocol_file = - let source_dir = - if Filename.is_relative destination then - Filename.concat current_dir (Filename.dirname destination) - else Filename.dirname destination - in - Lwt_main.run - (let open Lwt_syntax in - let* final_protocol = Lwt_utils_unix.read_file final_protocol_file in - let final_protocol = - List.map Protocol_hash.of_b58check_exn - @@ String.split_on_char '\n' final_protocol - in - let+ r = Tezos_base_unix.Protocol_files.read_dir source_dir in - match r with - | Ok (None, proto) -> (Protocol.hash proto, proto, false) - | Ok (Some hash, proto) -> - (hash, proto, List.mem ~equal:Protocol_hash.equal hash final_protocol) - | Error err -> - Format.kasprintf - Stdlib.failwith - "Failed to read TEZOS_PROTOCOL in %s:@ %a" - source_dir - pp_print_trace - err) - -let main () = - let template = Sys.argv.(1) in - let destination = Sys.argv.(2) in - let final_protocol_file = Sys.argv.(3) in - let version = - try Sys.argv.(4) with Invalid_argument _ -> guess_version () - in - let hash, proto, check_hash = read_proto destination final_protocol_file in - process ~template ~destination proto version hash check_hash - -let () = main () diff --git a/src/lib_protocol_compiler/dune b/src/lib_protocol_compiler/dune index 0990d24a7e417a0f41f27bc84559789520c53848..e08545bd5b474e9121aa66664317b04a0ba24045 100644 --- a/src/lib_protocol_compiler/dune +++ b/src/lib_protocol_compiler/dune @@ -72,9 +72,4 @@ (install (package tezos-protocol-compiler) (section libexec) - (files - dune_protocol.v0 - dune_protocol.v1 - dune_protocol.template.v0 - dune_protocol.template.v1 - final_protocol_versions)) + (files final_protocol_versions)) diff --git a/src/lib_protocol_compiler/dune_protocol.template.v0 b/src/lib_protocol_compiler/dune_protocol.template.v0 deleted file mode 100644 index 13579fb7ee2c992aa1ab56a4ad7da20d7b1ae9e3..0000000000000000000000000000000000000000 --- a/src/lib_protocol_compiler/dune_protocol.template.v0 +++ /dev/null @@ -1,138 +0,0 @@ -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"%%VERSION%%\" end -include Tezos_protocol_environment.Make%%ENV_VERSION%%(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - %%SOURCES%% - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "%%LIB_VERSION%%"))))) - -(rule - (targets functor.ml) - (deps - %%SOURCES%% - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - %%SOURCES%%) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_%%LIB_VERSION%%.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"%%HASH%%\" -let name = Environment.Name.name -include Tezos_raw_protocol_%%LIB_VERSION%% -include Tezos_raw_protocol_%%LIB_VERSION%%.Main -"))) - -(library - (name tezos_protocol_environment_%%LIB_VERSION%%) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-%%VERSION%%.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_%%LIB_VERSION%%) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-%%VERSION%%.raw) - (libraries tezos_protocol_environment_%%LIB_VERSION%%) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_%%LIB_VERSION%%__Environment - -open Pervasives - -open Error_monad)) - (modules - %%MODULES%%)) - -(install - (section lib) - (package tezos-protocol-%%VERSION%%) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_%%LIB_VERSION%%) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-%%VERSION%%) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_%%LIB_VERSION%%) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_%%LIB_VERSION%%_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-%%VERSION%%) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-%%VERSION%%.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_%%LIB_VERSION%%) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-%%VERSION%%) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-%%VERSION%% - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - %%SOURCES%% - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} %%COMPILE_OPTION%% .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_%%LIB_VERSION%%.objs/native/tezos_protocol_%%LIB_VERSION%%.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-%%VERSION%%) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/lib_protocol_compiler/dune_protocol.template.v1 b/src/lib_protocol_compiler/dune_protocol.template.v1 deleted file mode 100644 index 13e0f9924fce073c5e8711ea293323d49a0c9d61..0000000000000000000000000000000000000000 --- a/src/lib_protocol_compiler/dune_protocol.template.v1 +++ /dev/null @@ -1,135 +0,0 @@ -; generated from src/lib_protocol_compiler/dune_protocol.template.v1 - -; This template is intended for protocols written after the Tezos -; project start using OCaml 4.12. -; -; template.v1 was introduced when we bumped the version of our OCaml -; dependency to 4.12. This change to a newer OCaml version introduced -; new warnings that need to be ignored in the protocols written before -; the update (see dune_protocol.template.v0). - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"%%VERSION%%\" end -include Tezos_protocol_environment.Make%%ENV_VERSION%%(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - %%SOURCES%% - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "%%LIB_VERSION%%"))))) - -(rule - (targets functor.ml) - (deps - %%SOURCES%% - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - %%SOURCES%%) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_%%LIB_VERSION%%.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"%%HASH%%\" -let name = Environment.Name.name -include Tezos_raw_protocol_%%LIB_VERSION%% -include Tezos_raw_protocol_%%LIB_VERSION%%.Main -"))) - -(library - (name tezos_protocol_environment_%%LIB_VERSION%%) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-%%VERSION%%.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_%%LIB_VERSION%%) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-%%VERSION%%.raw) - (libraries tezos_protocol_environment_%%LIB_VERSION%%) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-40..42-44-45-48 - -warn-error +a - -open Tezos_protocol_environment_%%LIB_VERSION%%__Environment - -open Pervasives - -open Error_monad)) - (modules - %%MODULES%%)) - -(install - (section lib) - (package tezos-protocol-%%VERSION%%) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_%%LIB_VERSION%%) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-%%VERSION%%) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_%%LIB_VERSION%%) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_%%LIB_VERSION%%_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-%%VERSION%%) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-%%VERSION%%.raw) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_%%LIB_VERSION%%) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-%%VERSION%%) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-%%VERSION%% - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-40..42-44-45-48 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - %%SOURCES%% - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} %%COMPILE_OPTION%% .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_%%LIB_VERSION%%.objs/native/tezos_protocol_%%LIB_VERSION%%.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-%%VERSION%%) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/lib_protocol_compiler/dune_protocol.v0 b/src/lib_protocol_compiler/dune_protocol.v0 deleted file mode 100644 index 50eb5a08ac5670f18dc702fb31e35a08488a50cd..0000000000000000000000000000000000000000 --- a/src/lib_protocol_compiler/dune_protocol.v0 +++ /dev/null @@ -1,17 +0,0 @@ -;; -*- mode: dune; -*- - -(include dune.inc) - -(rule - (targets "dune.inc.gen") - (deps TEZOS_PROTOCOL (glob_files *.ml) (glob_files *.mli)) - (action - (run - %{libexec:tezos-protocol-compiler:replace} - %{libexec:tezos-protocol-compiler:dune_protocol.template.v0} - "dune.inc.gen" - %{libexec:tezos-protocol-compiler:final_protocol_versions}))) - -(rule - (alias runtest_dune_template) - (action (diff dune.inc dune.inc.gen))) diff --git a/src/lib_protocol_compiler/dune_protocol.v1 b/src/lib_protocol_compiler/dune_protocol.v1 deleted file mode 100644 index c323cfff5706e94cc28c2d919bdcd3eec28471a8..0000000000000000000000000000000000000000 --- a/src/lib_protocol_compiler/dune_protocol.v1 +++ /dev/null @@ -1,17 +0,0 @@ -;; -*- mode: dune; -*- - -(include dune.inc) - -(rule - (targets "dune.inc.gen") - (deps TEZOS_PROTOCOL (glob_files *.ml) (glob_files *.mli)) - (action - (run - %{libexec:tezos-protocol-compiler:replace} - %{libexec:tezos-protocol-compiler:dune_protocol.template.v1} - "dune.inc.gen" - %{libexec:tezos-protocol-compiler:final_protocol_versions}))) - -(rule - (alias runtest_dune_template) - (action (diff dune.inc dune.inc.gen))) diff --git a/src/proto_000_Ps9mPmXa/lib_protocol/.ocamlformat b/src/proto_000_Ps9mPmXa/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_000_Ps9mPmXa/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_000_Ps9mPmXa/lib_protocol/dune b/src/proto_000_Ps9mPmXa/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_000_Ps9mPmXa/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_000_Ps9mPmXa/lib_protocol/dune b/src/proto_000_Ps9mPmXa/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..9eb3c90e31a245c53a21154f468ec2e78d828971 --- /dev/null +++ b/src/proto_000_Ps9mPmXa/lib_protocol/dune @@ -0,0 +1,136 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_000_Ps9mPmXa) + (public_name tezos-protocol-000-Ps9mPmXa.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"000-Ps9mPmXa\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_000_Ps9mPmXa) + (public_name tezos-protocol-000-Ps9mPmXa.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-000-Ps9mPmXa.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_000_Ps9mPmXa.Environment + -open Pervasives + -open Error_monad)) + (modules Data Services Main)) + +(library + (name tezos_protocol_000_Ps9mPmXa) + (public_name tezos-protocol-000-Ps9mPmXa) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-000-Ps9mPmXa.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-000-Ps9mPmXa) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps data.ml + services.ml + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_000_Ps9mPmXa.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_000_Ps9mPmXa\ninclude Tezos_raw_protocol_000_Ps9mPmXa.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps data.ml + services.ml + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_000_Ps9mPmXa.objs/native/tezos_protocol_000_Ps9mPmXa.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-000-Ps9mPmXa) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_000_Ps9mPmXa_functor) + (public_name tezos-protocol-functor-000-Ps9mPmXa) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-000-Ps9mPmXa.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps data.ml + services.ml + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_000_Ps9mPmXa) + (public_name tezos-embedded-protocol-000-Ps9mPmXa) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-000-Ps9mPmXa + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps data.ml + services.ml + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 000_Ps9mPmXa))))) diff --git a/src/proto_000_Ps9mPmXa/lib_protocol/dune-project b/src/proto_000_Ps9mPmXa/lib_protocol/dune-project deleted file mode 100644 index 5050d6ea601cd1fdb883cc090bd39d938e74d8a3..0000000000000000000000000000000000000000 --- a/src/proto_000_Ps9mPmXa/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-000-Ps9mPmXa) diff --git a/src/proto_000_Ps9mPmXa/lib_protocol/dune.inc b/src/proto_000_Ps9mPmXa/lib_protocol/dune.inc deleted file mode 100644 index 279398f180accb8a4cc270f983909b8e1533f49f..0000000000000000000000000000000000000000 --- a/src/proto_000_Ps9mPmXa/lib_protocol/dune.inc +++ /dev/null @@ -1,156 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"000-Ps9mPmXa\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - data.ml - services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "000_Ps9mPmXa"))))) - -(rule - (targets functor.ml) - (deps - data.ml - services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - data.ml - services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_000_Ps9mPmXa.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P\" -let name = Environment.Name.name -include Tezos_raw_protocol_000_Ps9mPmXa -include Tezos_raw_protocol_000_Ps9mPmXa.Main -"))) - -(library - (name tezos_protocol_environment_000_Ps9mPmXa) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-000-Ps9mPmXa.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_000_Ps9mPmXa) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-000-Ps9mPmXa.raw) - (libraries tezos_protocol_environment_000_Ps9mPmXa) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_000_Ps9mPmXa__Environment - -open Pervasives - -open Error_monad)) - (modules - Data - Services - Main)) - -(install - (section lib) - (package tezos-protocol-000-Ps9mPmXa) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_000_Ps9mPmXa) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-000-Ps9mPmXa) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_000_Ps9mPmXa) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_000_Ps9mPmXa_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-000-Ps9mPmXa) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-000-Ps9mPmXa.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_000_Ps9mPmXa) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-000-Ps9mPmXa) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-000-Ps9mPmXa - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - data.ml - services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_000_Ps9mPmXa.objs/native/tezos_protocol_000_Ps9mPmXa.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-000-Ps9mPmXa) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_001_PtCJ7pwo/lib_protocol/.ocamlformat b/src/proto_001_PtCJ7pwo/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_001_PtCJ7pwo/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_001_PtCJ7pwo/lib_protocol/dune b/src/proto_001_PtCJ7pwo/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_001_PtCJ7pwo/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_001_PtCJ7pwo/lib_protocol/dune b/src/proto_001_PtCJ7pwo/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..46ff0d81be288fcf3930c98ff28725cbca4b3d5d --- /dev/null +++ b/src/proto_001_PtCJ7pwo/lib_protocol/dune @@ -0,0 +1,464 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_001_PtCJ7pwo) + (public_name tezos-protocol-001-PtCJ7pwo.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"001-PtCJ7pwo\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_001_PtCJ7pwo) + (public_name tezos-protocol-001-PtCJ7pwo.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-001-PtCJ7pwo.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_001_PtCJ7pwo.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Qty_repr + Tez_repr + Period_repr + Time_repr + Constants_repr + Fitness_repr + Raw_level_repr + Voting_period_repr + Cycle_repr + Level_repr + Seed_repr + Gas_limit_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Raw_context + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Contract_storage + Bootstrap_storage + Fitness_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Contract_services + Delegate_services + Helpers_services + Alpha_services + Main)) + +(library + (name tezos_protocol_001_PtCJ7pwo) + (public_name tezos-protocol-001-PtCJ7pwo) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-001-PtCJ7pwo.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-001-PtCJ7pwo) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_001_PtCJ7pwo.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_001_PtCJ7pwo\ninclude Tezos_raw_protocol_001_PtCJ7pwo.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_001_PtCJ7pwo.objs/native/tezos_protocol_001_PtCJ7pwo.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-001-PtCJ7pwo) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_001_PtCJ7pwo_functor) + (public_name tezos-protocol-functor-001-PtCJ7pwo) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-001-PtCJ7pwo.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_001_PtCJ7pwo) + (public_name tezos-embedded-protocol-001-PtCJ7pwo) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-001-PtCJ7pwo + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 001_PtCJ7pwo))))) diff --git a/src/proto_001_PtCJ7pwo/lib_protocol/dune-project b/src/proto_001_PtCJ7pwo/lib_protocol/dune-project deleted file mode 100644 index 4e8b242f3234894dd6a4ab5532207299b50e9c0e..0000000000000000000000000000000000000000 --- a/src/proto_001_PtCJ7pwo/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-001-PtCJ7pwo) diff --git a/src/proto_001_PtCJ7pwo/lib_protocol/dune.inc b/src/proto_001_PtCJ7pwo/lib_protocol/dune.inc deleted file mode 100644 index 017441f7ea83e0f5a7ed505726b7a499c6aab361..0000000000000000000000000000000000000000 --- a/src/proto_001_PtCJ7pwo/lib_protocol/dune.inc +++ /dev/null @@ -1,476 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"001-PtCJ7pwo\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "001_PtCJ7pwo"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_001_PtCJ7pwo.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY\" -let name = Environment.Name.name -include Tezos_raw_protocol_001_PtCJ7pwo -include Tezos_raw_protocol_001_PtCJ7pwo.Main -"))) - -(library - (name tezos_protocol_environment_001_PtCJ7pwo) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-001-PtCJ7pwo.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_001_PtCJ7pwo) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-001-PtCJ7pwo.raw) - (libraries tezos_protocol_environment_001_PtCJ7pwo) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_001_PtCJ7pwo__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Qty_repr - Tez_repr - Period_repr - Time_repr - Constants_repr - Fitness_repr - Raw_level_repr - Voting_period_repr - Cycle_repr - Level_repr - Seed_repr - Gas_limit_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Raw_context - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Contract_storage - Bootstrap_storage - Fitness_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Contract_services - Delegate_services - Helpers_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-001-PtCJ7pwo) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_001_PtCJ7pwo) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-001-PtCJ7pwo) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_001_PtCJ7pwo) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_001_PtCJ7pwo_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-001-PtCJ7pwo) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-001-PtCJ7pwo.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_001_PtCJ7pwo) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-001-PtCJ7pwo) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-001-PtCJ7pwo - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_001_PtCJ7pwo.objs/native/tezos_protocol_001_PtCJ7pwo.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-001-PtCJ7pwo) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_001_PtCJ7pwo/lib_protocol/tezos-protocol-001-PtCJ7pwo.opam b/src/proto_001_PtCJ7pwo/lib_protocol/tezos-protocol-001-PtCJ7pwo.opam deleted file mode 100644 index 1a688f6c03e9d93f5dcfaa77802be5f54cf232ee..0000000000000000000000000000000000000000 --- a/src/proto_001_PtCJ7pwo/lib_protocol/tezos-protocol-001-PtCJ7pwo.opam +++ /dev/null @@ -1,27 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" - "alcotest-lwt" { with-test & >= "1.1.0" } - "tezos-stdlib-unix" { with-test } - "tezos-protocol-environment" { with-test } - "tezos-shell-services" { with-test } -] -build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "001_PtCJ7pwo" - ] - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} -] -synopsis: "Tezos/Protocol: 001_PtCJ7pwo (economic-protocol definition, functor version)" diff --git a/src/proto_002_PsYLVpVv/lib_protocol/.ocamlformat b/src/proto_002_PsYLVpVv/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_002_PsYLVpVv/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_002_PsYLVpVv/lib_protocol/dune b/src/proto_002_PsYLVpVv/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_002_PsYLVpVv/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_002_PsYLVpVv/lib_protocol/dune b/src/proto_002_PsYLVpVv/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..96bdb7b974d84efe5f259e243c1b77e55088e901 --- /dev/null +++ b/src/proto_002_PsYLVpVv/lib_protocol/dune @@ -0,0 +1,464 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_002_PsYLVpVv) + (public_name tezos-protocol-002-PsYLVpVv.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"002-PsYLVpVv\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_002_PsYLVpVv) + (public_name tezos-protocol-002-PsYLVpVv.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-002-PsYLVpVv.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_002_PsYLVpVv.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Qty_repr + Tez_repr + Period_repr + Time_repr + Constants_repr + Fitness_repr + Raw_level_repr + Voting_period_repr + Cycle_repr + Level_repr + Seed_repr + Gas_limit_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Raw_context + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Contract_storage + Bootstrap_storage + Fitness_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Contract_services + Delegate_services + Helpers_services + Alpha_services + Main)) + +(library + (name tezos_protocol_002_PsYLVpVv) + (public_name tezos-protocol-002-PsYLVpVv) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-002-PsYLVpVv.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-002-PsYLVpVv) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_002_PsYLVpVv.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsYLVpVvgbLhAhoqAkMFUo6gudkJ9weNXhUYCiLDzcUpFpkk8Wt\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_002_PsYLVpVv\ninclude Tezos_raw_protocol_002_PsYLVpVv.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_002_PsYLVpVv.objs/native/tezos_protocol_002_PsYLVpVv.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-002-PsYLVpVv) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_002_PsYLVpVv_functor) + (public_name tezos-protocol-functor-002-PsYLVpVv) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-002-PsYLVpVv.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_002_PsYLVpVv) + (public_name tezos-embedded-protocol-002-PsYLVpVv) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-002-PsYLVpVv + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 002_PsYLVpVv))))) diff --git a/src/proto_002_PsYLVpVv/lib_protocol/dune-project b/src/proto_002_PsYLVpVv/lib_protocol/dune-project deleted file mode 100644 index de536c9129a51c10f6c17ebf0fbbfeed5c02dbb4..0000000000000000000000000000000000000000 --- a/src/proto_002_PsYLVpVv/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-002-PsYLVpVv) diff --git a/src/proto_002_PsYLVpVv/lib_protocol/dune.inc b/src/proto_002_PsYLVpVv/lib_protocol/dune.inc deleted file mode 100644 index 43e1862001a35cde6886c84dc8b15bfcc6fe99de..0000000000000000000000000000000000000000 --- a/src/proto_002_PsYLVpVv/lib_protocol/dune.inc +++ /dev/null @@ -1,476 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"002-PsYLVpVv\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "002_PsYLVpVv"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_002_PsYLVpVv.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsYLVpVvgbLhAhoqAkMFUo6gudkJ9weNXhUYCiLDzcUpFpkk8Wt\" -let name = Environment.Name.name -include Tezos_raw_protocol_002_PsYLVpVv -include Tezos_raw_protocol_002_PsYLVpVv.Main -"))) - -(library - (name tezos_protocol_environment_002_PsYLVpVv) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-002-PsYLVpVv.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_002_PsYLVpVv) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-002-PsYLVpVv.raw) - (libraries tezos_protocol_environment_002_PsYLVpVv) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_002_PsYLVpVv__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Qty_repr - Tez_repr - Period_repr - Time_repr - Constants_repr - Fitness_repr - Raw_level_repr - Voting_period_repr - Cycle_repr - Level_repr - Seed_repr - Gas_limit_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Raw_context - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Contract_storage - Bootstrap_storage - Fitness_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Contract_services - Delegate_services - Helpers_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-002-PsYLVpVv) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_002_PsYLVpVv) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-002-PsYLVpVv) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_002_PsYLVpVv) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_002_PsYLVpVv_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-002-PsYLVpVv) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-002-PsYLVpVv.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_002_PsYLVpVv) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-002-PsYLVpVv) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-002-PsYLVpVv - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_002_PsYLVpVv.objs/native/tezos_protocol_002_PsYLVpVv.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-002-PsYLVpVv) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_002_PsYLVpVv/lib_protocol/tezos-protocol-002-PsYLVpVv.opam b/src/proto_002_PsYLVpVv/lib_protocol/tezos-protocol-002-PsYLVpVv.opam deleted file mode 100644 index 72fee2719ceef177e749b07482149ab40b322fe4..0000000000000000000000000000000000000000 --- a/src/proto_002_PsYLVpVv/lib_protocol/tezos-protocol-002-PsYLVpVv.opam +++ /dev/null @@ -1,27 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" - "alcotest-lwt" { with-test & >= "1.1.0" } - "tezos-stdlib-unix" { with-test } - "tezos-protocol-environment" { with-test } - "tezos-shell-services" { with-test } -] -build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "002_PsYLVpVv" - ] - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} -] -synopsis: "Tezos/Protocol: 002_PsYLVpVv (economic-protocol definition, functor version)" diff --git a/src/proto_003_PsddFKi3/lib_protocol/.ocamlformat b/src/proto_003_PsddFKi3/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_003_PsddFKi3/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_003_PsddFKi3/lib_protocol/dune b/src/proto_003_PsddFKi3/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_003_PsddFKi3/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_003_PsddFKi3/lib_protocol/dune b/src/proto_003_PsddFKi3/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..cfd31f37331da8325adad820abb28e0ca711c53e --- /dev/null +++ b/src/proto_003_PsddFKi3/lib_protocol/dune @@ -0,0 +1,469 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_003_PsddFKi3) + (public_name tezos-protocol-003-PsddFKi3.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"003-PsddFKi3\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_003_PsddFKi3) + (public_name tezos-protocol-003-PsddFKi3.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-003-PsddFKi3.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_003_PsddFKi3.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Qty_repr + Tez_repr + Period_repr + Time_repr + Constants_repr + Fitness_repr + Raw_level_repr + Voting_period_repr + Cycle_repr + Level_repr + Seed_repr + Gas_limit_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Raw_context + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Contract_storage + Bootstrap_storage + Fitness_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_003_PsddFKi3) + (public_name tezos-protocol-003-PsddFKi3) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-003-PsddFKi3.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-003-PsddFKi3) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_003_PsddFKi3.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsddFKi32cMJ2qPjf43Qv5GDWLDPZb3T3bF6fLKiF5HtvHNU7aP\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_003_PsddFKi3\ninclude Tezos_raw_protocol_003_PsddFKi3.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_003_PsddFKi3.objs/native/tezos_protocol_003_PsddFKi3.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-003-PsddFKi3) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_003_PsddFKi3_functor) + (public_name tezos-protocol-functor-003-PsddFKi3) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-003-PsddFKi3.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_003_PsddFKi3) + (public_name tezos-embedded-protocol-003-PsddFKi3) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-003-PsddFKi3 + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 003_PsddFKi3))))) diff --git a/src/proto_003_PsddFKi3/lib_protocol/dune-project b/src/proto_003_PsddFKi3/lib_protocol/dune-project deleted file mode 100644 index a8d1a825d598937b66d436053b3abbef68dc650b..0000000000000000000000000000000000000000 --- a/src/proto_003_PsddFKi3/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-003-PsddFKi3) diff --git a/src/proto_003_PsddFKi3/lib_protocol/dune.inc b/src/proto_003_PsddFKi3/lib_protocol/dune.inc deleted file mode 100644 index 38a5269b3f476d34adb182624419b0c1954a677c..0000000000000000000000000000000000000000 --- a/src/proto_003_PsddFKi3/lib_protocol/dune.inc +++ /dev/null @@ -1,481 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"003-PsddFKi3\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "003_PsddFKi3"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_003_PsddFKi3.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsddFKi32cMJ2qPjf43Qv5GDWLDPZb3T3bF6fLKiF5HtvHNU7aP\" -let name = Environment.Name.name -include Tezos_raw_protocol_003_PsddFKi3 -include Tezos_raw_protocol_003_PsddFKi3.Main -"))) - -(library - (name tezos_protocol_environment_003_PsddFKi3) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-003-PsddFKi3.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_003_PsddFKi3) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-003-PsddFKi3.raw) - (libraries tezos_protocol_environment_003_PsddFKi3) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_003_PsddFKi3__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Qty_repr - Tez_repr - Period_repr - Time_repr - Constants_repr - Fitness_repr - Raw_level_repr - Voting_period_repr - Cycle_repr - Level_repr - Seed_repr - Gas_limit_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Raw_context - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Contract_storage - Bootstrap_storage - Fitness_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-003-PsddFKi3) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_003_PsddFKi3) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-003-PsddFKi3) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_003_PsddFKi3) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_003_PsddFKi3_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-003-PsddFKi3) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-003-PsddFKi3.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_003_PsddFKi3) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-003-PsddFKi3) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-003-PsddFKi3 - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_003_PsddFKi3.objs/native/tezos_protocol_003_PsddFKi3.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-003-PsddFKi3) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_003_PsddFKi3/lib_protocol/tezos-protocol-003-PsddFKi3.opam b/src/proto_003_PsddFKi3/lib_protocol/tezos-protocol-003-PsddFKi3.opam deleted file mode 100644 index d425ba1b5cc308ac1f5c0ee0bcadd78ab1d786f1..0000000000000000000000000000000000000000 --- a/src/proto_003_PsddFKi3/lib_protocol/tezos-protocol-003-PsddFKi3.opam +++ /dev/null @@ -1,27 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" - "alcotest-lwt" { with-test & >= "1.1.0" } - "tezos-stdlib-unix" { with-test } - "tezos-protocol-environment" { with-test } - "tezos-shell-services" { with-test } -] -build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "003_PsddFKi3" - ] - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} -] -synopsis: "Tezos/Protocol: 003_PsddFKi3 (economic-protocol definition, functor version)" diff --git a/src/proto_004_Pt24m4xi/lib_protocol/.ocamlformat b/src/proto_004_Pt24m4xi/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_004_Pt24m4xi/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_004_Pt24m4xi/lib_protocol/dune b/src/proto_004_Pt24m4xi/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_004_Pt24m4xi/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_004_Pt24m4xi/lib_protocol/dune b/src/proto_004_Pt24m4xi/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..b7dc288badc0959a72ff4103e03aa27733cdbe97 --- /dev/null +++ b/src/proto_004_Pt24m4xi/lib_protocol/dune @@ -0,0 +1,469 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_004_Pt24m4xi) + (public_name tezos-protocol-004-Pt24m4xi.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"004-Pt24m4xi\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_004_Pt24m4xi) + (public_name tezos-protocol-004-Pt24m4xi.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-004-Pt24m4xi.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_004_Pt24m4xi.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Qty_repr + Tez_repr + Period_repr + Time_repr + Constants_repr + Fitness_repr + Raw_level_repr + Voting_period_repr + Cycle_repr + Level_repr + Seed_repr + Gas_limit_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Raw_context + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Contract_storage + Bootstrap_storage + Fitness_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_004_Pt24m4xi) + (public_name tezos-protocol-004-Pt24m4xi) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-004-Pt24m4xi.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-004-Pt24m4xi) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_004_Pt24m4xi.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"Pt24m4xiPbLDhVgVfABUjirbmda3yohdN82Sp9FeuAXJ4eV9otd\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_004_Pt24m4xi\ninclude Tezos_raw_protocol_004_Pt24m4xi.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_004_Pt24m4xi.objs/native/tezos_protocol_004_Pt24m4xi.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-004-Pt24m4xi) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_004_Pt24m4xi_functor) + (public_name tezos-protocol-functor-004-Pt24m4xi) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-004-Pt24m4xi.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_004_Pt24m4xi) + (public_name tezos-embedded-protocol-004-Pt24m4xi) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-004-Pt24m4xi + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 004_Pt24m4xi))))) diff --git a/src/proto_004_Pt24m4xi/lib_protocol/dune-project b/src/proto_004_Pt24m4xi/lib_protocol/dune-project deleted file mode 100644 index f45e15ef31600ee90e78b8d4e10fa7e3b02ca15a..0000000000000000000000000000000000000000 --- a/src/proto_004_Pt24m4xi/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-004-Pt24m4xi) diff --git a/src/proto_004_Pt24m4xi/lib_protocol/dune.inc b/src/proto_004_Pt24m4xi/lib_protocol/dune.inc deleted file mode 100644 index 3486c62c6fbb9ff4018a062f3caf98853dac0eff..0000000000000000000000000000000000000000 --- a/src/proto_004_Pt24m4xi/lib_protocol/dune.inc +++ /dev/null @@ -1,481 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"004-Pt24m4xi\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "004_Pt24m4xi"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_004_Pt24m4xi.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"Pt24m4xiPbLDhVgVfABUjirbmda3yohdN82Sp9FeuAXJ4eV9otd\" -let name = Environment.Name.name -include Tezos_raw_protocol_004_Pt24m4xi -include Tezos_raw_protocol_004_Pt24m4xi.Main -"))) - -(library - (name tezos_protocol_environment_004_Pt24m4xi) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-004-Pt24m4xi.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_004_Pt24m4xi) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-004-Pt24m4xi.raw) - (libraries tezos_protocol_environment_004_Pt24m4xi) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_004_Pt24m4xi__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Qty_repr - Tez_repr - Period_repr - Time_repr - Constants_repr - Fitness_repr - Raw_level_repr - Voting_period_repr - Cycle_repr - Level_repr - Seed_repr - Gas_limit_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Raw_context - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Contract_storage - Bootstrap_storage - Fitness_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-004-Pt24m4xi) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_004_Pt24m4xi) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-004-Pt24m4xi) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_004_Pt24m4xi) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_004_Pt24m4xi_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-004-Pt24m4xi) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-004-Pt24m4xi.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_004_Pt24m4xi) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-004-Pt24m4xi) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-004-Pt24m4xi - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_004_Pt24m4xi.objs/native/tezos_protocol_004_Pt24m4xi.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-004-Pt24m4xi) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_005_PsBABY5H/lib_protocol/.ocamlformat b/src/proto_005_PsBABY5H/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_005_PsBABY5H/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_005_PsBABY5H/lib_protocol/dune b/src/proto_005_PsBABY5H/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_005_PsBABY5H/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_005_PsBABY5H/lib_protocol/dune b/src/proto_005_PsBABY5H/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..7b9c9131c58466d5bda113444129f3c52a1e79ab --- /dev/null +++ b/src/proto_005_PsBABY5H/lib_protocol/dune @@ -0,0 +1,474 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_005_PsBABY5H) + (public_name tezos-protocol-005-PsBABY5H.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"005-PsBABY5H\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_005_PsBABY5H) + (public_name tezos-protocol-005-PsBABY5H.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-005-PsBABY5H.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_005_PsBABY5H.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Qty_repr + Tez_repr + Period_repr + Time_repr + Constants_repr + Fitness_repr + Raw_level_repr + Voting_period_repr + Cycle_repr + Level_repr + Seed_repr + Gas_limit_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Legacy_script_support_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Raw_context + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Contract_storage + Bootstrap_storage + Fitness_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_005_PsBABY5H) + (public_name tezos-protocol-005-PsBABY5H) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-005-PsBABY5H.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-005-PsBABY5H) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_005_PsBABY5H.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsBABY5HQTSkA4297zNHfsZNKtxULfL18y95qb3m53QJiXGmrbU\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_005_PsBABY5H\ninclude Tezos_raw_protocol_005_PsBABY5H.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_005_PsBABY5H.objs/native/tezos_protocol_005_PsBABY5H.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-005-PsBABY5H) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_005_PsBABY5H_functor) + (public_name tezos-protocol-functor-005-PsBABY5H) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-005-PsBABY5H.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_005_PsBABY5H) + (public_name tezos-embedded-protocol-005-PsBABY5H) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-005-PsBABY5H + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 005_PsBABY5H))))) diff --git a/src/proto_005_PsBABY5H/lib_protocol/dune-project b/src/proto_005_PsBABY5H/lib_protocol/dune-project deleted file mode 100644 index ebaeed2fdca667334e477aba494782a7f564354c..0000000000000000000000000000000000000000 --- a/src/proto_005_PsBABY5H/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-005-PsBABY5H) diff --git a/src/proto_005_PsBABY5H/lib_protocol/dune.inc b/src/proto_005_PsBABY5H/lib_protocol/dune.inc deleted file mode 100644 index 116170d5ba6d3b8a83fbd52c09630f52fe9300f3..0000000000000000000000000000000000000000 --- a/src/proto_005_PsBABY5H/lib_protocol/dune.inc +++ /dev/null @@ -1,486 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"005-PsBABY5H\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "005_PsBABY5H"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_005_PsBABY5H.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsBABY5HQTSkA4297zNHfsZNKtxULfL18y95qb3m53QJiXGmrbU\" -let name = Environment.Name.name -include Tezos_raw_protocol_005_PsBABY5H -include Tezos_raw_protocol_005_PsBABY5H.Main -"))) - -(library - (name tezos_protocol_environment_005_PsBABY5H) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-005-PsBABY5H.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_005_PsBABY5H) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-005-PsBABY5H.raw) - (libraries tezos_protocol_environment_005_PsBABY5H) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_005_PsBABY5H__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Qty_repr - Tez_repr - Period_repr - Time_repr - Constants_repr - Fitness_repr - Raw_level_repr - Voting_period_repr - Cycle_repr - Level_repr - Seed_repr - Gas_limit_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Legacy_script_support_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Raw_context - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Contract_storage - Bootstrap_storage - Fitness_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-005-PsBABY5H) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_005_PsBABY5H) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-005-PsBABY5H) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_005_PsBABY5H) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_005_PsBABY5H_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-005-PsBABY5H) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-005-PsBABY5H.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_005_PsBABY5H) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-005-PsBABY5H) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-005-PsBABY5H - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_005_PsBABY5H.objs/native/tezos_protocol_005_PsBABY5H.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-005-PsBABY5H) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_005_PsBabyM1/lib_protocol/.ocamlformat b/src/proto_005_PsBabyM1/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_005_PsBabyM1/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_005_PsBabyM1/lib_protocol/dune b/src/proto_005_PsBabyM1/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_005_PsBabyM1/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_005_PsBabyM1/lib_protocol/dune b/src/proto_005_PsBabyM1/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..e2232205a609a8347f3e13f88759c736803069b4 --- /dev/null +++ b/src/proto_005_PsBabyM1/lib_protocol/dune @@ -0,0 +1,474 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_005_PsBabyM1) + (public_name tezos-protocol-005-PsBabyM1.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"005-PsBabyM1\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_005_PsBabyM1) + (public_name tezos-protocol-005-PsBabyM1.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-005-PsBabyM1.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_005_PsBabyM1.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Qty_repr + Tez_repr + Period_repr + Time_repr + Constants_repr + Fitness_repr + Raw_level_repr + Voting_period_repr + Cycle_repr + Level_repr + Seed_repr + Gas_limit_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Legacy_script_support_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Raw_context + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Contract_storage + Bootstrap_storage + Fitness_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_005_PsBabyM1) + (public_name tezos-protocol-005-PsBabyM1) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-005-PsBabyM1.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-005-PsBabyM1) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_005_PsBabyM1.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_005_PsBabyM1\ninclude Tezos_raw_protocol_005_PsBabyM1.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_005_PsBabyM1.objs/native/tezos_protocol_005_PsBabyM1.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-005-PsBabyM1) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_005_PsBabyM1_functor) + (public_name tezos-protocol-functor-005-PsBabyM1) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-005-PsBabyM1.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_005_PsBabyM1) + (public_name tezos-embedded-protocol-005-PsBabyM1) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-005-PsBabyM1 + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 005_PsBabyM1))))) diff --git a/src/proto_005_PsBabyM1/lib_protocol/dune-project b/src/proto_005_PsBabyM1/lib_protocol/dune-project deleted file mode 100644 index a35f2154cfd9e7ada19aae6a3a316c72ec976606..0000000000000000000000000000000000000000 --- a/src/proto_005_PsBabyM1/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-005-PsBabyM1) diff --git a/src/proto_005_PsBabyM1/lib_protocol/dune.inc b/src/proto_005_PsBabyM1/lib_protocol/dune.inc deleted file mode 100644 index 2516d2e0442bf984fb3c9dff0868d6f63bb41e07..0000000000000000000000000000000000000000 --- a/src/proto_005_PsBabyM1/lib_protocol/dune.inc +++ /dev/null @@ -1,486 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"005-PsBabyM1\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "005_PsBabyM1"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_005_PsBabyM1.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS\" -let name = Environment.Name.name -include Tezos_raw_protocol_005_PsBabyM1 -include Tezos_raw_protocol_005_PsBabyM1.Main -"))) - -(library - (name tezos_protocol_environment_005_PsBabyM1) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-005-PsBabyM1.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_005_PsBabyM1) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-005-PsBabyM1.raw) - (libraries tezos_protocol_environment_005_PsBabyM1) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_005_PsBabyM1__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Qty_repr - Tez_repr - Period_repr - Time_repr - Constants_repr - Fitness_repr - Raw_level_repr - Voting_period_repr - Cycle_repr - Level_repr - Seed_repr - Gas_limit_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Legacy_script_support_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Raw_context - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Contract_storage - Bootstrap_storage - Fitness_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-005-PsBabyM1) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_005_PsBabyM1) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-005-PsBabyM1) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_005_PsBabyM1) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_005_PsBabyM1_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-005-PsBabyM1) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-005-PsBabyM1.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_005_PsBabyM1) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-005-PsBabyM1) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-005-PsBabyM1 - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_005_PsBabyM1.objs/native/tezos_protocol_005_PsBabyM1.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-005-PsBabyM1) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_006_PsCARTHA/lib_protocol/.ocamlformat b/src/proto_006_PsCARTHA/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_006_PsCARTHA/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_006_PsCARTHA/lib_protocol/dune b/src/proto_006_PsCARTHA/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_006_PsCARTHA/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_006_PsCARTHA/lib_protocol/dune b/src/proto_006_PsCARTHA/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..000dbc12be83965124004f2a8b8b29d49a82a583 --- /dev/null +++ b/src/proto_006_PsCARTHA/lib_protocol/dune @@ -0,0 +1,474 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_006_PsCARTHA) + (public_name tezos-protocol-006-PsCARTHA.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"006-PsCARTHA\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_006_PsCARTHA) + (public_name tezos-protocol-006-PsCARTHA.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-006-PsCARTHA.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_006_PsCARTHA.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Qty_repr + Tez_repr + Period_repr + Time_repr + Constants_repr + Fitness_repr + Raw_level_repr + Voting_period_repr + Cycle_repr + Level_repr + Seed_repr + Gas_limit_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Legacy_script_support_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Raw_context + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Contract_storage + Bootstrap_storage + Fitness_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_006_PsCARTHA) + (public_name tezos-protocol-006-PsCARTHA) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-006-PsCARTHA.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-006-PsCARTHA) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_006_PsCARTHA.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_006_PsCARTHA\ninclude Tezos_raw_protocol_006_PsCARTHA.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_006_PsCARTHA.objs/native/tezos_protocol_006_PsCARTHA.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-006-PsCARTHA) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_006_PsCARTHA_functor) + (public_name tezos-protocol-functor-006-PsCARTHA) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-006-PsCARTHA.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_006_PsCARTHA) + (public_name tezos-embedded-protocol-006-PsCARTHA) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-006-PsCARTHA + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 006_PsCARTHA))))) diff --git a/src/proto_006_PsCARTHA/lib_protocol/dune-project b/src/proto_006_PsCARTHA/lib_protocol/dune-project deleted file mode 100644 index eb2e4cfddac09157d427f196921be718121254d8..0000000000000000000000000000000000000000 --- a/src/proto_006_PsCARTHA/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-006-PsCARTHA) diff --git a/src/proto_006_PsCARTHA/lib_protocol/dune.inc b/src/proto_006_PsCARTHA/lib_protocol/dune.inc deleted file mode 100644 index 75103d57741787e2f1cf06e82237bb8855ca180b..0000000000000000000000000000000000000000 --- a/src/proto_006_PsCARTHA/lib_protocol/dune.inc +++ /dev/null @@ -1,486 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"006-PsCARTHA\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "006_PsCARTHA"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_006_PsCARTHA.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb\" -let name = Environment.Name.name -include Tezos_raw_protocol_006_PsCARTHA -include Tezos_raw_protocol_006_PsCARTHA.Main -"))) - -(library - (name tezos_protocol_environment_006_PsCARTHA) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-006-PsCARTHA.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_006_PsCARTHA) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-006-PsCARTHA.raw) - (libraries tezos_protocol_environment_006_PsCARTHA) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_006_PsCARTHA__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Qty_repr - Tez_repr - Period_repr - Time_repr - Constants_repr - Fitness_repr - Raw_level_repr - Voting_period_repr - Cycle_repr - Level_repr - Seed_repr - Gas_limit_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Legacy_script_support_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Raw_context - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Contract_storage - Bootstrap_storage - Fitness_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-006-PsCARTHA) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_006_PsCARTHA) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-006-PsCARTHA) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_006_PsCARTHA) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_006_PsCARTHA_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-006-PsCARTHA) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-006-PsCARTHA.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_006_PsCARTHA) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-006-PsCARTHA) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-006-PsCARTHA - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_006_PsCARTHA.objs/native/tezos_protocol_006_PsCARTHA.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-006-PsCARTHA) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_007_PsDELPH1/lib_protocol/.ocamlformat b/src/proto_007_PsDELPH1/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_007_PsDELPH1/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_007_PsDELPH1/lib_protocol/dune b/src/proto_007_PsDELPH1/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_007_PsDELPH1/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_007_PsDELPH1/lib_protocol/dune b/src/proto_007_PsDELPH1/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..cfee261355328dc0ad0ad85425b4ed63f9cf30a1 --- /dev/null +++ b/src/proto_007_PsDELPH1/lib_protocol/dune @@ -0,0 +1,484 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_007_PsDELPH1) + (public_name tezos-protocol-007-PsDELPH1.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"007-PsDELPH1\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_007_PsDELPH1) + (public_name tezos-protocol-007-PsDELPH1.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-007-PsDELPH1.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_007_PsDELPH1.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Qty_repr + Tez_repr + Period_repr + Time_repr + Fixed_point_repr + Gas_limit_repr + Constants_repr + Fitness_repr + Raw_level_repr + Voting_period_repr + Cycle_repr + Level_repr + Seed_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Legacy_script_support_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Contract_storage + Bootstrap_storage + Fitness_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_007_PsDELPH1) + (public_name tezos-protocol-007-PsDELPH1) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-007-PsDELPH1.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-007-PsDELPH1) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_007_PsDELPH1.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsDELPH1Kxsxt8f9eWbxQeRxkjfbxoqM52jvs5Y5fBxWWh4ifpo\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_007_PsDELPH1\ninclude Tezos_raw_protocol_007_PsDELPH1.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_007_PsDELPH1.objs/native/tezos_protocol_007_PsDELPH1.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-007-PsDELPH1) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_007_PsDELPH1_functor) + (public_name tezos-protocol-functor-007-PsDELPH1) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-007-PsDELPH1.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_007_PsDELPH1) + (public_name tezos-embedded-protocol-007-PsDELPH1) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-007-PsDELPH1 + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + qty_repr.ml + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + voting_period_repr.ml voting_period_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + legacy_script_support_repr.ml legacy_script_support_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 007_PsDELPH1))))) diff --git a/src/proto_007_PsDELPH1/lib_protocol/dune-project b/src/proto_007_PsDELPH1/lib_protocol/dune-project deleted file mode 100644 index e8395cfac8d35381df00f4ed5ab7fbd638200620..0000000000000000000000000000000000000000 --- a/src/proto_007_PsDELPH1/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-007-PsDELPH1) diff --git a/src/proto_007_PsDELPH1/lib_protocol/dune.inc b/src/proto_007_PsDELPH1/lib_protocol/dune.inc deleted file mode 100644 index 0997ac7e80d1a40e90f008457802e4b9f6b71b50..0000000000000000000000000000000000000000 --- a/src/proto_007_PsDELPH1/lib_protocol/dune.inc +++ /dev/null @@ -1,496 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"007-PsDELPH1\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "007_PsDELPH1"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_007_PsDELPH1.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsDELPH1Kxsxt8f9eWbxQeRxkjfbxoqM52jvs5Y5fBxWWh4ifpo\" -let name = Environment.Name.name -include Tezos_raw_protocol_007_PsDELPH1 -include Tezos_raw_protocol_007_PsDELPH1.Main -"))) - -(library - (name tezos_protocol_environment_007_PsDELPH1) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-007-PsDELPH1.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_007_PsDELPH1) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-007-PsDELPH1.raw) - (libraries tezos_protocol_environment_007_PsDELPH1) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_007_PsDELPH1__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Qty_repr - Tez_repr - Period_repr - Time_repr - Fixed_point_repr - Gas_limit_repr - Constants_repr - Fitness_repr - Raw_level_repr - Voting_period_repr - Cycle_repr - Level_repr - Seed_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Legacy_script_support_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Contract_storage - Bootstrap_storage - Fitness_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-007-PsDELPH1) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_007_PsDELPH1) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-007-PsDELPH1) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_007_PsDELPH1) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_007_PsDELPH1_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-007-PsDELPH1) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-007-PsDELPH1.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_007_PsDELPH1) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-007-PsDELPH1) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-007-PsDELPH1 - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - qty_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - voting_period_repr.mli voting_period_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - legacy_script_support_repr.mli legacy_script_support_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_007_PsDELPH1.objs/native/tezos_protocol_007_PsDELPH1.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-007-PsDELPH1) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_008_PtEdo2Zk/lib_protocol/.ocamlformat b/src/proto_008_PtEdo2Zk/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdo2Zk/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_008_PtEdo2Zk/lib_protocol/dune b/src/proto_008_PtEdo2Zk/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdo2Zk/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_008_PtEdo2Zk/lib_protocol/dune b/src/proto_008_PtEdo2Zk/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..223f9c00e284135bb2ee1dabc1bdbc706e9e1738 --- /dev/null +++ b/src/proto_008_PtEdo2Zk/lib_protocol/dune @@ -0,0 +1,509 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_008_PtEdo2Zk) + (public_name tezos-protocol-008-PtEdo2Zk.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"008-PtEdo2Zk\" end\ninclude Tezos_protocol_environment.MakeV1(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_008_PtEdo2Zk) + (public_name tezos-protocol-008-PtEdo2Zk.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-008-PtEdo2Zk.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_008_PtEdo2Zk.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Tez_repr + Period_repr + Time_repr + Fixed_point_repr + Gas_limit_repr + Constants_repr + Fitness_repr + Raw_level_repr + Cycle_repr + Level_repr + Seed_repr + Voting_period_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Sapling_repr + Lazy_storage_kind + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Sapling_storage + Lazy_storage_diff + Contract_storage + Bootstrap_storage + Fitness_storage + Voting_period_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Sapling_validator + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Sapling_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_008_PtEdo2Zk) + (public_name tezos-protocol-008-PtEdo2Zk) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-008-PtEdo2Zk.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-008-PtEdo2Zk) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_008_PtEdo2Zk.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtEdo2ZkT9oKpimTah6x2embF25oss54njMuPzkJTEi5RqfdZFA\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_008_PtEdo2Zk\ninclude Tezos_raw_protocol_008_PtEdo2Zk.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_008_PtEdo2Zk.objs/native/tezos_protocol_008_PtEdo2Zk.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-008-PtEdo2Zk) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_008_PtEdo2Zk_functor) + (public_name tezos-protocol-functor-008-PtEdo2Zk) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-008-PtEdo2Zk.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_008_PtEdo2Zk) + (public_name tezos-embedded-protocol-008-PtEdo2Zk) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-008-PtEdo2Zk + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 008_PtEdo2Zk))))) diff --git a/src/proto_008_PtEdo2Zk/lib_protocol/dune-project b/src/proto_008_PtEdo2Zk/lib_protocol/dune-project deleted file mode 100644 index ff15843009355f1d70ae9152b7852c7ddbb0abdf..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdo2Zk/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-008-PtEdo2Zk) diff --git a/src/proto_008_PtEdo2Zk/lib_protocol/dune.inc b/src/proto_008_PtEdo2Zk/lib_protocol/dune.inc deleted file mode 100644 index f21b29668839d274a2cbe72a929e7a09165adbbb..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdo2Zk/lib_protocol/dune.inc +++ /dev/null @@ -1,521 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"008-PtEdo2Zk\" end -include Tezos_protocol_environment.MakeV1(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "008_PtEdo2Zk"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_008_PtEdo2Zk.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtEdo2ZkT9oKpimTah6x2embF25oss54njMuPzkJTEi5RqfdZFA\" -let name = Environment.Name.name -include Tezos_raw_protocol_008_PtEdo2Zk -include Tezos_raw_protocol_008_PtEdo2Zk.Main -"))) - -(library - (name tezos_protocol_environment_008_PtEdo2Zk) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-008-PtEdo2Zk.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_008_PtEdo2Zk) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-008-PtEdo2Zk.raw) - (libraries tezos_protocol_environment_008_PtEdo2Zk) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_008_PtEdo2Zk__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Tez_repr - Period_repr - Time_repr - Fixed_point_repr - Gas_limit_repr - Constants_repr - Fitness_repr - Raw_level_repr - Cycle_repr - Level_repr - Seed_repr - Voting_period_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Sapling_repr - Lazy_storage_kind - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Sapling_storage - Lazy_storage_diff - Contract_storage - Bootstrap_storage - Fitness_storage - Voting_period_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Sapling_validator - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Sapling_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-008-PtEdo2Zk) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_008_PtEdo2Zk) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-008-PtEdo2Zk) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_008_PtEdo2Zk) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_008_PtEdo2Zk_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-008-PtEdo2Zk) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-008-PtEdo2Zk.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_008_PtEdo2Zk) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-008-PtEdo2Zk) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-008-PtEdo2Zk - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_008_PtEdo2Zk.objs/native/tezos_protocol_008_PtEdo2Zk.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-008-PtEdo2Zk) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_008_PtEdo2Zk/lib_protocol/tezos-protocol-008-PtEdo2Zk.opam b/src/proto_008_PtEdo2Zk/lib_protocol/tezos-protocol-008-PtEdo2Zk.opam deleted file mode 100644 index d09f624f022ad8a9828cbc1eb063a64ba7ddc3c8..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdo2Zk/lib_protocol/tezos-protocol-008-PtEdo2Zk.opam +++ /dev/null @@ -1,24 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-base" - "tezos-protocol-compiler" -] -build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "008_PtEdo2Zk" - ] - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} -] -synopsis: "Tezos/Protocol: economic-protocol definition" diff --git a/src/proto_008_PtEdoTez/lib_protocol/.ocamlformat b/src/proto_008_PtEdoTez/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdoTez/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_008_PtEdoTez/lib_protocol/dune b/src/proto_008_PtEdoTez/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdoTez/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_008_PtEdoTez/lib_protocol/dune b/src/proto_008_PtEdoTez/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..6cb6796af1604314ab266310f90164950b6df9d7 --- /dev/null +++ b/src/proto_008_PtEdoTez/lib_protocol/dune @@ -0,0 +1,509 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_008_PtEdoTez) + (public_name tezos-protocol-008-PtEdoTez.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"008-PtEdoTez\" end\ninclude Tezos_protocol_environment.MakeV1(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_008_PtEdoTez) + (public_name tezos-protocol-008-PtEdoTez.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-008-PtEdoTez.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_008_PtEdoTez.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Tez_repr + Period_repr + Time_repr + Fixed_point_repr + Gas_limit_repr + Constants_repr + Fitness_repr + Raw_level_repr + Cycle_repr + Level_repr + Seed_repr + Voting_period_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Sapling_repr + Lazy_storage_kind + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Sapling_storage + Lazy_storage_diff + Contract_storage + Bootstrap_storage + Fitness_storage + Voting_period_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Sapling_validator + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Sapling_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_008_PtEdoTez) + (public_name tezos-protocol-008-PtEdoTez) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-008-PtEdoTez.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-008-PtEdoTez) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_008_PtEdoTez.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_008_PtEdoTez\ninclude Tezos_raw_protocol_008_PtEdoTez.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_008_PtEdoTez.objs/native/tezos_protocol_008_PtEdoTez.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-008-PtEdoTez) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_008_PtEdoTez_functor) + (public_name tezos-protocol-functor-008-PtEdoTez) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-008-PtEdoTez.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_008_PtEdoTez) + (public_name tezos-embedded-protocol-008-PtEdoTez) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-008-PtEdoTez + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml + nonce_hash.ml + script_expr_hash.ml + contract_hash.ml + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml + fitness_repr.ml + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml + services_registration.ml + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 008_PtEdoTez))))) diff --git a/src/proto_008_PtEdoTez/lib_protocol/dune-project b/src/proto_008_PtEdoTez/lib_protocol/dune-project deleted file mode 100644 index 6e7442c7ef5ee0c195d5bafea7524874a79b0836..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdoTez/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-008-PtEdoTez) diff --git a/src/proto_008_PtEdoTez/lib_protocol/dune.inc b/src/proto_008_PtEdoTez/lib_protocol/dune.inc deleted file mode 100644 index 736d903e8e2765626023fd6c78662a0f1a3de11f..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdoTez/lib_protocol/dune.inc +++ /dev/null @@ -1,521 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"008-PtEdoTez\" end -include Tezos_protocol_environment.MakeV1(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "008_PtEdoTez"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_008_PtEdoTez.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq\" -let name = Environment.Name.name -include Tezos_raw_protocol_008_PtEdoTez -include Tezos_raw_protocol_008_PtEdoTez.Main -"))) - -(library - (name tezos_protocol_environment_008_PtEdoTez) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-008-PtEdoTez.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_008_PtEdoTez) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-008-PtEdoTez.raw) - (libraries tezos_protocol_environment_008_PtEdoTez) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_008_PtEdoTez__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Tez_repr - Period_repr - Time_repr - Fixed_point_repr - Gas_limit_repr - Constants_repr - Fitness_repr - Raw_level_repr - Cycle_repr - Level_repr - Seed_repr - Voting_period_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Sapling_repr - Lazy_storage_kind - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Sapling_storage - Lazy_storage_diff - Contract_storage - Bootstrap_storage - Fitness_storage - Voting_period_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Sapling_validator - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Sapling_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-008-PtEdoTez) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_008_PtEdoTez) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-008-PtEdoTez) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_008_PtEdoTez) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_008_PtEdoTez_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-008-PtEdoTez) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-008-PtEdoTez.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_008_PtEdoTez) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-008-PtEdoTez) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-008-PtEdoTez - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.ml - nonce_hash.ml - script_expr_hash.ml - contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.ml - fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.ml - services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_008_PtEdoTez.objs/native/tezos_protocol_008_PtEdoTez.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-008-PtEdoTez) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_008_PtEdoTez/lib_protocol/tezos-protocol-008-PtEdoTez.opam b/src/proto_008_PtEdoTez/lib_protocol/tezos-protocol-008-PtEdoTez.opam deleted file mode 100644 index c51358cf204af6ad2f3876531a3cc5c7f76d8775..0000000000000000000000000000000000000000 --- a/src/proto_008_PtEdoTez/lib_protocol/tezos-protocol-008-PtEdoTez.opam +++ /dev/null @@ -1,22 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" -] -build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v0" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "008_PtEdoTez" - ] - ["dune" "build" "-p" name "-j" jobs] -] -synopsis: "Tezos/Protocol: economic-protocol definition" diff --git a/src/proto_009_PsFLoren/lib_protocol/.ocamlformat b/src/proto_009_PsFLoren/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_009_PsFLoren/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_009_PsFLoren/lib_protocol/dune b/src/proto_009_PsFLoren/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_009_PsFLoren/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_009_PsFLoren/lib_protocol/dune b/src/proto_009_PsFLoren/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..19204c59a756a9192c16ab6412f0392a1a2c6c42 --- /dev/null +++ b/src/proto_009_PsFLoren/lib_protocol/dune @@ -0,0 +1,524 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_009_PsFLoren) + (public_name tezos-protocol-009-PsFLoren.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"009-PsFLoren\" end\ninclude Tezos_protocol_environment.MakeV2(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_009_PsFLoren) + (public_name tezos-protocol-009-PsFLoren.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-009-PsFLoren.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_009_PsFLoren.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Tez_repr + Period_repr + Time_repr + Fixed_point_repr + Saturation_repr + Gas_limit_repr + Constants_repr + Fitness_repr + Raw_level_repr + Cycle_repr + Level_repr + Seed_repr + Voting_period_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Sapling_repr + Lazy_storage_kind + Receipt_repr + Raw_context_intf + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Sapling_storage + Lazy_storage_diff + Contract_storage + Bootstrap_storage + Fitness_storage + Voting_period_storage + Vote_storage + Commitment_storage + Init_storage + Fees_storage + Sapling_validator + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Sapling_services + Contract_services + Delegate_services + Helpers_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_009_PsFLoren) + (public_name tezos-protocol-009-PsFLoren) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-009-PsFLoren.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-009-PsFLoren) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml init_storage.mli + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_009_PsFLoren.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsFLorenaUUuikDWvMDr6fGBRG8kt3e3D3fHoXK1j1BFRxeSH4i\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_009_PsFLoren\ninclude Tezos_raw_protocol_009_PsFLoren.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml init_storage.mli + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_009_PsFLoren.objs/native/tezos_protocol_009_PsFLoren.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-009-PsFLoren) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_009_PsFLoren_functor) + (public_name tezos-protocol-functor-009-PsFLoren) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-009-PsFLoren.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml init_storage.mli + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_009_PsFLoren) + (public_name tezos-embedded-protocol-009-PsFLoren) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-009-PsFLoren + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + init_storage.ml init_storage.mli + fees_storage.ml fees_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + helpers_services.ml helpers_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 009_PsFLoren))))) diff --git a/src/proto_009_PsFLoren/lib_protocol/dune-project b/src/proto_009_PsFLoren/lib_protocol/dune-project deleted file mode 100644 index 3643267f6cb1eacb87a3698363ad1eb4c8fee0c0..0000000000000000000000000000000000000000 --- a/src/proto_009_PsFLoren/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-009-PsFLoren) diff --git a/src/proto_009_PsFLoren/lib_protocol/dune.inc b/src/proto_009_PsFLoren/lib_protocol/dune.inc deleted file mode 100644 index 289c463f34d29bd34b596446aa0b360ab2b5f75a..0000000000000000000000000000000000000000 --- a/src/proto_009_PsFLoren/lib_protocol/dune.inc +++ /dev/null @@ -1,536 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"009-PsFLoren\" end -include Tezos_protocol_environment.MakeV2(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.mli init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "009_PsFLoren"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.mli init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.mli init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_009_PsFLoren.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PsFLorenaUUuikDWvMDr6fGBRG8kt3e3D3fHoXK1j1BFRxeSH4i\" -let name = Environment.Name.name -include Tezos_raw_protocol_009_PsFLoren -include Tezos_raw_protocol_009_PsFLoren.Main -"))) - -(library - (name tezos_protocol_environment_009_PsFLoren) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-009-PsFLoren.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_009_PsFLoren) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-009-PsFLoren.raw) - (libraries tezos_protocol_environment_009_PsFLoren) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_009_PsFLoren__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Tez_repr - Period_repr - Time_repr - Fixed_point_repr - Saturation_repr - Gas_limit_repr - Constants_repr - Fitness_repr - Raw_level_repr - Cycle_repr - Level_repr - Seed_repr - Voting_period_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Sapling_repr - Lazy_storage_kind - Receipt_repr - Raw_context_intf - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Sapling_storage - Lazy_storage_diff - Contract_storage - Bootstrap_storage - Fitness_storage - Voting_period_storage - Vote_storage - Commitment_storage - Init_storage - Fees_storage - Sapling_validator - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Sapling_services - Contract_services - Delegate_services - Helpers_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-009-PsFLoren) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_009_PsFLoren) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-009-PsFLoren) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_009_PsFLoren) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_009_PsFLoren_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-009-PsFLoren) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-009-PsFLoren.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_009_PsFLoren) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-009-PsFLoren) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-009-PsFLoren - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - init_storage.mli init_storage.ml - fees_storage.mli fees_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - helpers_services.mli helpers_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_009_PsFLoren.objs/native/tezos_protocol_009_PsFLoren.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-009-PsFLoren) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_010_PtGRANAD/lib_protocol/.ocamlformat b/src/proto_010_PtGRANAD/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_010_PtGRANAD/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_010_PtGRANAD/lib_protocol/dune b/src/proto_010_PtGRANAD/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_010_PtGRANAD/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_010_PtGRANAD/lib_protocol/dune b/src/proto_010_PtGRANAD/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..b5c8dc85f343f03c0b6ccdea21f28e823c1956c8 --- /dev/null +++ b/src/proto_010_PtGRANAD/lib_protocol/dune @@ -0,0 +1,549 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_010_PtGRANAD) + (public_name tezos-protocol-010-PtGRANAD.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"010-PtGRANAD\" end\ninclude Tezos_protocol_environment.MakeV2(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_010_PtGRANAD) + (public_name tezos-protocol-010-PtGRANAD.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-010-PtGRANAD.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_010_PtGRANAD.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Tez_repr + Period_repr + Time_repr + Fixed_point_repr + Saturation_repr + Gas_limit_repr + Constants_repr + Fitness_repr + Raw_level_repr + Cycle_repr + Level_repr + Seed_repr + Voting_period_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Sapling_repr + Lazy_storage_kind + Receipt_repr + Migration_repr + Raw_context_intf + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Sapling_storage + Lazy_storage_diff + Contract_storage + Bootstrap_storage + Fitness_storage + Voting_period_storage + Vote_storage + Commitment_storage + Fees_storage + Liquidity_baking_repr + Liquidity_baking_cpmm + Liquidity_baking_lqt + Liquidity_baking_migration + Init_storage + Sapling_validator + Alpha_context + Script_typed_ir + Script_tc_errors + Michelson_v1_gas + Script_ir_annot + Script_ir_translator + Script_tc_errors_registration + Script_interpreter_defs + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Sapling_services + Contract_services + Delegate_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_010_PtGRANAD) + (public_name tezos-protocol-010-PtGRANAD) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-010-PtGRANAD.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-010-PtGRANAD) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + fees_storage.ml fees_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_010_PtGRANAD.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_010_PtGRANAD\ninclude Tezos_raw_protocol_010_PtGRANAD.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + fees_storage.ml fees_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_010_PtGRANAD.objs/native/tezos_protocol_010_PtGRANAD.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-010-PtGRANAD) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_010_PtGRANAD_functor) + (public_name tezos-protocol-functor-010-PtGRANAD) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-010-PtGRANAD.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + fees_storage.ml fees_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_010_PtGRANAD) + (public_name tezos-embedded-protocol-010-PtGRANAD) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-010-PtGRANAD + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + fees_storage.ml fees_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + alpha_context.ml alpha_context.mli + script_typed_ir.ml + script_tc_errors.ml + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_ir_translator.ml script_ir_translator.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 010_PtGRANAD))))) diff --git a/src/proto_010_PtGRANAD/lib_protocol/dune-project b/src/proto_010_PtGRANAD/lib_protocol/dune-project deleted file mode 100644 index ac65073c1e31b0cd7ffa453bce396bc8a0245b4b..0000000000000000000000000000000000000000 --- a/src/proto_010_PtGRANAD/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-010-PtGRANAD) diff --git a/src/proto_010_PtGRANAD/lib_protocol/dune.inc b/src/proto_010_PtGRANAD/lib_protocol/dune.inc deleted file mode 100644 index 4db2f5507a18cd19bb14495c539aa9e22560f8f7..0000000000000000000000000000000000000000 --- a/src/proto_010_PtGRANAD/lib_protocol/dune.inc +++ /dev/null @@ -1,561 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"010-PtGRANAD\" end -include Tezos_protocol_environment.MakeV2(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - fees_storage.mli fees_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "010_PtGRANAD"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - fees_storage.mli fees_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - fees_storage.mli fees_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_010_PtGRANAD.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV\" -let name = Environment.Name.name -include Tezos_raw_protocol_010_PtGRANAD -include Tezos_raw_protocol_010_PtGRANAD.Main -"))) - -(library - (name tezos_protocol_environment_010_PtGRANAD) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-010-PtGRANAD.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_010_PtGRANAD) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-010-PtGRANAD.raw) - (libraries tezos_protocol_environment_010_PtGRANAD) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_010_PtGRANAD__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Tez_repr - Period_repr - Time_repr - Fixed_point_repr - Saturation_repr - Gas_limit_repr - Constants_repr - Fitness_repr - Raw_level_repr - Cycle_repr - Level_repr - Seed_repr - Voting_period_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Sapling_repr - Lazy_storage_kind - Receipt_repr - Migration_repr - Raw_context_intf - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Sapling_storage - Lazy_storage_diff - Contract_storage - Bootstrap_storage - Fitness_storage - Voting_period_storage - Vote_storage - Commitment_storage - Fees_storage - Liquidity_baking_repr - Liquidity_baking_cpmm - Liquidity_baking_lqt - Liquidity_baking_migration - Init_storage - Sapling_validator - Alpha_context - Script_typed_ir - Script_tc_errors - Michelson_v1_gas - Script_ir_annot - Script_ir_translator - Script_tc_errors_registration - Script_interpreter_defs - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Sapling_services - Contract_services - Delegate_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-010-PtGRANAD) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_010_PtGRANAD) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-010-PtGRANAD) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_010_PtGRANAD) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_010_PtGRANAD_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-010-PtGRANAD) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-010-PtGRANAD.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_010_PtGRANAD) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-010-PtGRANAD) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-010-PtGRANAD - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - fees_storage.mli fees_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - alpha_context.mli alpha_context.ml - script_typed_ir.ml - script_tc_errors.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_ir_translator.mli script_ir_translator.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_010_PtGRANAD.objs/native/tezos_protocol_010_PtGRANAD.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-010-PtGRANAD) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_011_PtHangz2/lib_protocol/.ocamlformat b/src/proto_011_PtHangz2/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_011_PtHangz2/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_011_PtHangz2/lib_protocol/dune b/src/proto_011_PtHangz2/lib_protocol/dune deleted file mode 120000 index 8b081aeedbd3410224c813ba312f8f9b8f8f828e..0000000000000000000000000000000000000000 --- a/src/proto_011_PtHangz2/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v1 \ No newline at end of file diff --git a/src/proto_011_PtHangz2/lib_protocol/dune b/src/proto_011_PtHangz2/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..56bb5da9a74e01c0c7c7a76b55637d8568912b6e --- /dev/null +++ b/src/proto_011_PtHangz2/lib_protocol/dune @@ -0,0 +1,611 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_011_PtHangz2) + (public_name tezos-protocol-011-PtHangz2.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"011-PtHangz2\" end\ninclude Tezos_protocol_environment.MakeV3(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_011_PtHangz2) + (public_name tezos-protocol-011-PtHangz2.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-011-PtHangz2.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_011_PtHangz2.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Path_encoding + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Tez_repr + Period_repr + Time_repr + Fixed_point_repr + Saturation_repr + Gas_limit_repr + Constants_repr + Fitness_repr + Raw_level_repr + Cycle_repr + Level_repr + Seed_repr + Voting_period_repr + Script_string_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Cache_memory_helpers + Contract_repr + Roll_repr + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Sapling_repr + Lazy_storage_kind + Receipt_repr + Migration_repr + Raw_context_intf + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage + Delegate_storage + Sapling_storage + Lazy_storage_diff + Contract_storage + Bootstrap_storage + Fitness_storage + Voting_period_storage + Vote_storage + Commitment_storage + Fees_storage + Liquidity_baking_repr + Liquidity_baking_cpmm + Liquidity_baking_lqt + Liquidity_baking_migration + Init_storage + Sapling_validator + Global_constants_costs + Global_constants_storage + Cache_costs + Alpha_context + Script_tc_errors + Script_typed_ir + Script_typed_ir_size + Script_typed_ir_size_costs + Michelson_v1_gas + Script_ir_annot + Script_list + Script_comparable + Script_set + Script_map + Script_ir_translator + Script_cache + Script_tc_errors_registration + Script_interpreter_defs + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Sapling_services + Contract_services + Delegate_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_011_PtHangz2) + (public_name tezos-protocol-011-PtHangz2) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-011-PtHangz2.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-011-PtHangz2) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + fees_storage.ml fees_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + cache_costs.ml cache_costs.mli + alpha_context.ml alpha_context.mli + script_tc_errors.ml + script_typed_ir.ml script_typed_ir.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_list.ml script_list.mli + script_comparable.ml script_comparable.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_011_PtHangz2.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtHangz2aRngywmSRGGvrcTyMbbdpWdpFKuS4uMWxg2RaH9i1qx\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_011_PtHangz2\ninclude Tezos_raw_protocol_011_PtHangz2.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + fees_storage.ml fees_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + cache_costs.ml cache_costs.mli + alpha_context.ml alpha_context.mli + script_tc_errors.ml + script_typed_ir.ml script_typed_ir.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_list.ml script_list.mli + script_comparable.ml script_comparable.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_011_PtHangz2.objs/native/tezos_protocol_011_PtHangz2.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-011-PtHangz2) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_011_PtHangz2_functor) + (public_name tezos-protocol-functor-011-PtHangz2) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-011-PtHangz2.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + fees_storage.ml fees_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + cache_costs.ml cache_costs.mli + alpha_context.ml alpha_context.mli + script_tc_errors.ml + script_typed_ir.ml script_typed_ir.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_list.ml script_list.mli + script_comparable.ml script_comparable.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_011_PtHangz2) + (public_name tezos-embedded-protocol-011-PtHangz2) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-011-PtHangz2 + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + fitness_repr.ml fitness_repr.mli + raw_level_repr.ml raw_level_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + roll_repr.ml roll_repr.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage.ml roll_storage.mli + delegate_storage.ml delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + fitness_storage.ml fitness_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + commitment_storage.ml commitment_storage.mli + fees_storage.ml fees_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + cache_costs.ml cache_costs.mli + alpha_context.ml alpha_context.mli + script_tc_errors.ml + script_typed_ir.ml script_typed_ir.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_ir_annot.ml script_ir_annot.mli + script_list.ml script_list.mli + script_comparable.ml script_comparable.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 011_PtHangz2))))) diff --git a/src/proto_011_PtHangz2/lib_protocol/dune-project b/src/proto_011_PtHangz2/lib_protocol/dune-project deleted file mode 100644 index 29fa93c048d7547bb139a1ab17b6635e0ca77f93..0000000000000000000000000000000000000000 --- a/src/proto_011_PtHangz2/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-011-PtHangz2) diff --git a/src/proto_011_PtHangz2/lib_protocol/dune.inc b/src/proto_011_PtHangz2/lib_protocol/dune.inc deleted file mode 100644 index 4e9543d80bc408dad6e58b92c032b84a13c057af..0000000000000000000000000000000000000000 --- a/src/proto_011_PtHangz2/lib_protocol/dune.inc +++ /dev/null @@ -1,623 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v1 - -; This template is intended for protocols written after the Tezos -; project start using OCaml 4.12. -; -; template.v1 was introduced when we bumped the version of our OCaml -; dependency to 4.12. This change to a newer OCaml version introduced -; new warnings that need to be ignored in the protocols written before -; the update (see dune_protocol.template.v0). - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"011-PtHangz2\" end -include Tezos_protocol_environment.MakeV3(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - fees_storage.mli fees_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - cache_costs.mli cache_costs.ml - alpha_context.mli alpha_context.ml - script_tc_errors.ml - script_typed_ir.mli script_typed_ir.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_list.mli script_list.ml - script_comparable.mli script_comparable.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "011_PtHangz2"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - fees_storage.mli fees_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - cache_costs.mli cache_costs.ml - alpha_context.mli alpha_context.ml - script_tc_errors.ml - script_typed_ir.mli script_typed_ir.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_list.mli script_list.ml - script_comparable.mli script_comparable.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - fees_storage.mli fees_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - cache_costs.mli cache_costs.ml - alpha_context.mli alpha_context.ml - script_tc_errors.ml - script_typed_ir.mli script_typed_ir.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_list.mli script_list.ml - script_comparable.mli script_comparable.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_011_PtHangz2.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtHangz2aRngywmSRGGvrcTyMbbdpWdpFKuS4uMWxg2RaH9i1qx\" -let name = Environment.Name.name -include Tezos_raw_protocol_011_PtHangz2 -include Tezos_raw_protocol_011_PtHangz2.Main -"))) - -(library - (name tezos_protocol_environment_011_PtHangz2) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-011-PtHangz2.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_011_PtHangz2) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-011-PtHangz2.raw) - (libraries tezos_protocol_environment_011_PtHangz2) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-40..42-44-45-48 - -warn-error +a - -open Tezos_protocol_environment_011_PtHangz2__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Path_encoding - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Tez_repr - Period_repr - Time_repr - Fixed_point_repr - Saturation_repr - Gas_limit_repr - Constants_repr - Fitness_repr - Raw_level_repr - Cycle_repr - Level_repr - Seed_repr - Voting_period_repr - Script_string_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Cache_memory_helpers - Contract_repr - Roll_repr - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Sapling_repr - Lazy_storage_kind - Receipt_repr - Migration_repr - Raw_context_intf - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage - Delegate_storage - Sapling_storage - Lazy_storage_diff - Contract_storage - Bootstrap_storage - Fitness_storage - Voting_period_storage - Vote_storage - Commitment_storage - Fees_storage - Liquidity_baking_repr - Liquidity_baking_cpmm - Liquidity_baking_lqt - Liquidity_baking_migration - Init_storage - Sapling_validator - Global_constants_costs - Global_constants_storage - Cache_costs - Alpha_context - Script_tc_errors - Script_typed_ir - Script_typed_ir_size - Script_typed_ir_size_costs - Michelson_v1_gas - Script_ir_annot - Script_list - Script_comparable - Script_set - Script_map - Script_ir_translator - Script_cache - Script_tc_errors_registration - Script_interpreter_defs - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Sapling_services - Contract_services - Delegate_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-011-PtHangz2) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_011_PtHangz2) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-011-PtHangz2) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_011_PtHangz2) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_011_PtHangz2_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-011-PtHangz2) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-011-PtHangz2.raw) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_011_PtHangz2) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-011-PtHangz2) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-011-PtHangz2 - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-40..42-44-45-48 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - fitness_repr.mli fitness_repr.ml - raw_level_repr.mli raw_level_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - roll_repr.mli roll_repr.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage.mli roll_storage.ml - delegate_storage.mli delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - fitness_storage.mli fitness_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - commitment_storage.mli commitment_storage.ml - fees_storage.mli fees_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - cache_costs.mli cache_costs.ml - alpha_context.mli alpha_context.ml - script_tc_errors.ml - script_typed_ir.mli script_typed_ir.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_ir_annot.mli script_ir_annot.ml - script_list.mli script_list.ml - script_comparable.mli script_comparable.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_011_PtHangz2.objs/native/tezos_protocol_011_PtHangz2.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-011-PtHangz2) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_012_Psithaca/lib_protocol/.ocamlformat b/src/proto_012_Psithaca/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_012_Psithaca/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_012_Psithaca/lib_protocol/dune b/src/proto_012_Psithaca/lib_protocol/dune deleted file mode 120000 index 8b081aeedbd3410224c813ba312f8f9b8f8f828e..0000000000000000000000000000000000000000 --- a/src/proto_012_Psithaca/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v1 \ No newline at end of file diff --git a/src/proto_012_Psithaca/lib_protocol/dune b/src/proto_012_Psithaca/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..8fc81babf6e967f89beeabc541a64276973d7903 --- /dev/null +++ b/src/proto_012_Psithaca/lib_protocol/dune @@ -0,0 +1,696 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_012_Psithaca) + (public_name tezos-protocol-012-Psithaca.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"012-Psithaca\" end\ninclude Tezos_protocol_environment.MakeV4(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_012_Psithaca) + (public_name tezos-protocol-012-Psithaca.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-012-Psithaca.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_012_Psithaca.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Non_empty_string + Path_encoding + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Block_payload_hash + Slot_repr + Tez_repr + Period_repr + Time_repr + Round_repr + Block_payload_repr + Fixed_point_repr + Saturation_repr + Gas_limit_repr + Constants_repr + Raw_level_repr + Fitness_repr + Cycle_repr + Level_repr + Seed_repr + Sampler + Voting_period_repr + Script_string_repr + Script_int_repr + Script_timestamp_repr + Michelson_v1_primitives + Script_repr + Cache_memory_helpers + Contract_repr + Roll_repr_legacy + Vote_repr + Block_header_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Sapling_repr + Lazy_storage_kind + Receipt_repr + Migration_repr + Raw_context_intf + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Cache_repr + Constants_storage + Level_storage + Nonce_storage + Seed_storage + Roll_storage_legacy + Contract_manager_storage + Delegate_activation_storage + Frozen_deposits_storage + Stake_storage + Contract_delegate_storage + Sapling_storage + Lazy_storage_diff + Contract_storage + Commitment_storage + Token + Delegate_storage + Bootstrap_storage + Voting_period_storage + Vote_storage + Fees_storage + Ticket_storage + Liquidity_baking_repr + Liquidity_baking_cpmm + Liquidity_baking_lqt + Liquidity_baking_migration + Init_storage + Sapling_validator + Global_constants_costs + Global_constants_storage + Alpha_context + Local_gas_counter + Gas_monad + Script_tc_errors + Script_ir_annot + Script_typed_ir + Script_typed_ir_size + Script_typed_ir_size_costs + Michelson_v1_gas + Script_list + Script_comparable + Script_set + Script_map + Script_ir_translator + Script_cache + Script_tc_errors_registration + Ticket_costs + Ticket_scanner + Ticket_balance_key + Script_interpreter_defs + Script_interpreter + Baking + Amendment + Apply_results + Apply + Services_registration + Constants_services + Sapling_services + Contract_services + Delegate_services + Voting_services + Alpha_services + Main)) + +(library + (name tezos_protocol_012_Psithaca) + (public_name tezos-protocol-012-Psithaca) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-012-Psithaca.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-012-Psithaca) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + roll_repr_legacy.ml roll_repr_legacy.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + cache_repr.ml cache_repr.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage_legacy.ml roll_storage_legacy.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + stake_storage.ml stake_storage.mli + contract_delegate_storage.ml contract_delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + commitment_storage.ml commitment_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + alpha_context.ml alpha_context.mli + local_gas_counter.ml + gas_monad.ml gas_monad.mli + script_tc_errors.ml + script_ir_annot.ml script_ir_annot.mli + script_typed_ir.ml script_typed_ir.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_comparable.ml script_comparable.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_balance_key.ml ticket_balance_key.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_012_Psithaca.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_012_Psithaca\ninclude Tezos_raw_protocol_012_Psithaca.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + roll_repr_legacy.ml roll_repr_legacy.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + cache_repr.ml cache_repr.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage_legacy.ml roll_storage_legacy.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + stake_storage.ml stake_storage.mli + contract_delegate_storage.ml contract_delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + commitment_storage.ml commitment_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + alpha_context.ml alpha_context.mli + local_gas_counter.ml + gas_monad.ml gas_monad.mli + script_tc_errors.ml + script_ir_annot.ml script_ir_annot.mli + script_typed_ir.ml script_typed_ir.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_comparable.ml script_comparable.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_balance_key.ml ticket_balance_key.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_012_Psithaca.objs/native/tezos_protocol_012_Psithaca.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-012-Psithaca) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_012_Psithaca_functor) + (public_name tezos-protocol-functor-012-Psithaca) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-012-Psithaca.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + roll_repr_legacy.ml roll_repr_legacy.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + cache_repr.ml cache_repr.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage_legacy.ml roll_storage_legacy.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + stake_storage.ml stake_storage.mli + contract_delegate_storage.ml contract_delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + commitment_storage.ml commitment_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + alpha_context.ml alpha_context.mli + local_gas_counter.ml + gas_monad.ml gas_monad.mli + script_tc_errors.ml + script_ir_annot.ml script_ir_annot.mli + script_typed_ir.ml script_typed_ir.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_comparable.ml script_comparable.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_balance_key.ml ticket_balance_key.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_012_Psithaca) + (public_name tezos-embedded-protocol-012-Psithaca) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-012-Psithaca + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + roll_repr_legacy.ml roll_repr_legacy.mli + vote_repr.ml vote_repr.mli + block_header_repr.ml block_header_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + cache_repr.ml cache_repr.mli + constants_storage.ml constants_storage.mli + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + roll_storage_legacy.ml roll_storage_legacy.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + stake_storage.ml stake_storage.mli + contract_delegate_storage.ml contract_delegate_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + contract_storage.ml contract_storage.mli + commitment_storage.ml commitment_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + voting_period_storage.ml voting_period_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + alpha_context.ml alpha_context.mli + local_gas_counter.ml + gas_monad.ml gas_monad.mli + script_tc_errors.ml + script_ir_annot.ml script_ir_annot.mli + script_typed_ir.ml script_typed_ir.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_comparable.ml script_comparable.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_balance_key.ml ticket_balance_key.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply_results.ml apply_results.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 012_Psithaca))))) diff --git a/src/proto_012_Psithaca/lib_protocol/dune-project b/src/proto_012_Psithaca/lib_protocol/dune-project deleted file mode 100644 index d162b679588849e26f1e5ce3d2bb368d0debf513..0000000000000000000000000000000000000000 --- a/src/proto_012_Psithaca/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-012-Psithaca) diff --git a/src/proto_012_Psithaca/lib_protocol/dune.inc b/src/proto_012_Psithaca/lib_protocol/dune.inc deleted file mode 100644 index 36b87b5320c622cbee62c87193e202fa829d0f12..0000000000000000000000000000000000000000 --- a/src/proto_012_Psithaca/lib_protocol/dune.inc +++ /dev/null @@ -1,708 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v1 - -; This template is intended for protocols written after the Tezos -; project start using OCaml 4.12. -; -; template.v1 was introduced when we bumped the version of our OCaml -; dependency to 4.12. This change to a newer OCaml version introduced -; new warnings that need to be ignored in the protocols written before -; the update (see dune_protocol.template.v0). - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"012-Psithaca\" end -include Tezos_protocol_environment.MakeV4(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - roll_repr_legacy.mli roll_repr_legacy.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - cache_repr.mli cache_repr.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage_legacy.mli roll_storage_legacy.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - stake_storage.mli stake_storage.ml - contract_delegate_storage.mli contract_delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - commitment_storage.mli commitment_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - alpha_context.mli alpha_context.ml - local_gas_counter.ml - gas_monad.mli gas_monad.ml - script_tc_errors.ml - script_ir_annot.mli script_ir_annot.ml - script_typed_ir.mli script_typed_ir.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_comparable.mli script_comparable.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_balance_key.mli ticket_balance_key.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "012_Psithaca"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - roll_repr_legacy.mli roll_repr_legacy.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - cache_repr.mli cache_repr.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage_legacy.mli roll_storage_legacy.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - stake_storage.mli stake_storage.ml - contract_delegate_storage.mli contract_delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - commitment_storage.mli commitment_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - alpha_context.mli alpha_context.ml - local_gas_counter.ml - gas_monad.mli gas_monad.ml - script_tc_errors.ml - script_ir_annot.mli script_ir_annot.ml - script_typed_ir.mli script_typed_ir.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_comparable.mli script_comparable.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_balance_key.mli ticket_balance_key.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - roll_repr_legacy.mli roll_repr_legacy.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - cache_repr.mli cache_repr.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage_legacy.mli roll_storage_legacy.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - stake_storage.mli stake_storage.ml - contract_delegate_storage.mli contract_delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - commitment_storage.mli commitment_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - alpha_context.mli alpha_context.ml - local_gas_counter.ml - gas_monad.mli gas_monad.ml - script_tc_errors.ml - script_ir_annot.mli script_ir_annot.ml - script_typed_ir.mli script_typed_ir.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_comparable.mli script_comparable.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_balance_key.mli ticket_balance_key.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_012_Psithaca.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A\" -let name = Environment.Name.name -include Tezos_raw_protocol_012_Psithaca -include Tezos_raw_protocol_012_Psithaca.Main -"))) - -(library - (name tezos_protocol_environment_012_Psithaca) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-012-Psithaca.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_012_Psithaca) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-012-Psithaca.raw) - (libraries tezos_protocol_environment_012_Psithaca) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-40..42-44-45-48 - -warn-error +a - -open Tezos_protocol_environment_012_Psithaca__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Non_empty_string - Path_encoding - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Block_payload_hash - Slot_repr - Tez_repr - Period_repr - Time_repr - Round_repr - Block_payload_repr - Fixed_point_repr - Saturation_repr - Gas_limit_repr - Constants_repr - Raw_level_repr - Fitness_repr - Cycle_repr - Level_repr - Seed_repr - Sampler - Voting_period_repr - Script_string_repr - Script_int_repr - Script_timestamp_repr - Michelson_v1_primitives - Script_repr - Cache_memory_helpers - Contract_repr - Roll_repr_legacy - Vote_repr - Block_header_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Sapling_repr - Lazy_storage_kind - Receipt_repr - Migration_repr - Raw_context_intf - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Cache_repr - Constants_storage - Level_storage - Nonce_storage - Seed_storage - Roll_storage_legacy - Contract_manager_storage - Delegate_activation_storage - Frozen_deposits_storage - Stake_storage - Contract_delegate_storage - Sapling_storage - Lazy_storage_diff - Contract_storage - Commitment_storage - Token - Delegate_storage - Bootstrap_storage - Voting_period_storage - Vote_storage - Fees_storage - Ticket_storage - Liquidity_baking_repr - Liquidity_baking_cpmm - Liquidity_baking_lqt - Liquidity_baking_migration - Init_storage - Sapling_validator - Global_constants_costs - Global_constants_storage - Alpha_context - Local_gas_counter - Gas_monad - Script_tc_errors - Script_ir_annot - Script_typed_ir - Script_typed_ir_size - Script_typed_ir_size_costs - Michelson_v1_gas - Script_list - Script_comparable - Script_set - Script_map - Script_ir_translator - Script_cache - Script_tc_errors_registration - Ticket_costs - Ticket_scanner - Ticket_balance_key - Script_interpreter_defs - Script_interpreter - Baking - Amendment - Apply_results - Apply - Services_registration - Constants_services - Sapling_services - Contract_services - Delegate_services - Voting_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-012-Psithaca) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_012_Psithaca) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-012-Psithaca) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_012_Psithaca) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_012_Psithaca_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-012-Psithaca) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-012-Psithaca.raw) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_012_Psithaca) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-012-Psithaca) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-012-Psithaca - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-40..42-44-45-48 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - roll_repr_legacy.mli roll_repr_legacy.ml - vote_repr.mli vote_repr.ml - block_header_repr.mli block_header_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - cache_repr.mli cache_repr.ml - constants_storage.mli constants_storage.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - roll_storage_legacy.mli roll_storage_legacy.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - stake_storage.mli stake_storage.ml - contract_delegate_storage.mli contract_delegate_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - contract_storage.mli contract_storage.ml - commitment_storage.mli commitment_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - voting_period_storage.mli voting_period_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - alpha_context.mli alpha_context.ml - local_gas_counter.ml - gas_monad.mli gas_monad.ml - script_tc_errors.ml - script_ir_annot.mli script_ir_annot.ml - script_typed_ir.mli script_typed_ir.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_comparable.mli script_comparable.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_balance_key.mli ticket_balance_key.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply_results.mli apply_results.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_012_Psithaca.objs/native/tezos_protocol_012_Psithaca.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-012-Psithaca) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_012_Psithaca/lib_protocol/test/helpers/.ocamlformat b/src/proto_012_Psithaca/lib_protocol/test/helpers/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_012_Psithaca/lib_protocol/test/helpers/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_012_Psithaca/lib_protocol/test/helpers/dune b/src/proto_012_Psithaca/lib_protocol/test/helpers/dune index 8b54ed5997b1064b3a9ca2d622916c4796cfc93f..0bc1a37a970909f6e1edffb95befcdb369c6098c 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/helpers/dune +++ b/src/proto_012_Psithaca/lib_protocol/test/helpers/dune @@ -1,25 +1,32 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + (library (name tezos_012_Psithaca_test_helpers) - (instrumentation (backend bisect_ppx)) (public_name tezos-012-Psithaca-test-helpers) - (libraries alcotest-lwt - qcheck-alcotest - tezos-test-helpers - tezos-base - tezos-micheline - tezos-stdlib-unix - tezos-shell-services - tezos-protocol-environment - tezos-protocol-012-Psithaca - tezos-protocol-012-Psithaca-parameters - tezos-client-012-Psithaca - tezos-protocol-plugin-012-Psithaca) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_micheline - -open Tezos_stdlib_unix - -open Tezos_protocol_012_Psithaca - -open Tezos_client_012_Psithaca - -open Tezos_protocol_plugin_012_Psithaca - -open Tezos_protocol_environment_012_Psithaca - -open Tezos_shell_services))) + (instrumentation (backend bisect_ppx)) + (libraries + alcotest-lwt + qcheck-alcotest + tezos-test-helpers + tezos-base + tezos-micheline + tezos-stdlib-unix + tezos-protocol-012-Psithaca + tezos-client-012-Psithaca + tezos-protocol-012-Psithaca-parameters + tezos-protocol-environment + tezos-protocol-plugin-012-Psithaca + tezos-protocol-012-Psithaca.environment + tezos-shell-services) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_micheline + -open Tezos_stdlib_unix + -open Tezos_protocol_012_Psithaca + -open Tezos_client_012_Psithaca + -open Tezos_protocol_plugin_012_Psithaca + -open Tezos_protocol_environment_012_Psithaca + -open Tezos_shell_services))) diff --git a/src/proto_012_Psithaca/lib_protocol/test/helpers/dune-project b/src/proto_012_Psithaca/lib_protocol/test/helpers/dune-project deleted file mode 100644 index 8d36470afaad6691387975e5eacb4d8764a2bfe4..0000000000000000000000000000000000000000 --- a/src/proto_012_Psithaca/lib_protocol/test/helpers/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-alpha-test-helpers) diff --git a/src/proto_012_Psithaca/lib_protocol/test/integration/consensus/dune b/src/proto_012_Psithaca/lib_protocol/test/integration/consensus/dune index edaec8f7fb1286af2a30f0aa950373160b45c7c5..d5639927cba2c9e3cacbcec0a69e6bb674fe4a08 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/integration/consensus/dune +++ b/src/proto_012_Psithaca/lib_protocol/test/integration/consensus/dune @@ -1,17 +1,27 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-012-Psithaca + tezos-012-Psithaca-test-helpers + tezos-base-test-helpers + tezos-protocol-012-Psithaca-parameters + tezos-protocol-plugin-012-Psithaca) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_012_Psithaca + -open Tezos_012_Psithaca_test_helpers + -open Tezos_base_test_helpers + -open Tezos_protocol_012_Psithaca_parameters + -open Tezos_protocol_plugin_012_Psithaca))) + +(rule + (alias runtest) (package tezos-protocol-012-Psithaca-tests) - (libraries alcotest-lwt - tezos-base - tezos-protocol-012-Psithaca - tezos-base-test-helpers - tezos-012-Psithaca-test-helpers - tezos-protocol-012-Psithaca-parameters - tezos-protocol-plugin-012-Psithaca) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_012_Psithaca - -open Tezos_012_Psithaca_test_helpers - -open Tezos_base_test_helpers - -open Tezos_protocol_012_Psithaca_parameters - -open Tezos_protocol_plugin_012_Psithaca))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_012_Psithaca/lib_protocol/test/integration/dune b/src/proto_012_Psithaca/lib_protocol/test/integration/dune index bb29d21f40307fad50c5cec021739fee9e14d290..cdd6b00157a6bfe15300f6c6ddf1ec6702eac177 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/integration/dune +++ b/src/proto_012_Psithaca/lib_protocol/test/integration/dune @@ -1,17 +1,28 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-client-012-Psithaca + tezos-client-base + tezos-protocol-012-Psithaca + tezos-protocol-012-Psithaca-parameters + tezos-012-Psithaca-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_client_012_Psithaca + -open Tezos_protocol_012_Psithaca + -open Tezos_protocol_012_Psithaca_parameters + -open Tezos_012_Psithaca_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-012-Psithaca-tests) - (libraries alcotest-lwt - tezos-base - tezos-client-base - tezos-protocol-012-Psithaca - tezos-protocol-012-Psithaca-parameters - tezos-base-test-helpers - tezos-012-Psithaca-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_client_012_Psithaca - -open Tezos_protocol_012_Psithaca - -open Tezos_protocol_012_Psithaca_parameters - -open Tezos_012_Psithaca_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_012_Psithaca/lib_protocol/test/integration/gas/dune b/src/proto_012_Psithaca/lib_protocol/test/integration/gas/dune index fa0cc2be74d5e731b82951bfaf3a518855ef16b8..b6396ca4ed74fbfb294f303cc39af4f2ff7262a1 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/integration/gas/dune +++ b/src/proto_012_Psithaca/lib_protocol/test/integration/gas/dune @@ -1,13 +1,23 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-012-Psithaca + tezos-012-Psithaca-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_012_Psithaca + -open Tezos_012_Psithaca_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-012-Psithaca-tests) - (libraries alcotest-lwt - tezos-base - tezos-protocol-012-Psithaca - tezos-base-test-helpers - tezos-012-Psithaca-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_012_Psithaca - -open Tezos_012_Psithaca_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_012_Psithaca/lib_protocol/test/integration/michelson/dune b/src/proto_012_Psithaca/lib_protocol/test/integration/michelson/dune index bbc0933ad78ac474a37ca92020713bd26f9d57e3..d490b7d857d13e2c8489d894bed2dd29c5bd613f 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/integration/michelson/dune +++ b/src/proto_012_Psithaca/lib_protocol/test/integration/michelson/dune @@ -1,24 +1,34 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-012-Psithaca + tezos-012-Psithaca-test-helpers + tezos-base-test-helpers + tezos-client-base + tezos-client-012-Psithaca + tezos-benchmark + tezos-micheline + tezos-benchmark-012-Psithaca + tezos-benchmark-type-inference-012-Psithaca) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_012_Psithaca + -open Tezos_012_Psithaca_test_helpers + -open Tezos_base_test_helpers + -open Tezos_client_012_Psithaca + -open Tezos_micheline + -open Tezos_benchmark_012_Psithaca + -open Tezos_benchmark_type_inference_012_Psithaca))) + +(rule + (alias runtest) (package tezos-protocol-012-Psithaca-tests) (deps (glob_files contracts/*)) - (libraries alcotest-lwt - tezos-base - tezos-protocol-012-Psithaca - tezos-base-test-helpers - tezos-012-Psithaca-test-helpers - - tezos-client-base - tezos-micheline - tezos-benchmark - tezos-benchmark-012-Psithaca) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_012_Psithaca - -open Tezos_012_Psithaca_test_helpers - -open Tezos_base_test_helpers - - -open Tezos_client_012_Psithaca - -open Tezos_micheline - -open Tezos_benchmark_012_Psithaca - -open Tezos_benchmark_type_inference_012_Psithaca))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_012_Psithaca/lib_protocol/test/integration/operations/dune b/src/proto_012_Psithaca/lib_protocol/test/integration/operations/dune index fa0cc2be74d5e731b82951bfaf3a518855ef16b8..d8161c57bfaf105a65cd3aa8c115ccceabbde05a 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/integration/operations/dune +++ b/src/proto_012_Psithaca/lib_protocol/test/integration/operations/dune @@ -1,13 +1,25 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-012-Psithaca + tezos-client-012-Psithaca + tezos-012-Psithaca-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_012_Psithaca + -open Tezos_client_012_Psithaca + -open Tezos_012_Psithaca_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-012-Psithaca-tests) - (libraries alcotest-lwt - tezos-base - tezos-protocol-012-Psithaca - tezos-base-test-helpers - tezos-012-Psithaca-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_012_Psithaca - -open Tezos_012_Psithaca_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_012_Psithaca/lib_protocol/test/pbt/dune b/src/proto_012_Psithaca/lib_protocol/test/pbt/dune index 88e4306ce14c9331adf1509232847549b92d5c6b..07c95c4461c90006c078e8c48a761186ce0be946 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/pbt/dune +++ b/src/proto_012_Psithaca/lib_protocol/test/pbt/dune @@ -1,26 +1,64 @@ -(tests +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executables + (names + liquidity_baking_pbt + saturation_fuzzing + test_gas_properties + test_sampler + test_script_comparison + test_tez_repr) + (libraries + tezos-base + tezos-micheline + tezos-client-012-Psithaca + tezos-protocol-012-Psithaca + tezos-test-helpers + tezos-012-Psithaca-test-helpers + alcotest + qcheck-alcotest + tezos-client-base + tezos-benchmark + tezos-benchmark-012-Psithaca + tezos-benchmark-type-inference-012-Psithaca) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_micheline + -open Tezos_client_012_Psithaca + -open Tezos_protocol_012_Psithaca + -open Tezos_012_Psithaca_test_helpers + -open Tezos_benchmark_012_Psithaca + -open Tezos_benchmark_type_inference_012_Psithaca))) + +(rule + (alias runtest) (package tezos-protocol-012-Psithaca-tests) - (names liquidity_baking_pbt - saturation_fuzzing - test_gas_properties - test_sampler - test_script_comparison - test_tez_repr) - (libraries tezos-base - tezos-micheline - tezos-client-base - tezos-test-helpers - tezos-012-Psithaca-test-helpers - alcotest - qcheck-alcotest - tezos-benchmark - tezos-benchmark-012-Psithaca) - (flags (:standard - -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_micheline - -open Tezos_client_012_Psithaca - -open Tezos_protocol_012_Psithaca - -open Tezos_012_Psithaca_test_helpers - -open Tezos_benchmark_012_Psithaca - -open Tezos_benchmark_type_inference_012_Psithaca))) + (action (run %{dep:./liquidity_baking_pbt.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-012-Psithaca-tests) + (action (run %{dep:./saturation_fuzzing.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-012-Psithaca-tests) + (action (run %{dep:./test_gas_properties.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-012-Psithaca-tests) + (action (run %{dep:./test_sampler.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-012-Psithaca-tests) + (action (run %{dep:./test_script_comparison.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-012-Psithaca-tests) + (action (run %{dep:./test_tez_repr.exe}))) diff --git a/src/proto_012_Psithaca/lib_protocol/test/unit/dune b/src/proto_012_Psithaca/lib_protocol/test/unit/dune index 65337fde242cd4e2148c0100b9b086c21d2f9008..046788f4e63079819f6fdc989a9d4ae7f996ebe9 100644 --- a/src/proto_012_Psithaca/lib_protocol/test/unit/dune +++ b/src/proto_012_Psithaca/lib_protocol/test/unit/dune @@ -1,21 +1,33 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + tezos-base + tezos-base-test-helpers + tezos-micheline + tezos-client-012-Psithaca + tezos-client-base + tezos-protocol-012-Psithaca-parameters + tezos-protocol-environment + tezos-stdlib-unix + tezos-protocol-012-Psithaca + tezos-protocol-012-Psithaca.environment + tezos-012-Psithaca-test-helpers + alcotest-lwt) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_base_test_helpers + -open Tezos_micheline + -open Tezos_client_012_Psithaca + -open Tezos_protocol_012_Psithaca + -open Tezos_protocol_environment_012_Psithaca + -open Tezos_012_Psithaca_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-012-Psithaca-tests) - (libraries tezos-base - tezos-micheline - tezos-protocol-environment - alcotest-lwt - tezos-012-Psithaca-test-helpers - tezos-stdlib-unix - tezos-client-base - tezos-protocol-012-Psithaca-parameters - tezos-base-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_base_test_helpers - -open Tezos_micheline - -open Tezos_client_012_Psithaca - -open Tezos_protocol_012_Psithaca - -open Tezos_protocol_environment_012_Psithaca - -open Tezos_012_Psithaca_test_helpers)) - (action (run %{test} "test" "Unit"))) + (action (run %{exe:main.exe} test Unit))) diff --git a/src/proto_012_Psithaca/lib_protocol/tezos-protocol-012-Psithaca-tests.opam b/src/proto_012_Psithaca/lib_protocol/tezos-protocol-012-Psithaca-tests.opam deleted file mode 100644 index 3b775c5ee66c9918d1e86833c2b4a84e71e0d3cf..0000000000000000000000000000000000000000 --- a/src/proto_012_Psithaca/lib_protocol/tezos-protocol-012-Psithaca-tests.opam +++ /dev/null @@ -1,36 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" - "alcotest-lwt" { with-test & >= "1.1.0" } - "astring" { with-test } - "tezos-test-helpers" { with-test } - "qcheck-alcotest" { with-test } - "tezos-012-Psithaca-test-helpers" { with-test } - "tezos-stdlib-unix" { with-test } - "tezos-protocol-environment" { with-test } - "tezos-client-base" { with-test } - "tezos-protocol-012-Psithaca-parameters" { with-test } - "tezos-shell-services" { with-test } - "tezos-base-test-helpers" { with-test } - "tezos-benchmark" { with-test } - "tezos-benchmark-012-Psithaca" { with-test } -] -build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "012_Psithaca" - ] - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} -] -synopsis: "Tezos/Protocol: tests for economic-protocol definition" diff --git a/src/proto_013_PtJakart/lib_protocol/.ocamlformat b/src/proto_013_PtJakart/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_013_PtJakart/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_013_PtJakart/lib_protocol/dune b/src/proto_013_PtJakart/lib_protocol/dune deleted file mode 120000 index 8b081aeedbd3410224c813ba312f8f9b8f8f828e..0000000000000000000000000000000000000000 --- a/src/proto_013_PtJakart/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v1 \ No newline at end of file diff --git a/src/proto_013_PtJakart/lib_protocol/dune b/src/proto_013_PtJakart/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..058b19e7770dc4e0f618edc8a7e3cc58ee8fd4ed --- /dev/null +++ b/src/proto_013_PtJakart/lib_protocol/dune @@ -0,0 +1,1025 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_013_PtJakart) + (public_name tezos-protocol-013-PtJakart.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"013-PtJakart\" end\ninclude Tezos_protocol_environment.MakeV5(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_013_PtJakart) + (public_name tezos-protocol-013-PtJakart.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-013-PtJakart.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_013_PtJakart.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Non_empty_string + Path_encoding + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Contract_hash + Blinded_public_key_hash + Block_payload_hash + Origination_nonce + Tx_rollup_prefixes + Merkle_list + Bitset + Slot_repr + Tez_repr + Period_repr + Time_repr + Round_repr + Block_payload_repr + Fixed_point_repr + Saturation_repr + Gas_limit_repr + Constants_repr + Raw_level_repr + Fitness_repr + Cycle_repr + Level_repr + Sc_rollup_repr + Skip_list_repr + Sc_rollup_inbox_repr + Seed_repr + Sampler + Voting_period_repr + Script_string_repr + Script_int_repr + Script_timestamp_repr + Ticket_hash_repr + Michelson_v1_primitives + Script_repr + Cache_memory_helpers + Contract_repr + Indexable + Entrypoint_repr + Tx_rollup_level_repr + Tx_rollup_l2_proof + Tx_rollup_l2_address + Tx_rollup_l2_qty + Tx_rollup_l2_context_hash + Tx_rollup_repr + Tx_rollup_withdraw_repr + Tx_rollup_withdraw_list_hash_repr + Tx_rollup_reveal_repr + Tx_rollup_message_repr + Tx_rollup_message_hash_repr + Tx_rollup_inbox_repr + Tx_rollup_message_result_repr + Tx_rollup_message_result_hash_repr + Tx_rollup_commitment_repr + Tx_rollup_errors_repr + Tx_rollup_state_repr + Bond_id_repr + Vote_repr + Liquidity_baking_repr + Block_header_repr + Destination_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Sapling_repr + Lazy_storage_kind + Receipt_repr + Migration_repr + Sc_rollup_tick_repr + Raw_context_intf + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Ticket_hash_builder + Constants_storage + Tx_rollup_gas + Tx_rollup_hash_builder + Level_storage + Nonce_storage + Seed_storage + Contract_manager_storage + Delegate_activation_storage + Frozen_deposits_storage + Sapling_storage + Lazy_storage_diff + Commitment_storage + Voting_period_storage + Cache_repr + Contract_delegate_storage + Stake_storage + Contract_storage + Token + Delegate_storage + Bootstrap_storage + Vote_storage + Fees_storage + Ticket_storage + Liquidity_baking_storage + Liquidity_baking_cpmm + Liquidity_baking_lqt + Liquidity_baking_migration + Legacy_script_patches_for_J + Init_storage + Sapling_validator + Global_constants_costs + Global_constants_storage + Tx_rollup_state_storage + Tx_rollup_reveal_storage + Tx_rollup_inbox_storage + Tx_rollup_commitment_storage + Tx_rollup_storage + Sc_rollup_storage + Alpha_context + Carbonated_map_costs + Carbonated_map + Tx_rollup_l2_storage_sig + Tx_rollup_l2_context_sig + Tx_rollup_l2_context + Tx_rollup_l2_batch + Tx_rollup_l2_apply + Tx_rollup_l2_verifier + Local_gas_counter + Script_tc_errors + Gas_monad + Script_ir_annot + Dependent_bool + Script_typed_ir + Script_comparable + Gas_comparable_input_size + Script_set + Script_map + Gas_input_size + Script_typed_ir_size + Script_typed_ir_size_costs + Michelson_v1_gas + Script_list + Script_tc_context + Apply_results + Script_ir_translator + Script_cache + Script_tc_errors_registration + Ticket_costs + Ticket_scanner + Ticket_token + Ticket_balance_key + Ticket_lazy_storage_diff + Ticket_balance_migration_for_j + Tx_rollup_parameters + Ticket_token_map + Ticket_operations_diff + Ticket_accounting + Tx_rollup_ticket + Script_interpreter_defs + Script_interpreter + Sc_rollup_operations + Sc_rollup_PVM_sem + Sc_rollup_game + Sc_rollup_arith + Sc_rollups + Baking + Amendment + Apply + Services_registration + Constants_services + Sapling_services + Contract_services + Delegate_services + Voting_services + Tx_rollup_services + Alpha_services + Main)) + +(library + (name tezos_protocol_013_PtJakart) + (public_name tezos-protocol-013-PtJakart) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-013-PtJakart.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-013-PtJakart) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + origination_nonce.ml origination_nonce.mli + tx_rollup_prefixes.ml tx_rollup_prefixes.mli + merkle_list.ml merkle_list.mli + bitset.ml bitset.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + sc_rollup_repr.ml sc_rollup_repr.mli + skip_list_repr.ml skip_list_repr.mli + sc_rollup_inbox_repr.ml sc_rollup_inbox_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + ticket_hash_repr.ml ticket_hash_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + indexable.ml indexable.mli + entrypoint_repr.ml entrypoint_repr.mli + tx_rollup_level_repr.ml tx_rollup_level_repr.mli + tx_rollup_l2_proof.ml tx_rollup_l2_proof.mli + tx_rollup_l2_address.ml tx_rollup_l2_address.mli + tx_rollup_l2_qty.ml tx_rollup_l2_qty.mli + tx_rollup_l2_context_hash.ml tx_rollup_l2_context_hash.mli + tx_rollup_repr.ml tx_rollup_repr.mli + tx_rollup_withdraw_repr.ml tx_rollup_withdraw_repr.mli + tx_rollup_withdraw_list_hash_repr.ml tx_rollup_withdraw_list_hash_repr.mli + tx_rollup_reveal_repr.ml tx_rollup_reveal_repr.mli + tx_rollup_message_repr.ml tx_rollup_message_repr.mli + tx_rollup_message_hash_repr.ml tx_rollup_message_hash_repr.mli + tx_rollup_inbox_repr.ml tx_rollup_inbox_repr.mli + tx_rollup_message_result_repr.ml tx_rollup_message_result_repr.mli + tx_rollup_message_result_hash_repr.ml + tx_rollup_message_result_hash_repr.mli + tx_rollup_commitment_repr.ml tx_rollup_commitment_repr.mli + tx_rollup_errors_repr.ml + tx_rollup_state_repr.ml tx_rollup_state_repr.mli + bond_id_repr.ml bond_id_repr.mli + vote_repr.ml vote_repr.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + block_header_repr.ml block_header_repr.mli + destination_repr.ml destination_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + sc_rollup_tick_repr.ml sc_rollup_tick_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + ticket_hash_builder.ml ticket_hash_builder.mli + constants_storage.ml constants_storage.mli + tx_rollup_gas.ml tx_rollup_gas.mli + tx_rollup_hash_builder.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + commitment_storage.ml commitment_storage.mli + voting_period_storage.ml voting_period_storage.mli + cache_repr.ml cache_repr.mli + contract_delegate_storage.ml contract_delegate_storage.mli + stake_storage.ml stake_storage.mli + contract_storage.ml contract_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_storage.ml liquidity_baking_storage.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + legacy_script_patches_for_J.ml + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + tx_rollup_state_storage.ml tx_rollup_state_storage.mli + tx_rollup_reveal_storage.ml tx_rollup_reveal_storage.mli + tx_rollup_inbox_storage.ml tx_rollup_inbox_storage.mli + tx_rollup_commitment_storage.ml tx_rollup_commitment_storage.mli + tx_rollup_storage.ml tx_rollup_storage.mli + sc_rollup_storage.ml sc_rollup_storage.mli + alpha_context.ml alpha_context.mli + carbonated_map_costs.ml carbonated_map_costs.mli + carbonated_map.ml carbonated_map.mli + tx_rollup_l2_storage_sig.ml + tx_rollup_l2_context_sig.ml + tx_rollup_l2_context.ml + tx_rollup_l2_batch.ml tx_rollup_l2_batch.mli + tx_rollup_l2_apply.ml tx_rollup_l2_apply.mli + tx_rollup_l2_verifier.ml tx_rollup_l2_verifier.mli + local_gas_counter.ml local_gas_counter.mli + script_tc_errors.ml + gas_monad.ml gas_monad.mli + script_ir_annot.ml script_ir_annot.mli + dependent_bool.ml dependent_bool.mli + script_typed_ir.ml script_typed_ir.mli + script_comparable.ml script_comparable.mli + gas_comparable_input_size.ml gas_comparable_input_size.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + gas_input_size.ml gas_input_size.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_tc_context.ml script_tc_context.mli + apply_results.ml apply_results.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_token.ml ticket_token.mli + ticket_balance_key.ml ticket_balance_key.mli + ticket_lazy_storage_diff.ml ticket_lazy_storage_diff.mli + ticket_balance_migration_for_j.ml ticket_balance_migration_for_j.mli + tx_rollup_parameters.ml tx_rollup_parameters.mli + ticket_token_map.ml ticket_token_map.mli + ticket_operations_diff.ml ticket_operations_diff.mli + ticket_accounting.ml ticket_accounting.mli + tx_rollup_ticket.ml tx_rollup_ticket.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + sc_rollup_operations.ml sc_rollup_operations.mli + sc_rollup_PVM_sem.ml + sc_rollup_game.ml sc_rollup_game.mli + sc_rollup_arith.ml sc_rollup_arith.mli + sc_rollups.ml sc_rollups.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + tx_rollup_services.ml tx_rollup_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_013_PtJakart.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_013_PtJakart\ninclude Tezos_raw_protocol_013_PtJakart.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + origination_nonce.ml origination_nonce.mli + tx_rollup_prefixes.ml tx_rollup_prefixes.mli + merkle_list.ml merkle_list.mli + bitset.ml bitset.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + sc_rollup_repr.ml sc_rollup_repr.mli + skip_list_repr.ml skip_list_repr.mli + sc_rollup_inbox_repr.ml sc_rollup_inbox_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + ticket_hash_repr.ml ticket_hash_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + indexable.ml indexable.mli + entrypoint_repr.ml entrypoint_repr.mli + tx_rollup_level_repr.ml tx_rollup_level_repr.mli + tx_rollup_l2_proof.ml tx_rollup_l2_proof.mli + tx_rollup_l2_address.ml tx_rollup_l2_address.mli + tx_rollup_l2_qty.ml tx_rollup_l2_qty.mli + tx_rollup_l2_context_hash.ml tx_rollup_l2_context_hash.mli + tx_rollup_repr.ml tx_rollup_repr.mli + tx_rollup_withdraw_repr.ml tx_rollup_withdraw_repr.mli + tx_rollup_withdraw_list_hash_repr.ml tx_rollup_withdraw_list_hash_repr.mli + tx_rollup_reveal_repr.ml tx_rollup_reveal_repr.mli + tx_rollup_message_repr.ml tx_rollup_message_repr.mli + tx_rollup_message_hash_repr.ml tx_rollup_message_hash_repr.mli + tx_rollup_inbox_repr.ml tx_rollup_inbox_repr.mli + tx_rollup_message_result_repr.ml tx_rollup_message_result_repr.mli + tx_rollup_message_result_hash_repr.ml + tx_rollup_message_result_hash_repr.mli + tx_rollup_commitment_repr.ml tx_rollup_commitment_repr.mli + tx_rollup_errors_repr.ml + tx_rollup_state_repr.ml tx_rollup_state_repr.mli + bond_id_repr.ml bond_id_repr.mli + vote_repr.ml vote_repr.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + block_header_repr.ml block_header_repr.mli + destination_repr.ml destination_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + sc_rollup_tick_repr.ml sc_rollup_tick_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + ticket_hash_builder.ml ticket_hash_builder.mli + constants_storage.ml constants_storage.mli + tx_rollup_gas.ml tx_rollup_gas.mli + tx_rollup_hash_builder.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + commitment_storage.ml commitment_storage.mli + voting_period_storage.ml voting_period_storage.mli + cache_repr.ml cache_repr.mli + contract_delegate_storage.ml contract_delegate_storage.mli + stake_storage.ml stake_storage.mli + contract_storage.ml contract_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_storage.ml liquidity_baking_storage.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + legacy_script_patches_for_J.ml + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + tx_rollup_state_storage.ml tx_rollup_state_storage.mli + tx_rollup_reveal_storage.ml tx_rollup_reveal_storage.mli + tx_rollup_inbox_storage.ml tx_rollup_inbox_storage.mli + tx_rollup_commitment_storage.ml tx_rollup_commitment_storage.mli + tx_rollup_storage.ml tx_rollup_storage.mli + sc_rollup_storage.ml sc_rollup_storage.mli + alpha_context.ml alpha_context.mli + carbonated_map_costs.ml carbonated_map_costs.mli + carbonated_map.ml carbonated_map.mli + tx_rollup_l2_storage_sig.ml + tx_rollup_l2_context_sig.ml + tx_rollup_l2_context.ml + tx_rollup_l2_batch.ml tx_rollup_l2_batch.mli + tx_rollup_l2_apply.ml tx_rollup_l2_apply.mli + tx_rollup_l2_verifier.ml tx_rollup_l2_verifier.mli + local_gas_counter.ml local_gas_counter.mli + script_tc_errors.ml + gas_monad.ml gas_monad.mli + script_ir_annot.ml script_ir_annot.mli + dependent_bool.ml dependent_bool.mli + script_typed_ir.ml script_typed_ir.mli + script_comparable.ml script_comparable.mli + gas_comparable_input_size.ml gas_comparable_input_size.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + gas_input_size.ml gas_input_size.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_tc_context.ml script_tc_context.mli + apply_results.ml apply_results.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_token.ml ticket_token.mli + ticket_balance_key.ml ticket_balance_key.mli + ticket_lazy_storage_diff.ml ticket_lazy_storage_diff.mli + ticket_balance_migration_for_j.ml ticket_balance_migration_for_j.mli + tx_rollup_parameters.ml tx_rollup_parameters.mli + ticket_token_map.ml ticket_token_map.mli + ticket_operations_diff.ml ticket_operations_diff.mli + ticket_accounting.ml ticket_accounting.mli + tx_rollup_ticket.ml tx_rollup_ticket.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + sc_rollup_operations.ml sc_rollup_operations.mli + sc_rollup_PVM_sem.ml + sc_rollup_game.ml sc_rollup_game.mli + sc_rollup_arith.ml sc_rollup_arith.mli + sc_rollups.ml sc_rollups.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + tx_rollup_services.ml tx_rollup_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_013_PtJakart.objs/native/tezos_protocol_013_PtJakart.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_013_PtJakart_functor) + (public_name tezos-protocol-functor-013-PtJakart) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-013-PtJakart.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + origination_nonce.ml origination_nonce.mli + tx_rollup_prefixes.ml tx_rollup_prefixes.mli + merkle_list.ml merkle_list.mli + bitset.ml bitset.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + sc_rollup_repr.ml sc_rollup_repr.mli + skip_list_repr.ml skip_list_repr.mli + sc_rollup_inbox_repr.ml sc_rollup_inbox_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + ticket_hash_repr.ml ticket_hash_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + indexable.ml indexable.mli + entrypoint_repr.ml entrypoint_repr.mli + tx_rollup_level_repr.ml tx_rollup_level_repr.mli + tx_rollup_l2_proof.ml tx_rollup_l2_proof.mli + tx_rollup_l2_address.ml tx_rollup_l2_address.mli + tx_rollup_l2_qty.ml tx_rollup_l2_qty.mli + tx_rollup_l2_context_hash.ml tx_rollup_l2_context_hash.mli + tx_rollup_repr.ml tx_rollup_repr.mli + tx_rollup_withdraw_repr.ml tx_rollup_withdraw_repr.mli + tx_rollup_withdraw_list_hash_repr.ml tx_rollup_withdraw_list_hash_repr.mli + tx_rollup_reveal_repr.ml tx_rollup_reveal_repr.mli + tx_rollup_message_repr.ml tx_rollup_message_repr.mli + tx_rollup_message_hash_repr.ml tx_rollup_message_hash_repr.mli + tx_rollup_inbox_repr.ml tx_rollup_inbox_repr.mli + tx_rollup_message_result_repr.ml tx_rollup_message_result_repr.mli + tx_rollup_message_result_hash_repr.ml + tx_rollup_message_result_hash_repr.mli + tx_rollup_commitment_repr.ml tx_rollup_commitment_repr.mli + tx_rollup_errors_repr.ml + tx_rollup_state_repr.ml tx_rollup_state_repr.mli + bond_id_repr.ml bond_id_repr.mli + vote_repr.ml vote_repr.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + block_header_repr.ml block_header_repr.mli + destination_repr.ml destination_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + sc_rollup_tick_repr.ml sc_rollup_tick_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + ticket_hash_builder.ml ticket_hash_builder.mli + constants_storage.ml constants_storage.mli + tx_rollup_gas.ml tx_rollup_gas.mli + tx_rollup_hash_builder.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + commitment_storage.ml commitment_storage.mli + voting_period_storage.ml voting_period_storage.mli + cache_repr.ml cache_repr.mli + contract_delegate_storage.ml contract_delegate_storage.mli + stake_storage.ml stake_storage.mli + contract_storage.ml contract_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_storage.ml liquidity_baking_storage.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + legacy_script_patches_for_J.ml + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + tx_rollup_state_storage.ml tx_rollup_state_storage.mli + tx_rollup_reveal_storage.ml tx_rollup_reveal_storage.mli + tx_rollup_inbox_storage.ml tx_rollup_inbox_storage.mli + tx_rollup_commitment_storage.ml tx_rollup_commitment_storage.mli + tx_rollup_storage.ml tx_rollup_storage.mli + sc_rollup_storage.ml sc_rollup_storage.mli + alpha_context.ml alpha_context.mli + carbonated_map_costs.ml carbonated_map_costs.mli + carbonated_map.ml carbonated_map.mli + tx_rollup_l2_storage_sig.ml + tx_rollup_l2_context_sig.ml + tx_rollup_l2_context.ml + tx_rollup_l2_batch.ml tx_rollup_l2_batch.mli + tx_rollup_l2_apply.ml tx_rollup_l2_apply.mli + tx_rollup_l2_verifier.ml tx_rollup_l2_verifier.mli + local_gas_counter.ml local_gas_counter.mli + script_tc_errors.ml + gas_monad.ml gas_monad.mli + script_ir_annot.ml script_ir_annot.mli + dependent_bool.ml dependent_bool.mli + script_typed_ir.ml script_typed_ir.mli + script_comparable.ml script_comparable.mli + gas_comparable_input_size.ml gas_comparable_input_size.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + gas_input_size.ml gas_input_size.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_tc_context.ml script_tc_context.mli + apply_results.ml apply_results.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_token.ml ticket_token.mli + ticket_balance_key.ml ticket_balance_key.mli + ticket_lazy_storage_diff.ml ticket_lazy_storage_diff.mli + ticket_balance_migration_for_j.ml ticket_balance_migration_for_j.mli + tx_rollup_parameters.ml tx_rollup_parameters.mli + ticket_token_map.ml ticket_token_map.mli + ticket_operations_diff.ml ticket_operations_diff.mli + ticket_accounting.ml ticket_accounting.mli + tx_rollup_ticket.ml tx_rollup_ticket.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + sc_rollup_operations.ml sc_rollup_operations.mli + sc_rollup_PVM_sem.ml + sc_rollup_game.ml sc_rollup_game.mli + sc_rollup_arith.ml sc_rollup_arith.mli + sc_rollups.ml sc_rollups.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + tx_rollup_services.ml tx_rollup_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_013_PtJakart) + (public_name tezos-embedded-protocol-013-PtJakart) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-013-PtJakart + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + origination_nonce.ml origination_nonce.mli + tx_rollup_prefixes.ml tx_rollup_prefixes.mli + merkle_list.ml merkle_list.mli + bitset.ml bitset.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + sc_rollup_repr.ml sc_rollup_repr.mli + skip_list_repr.ml skip_list_repr.mli + sc_rollup_inbox_repr.ml sc_rollup_inbox_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + script_string_repr.ml script_string_repr.mli + script_int_repr.ml script_int_repr.mli + script_timestamp_repr.ml script_timestamp_repr.mli + ticket_hash_repr.ml ticket_hash_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + indexable.ml indexable.mli + entrypoint_repr.ml entrypoint_repr.mli + tx_rollup_level_repr.ml tx_rollup_level_repr.mli + tx_rollup_l2_proof.ml tx_rollup_l2_proof.mli + tx_rollup_l2_address.ml tx_rollup_l2_address.mli + tx_rollup_l2_qty.ml tx_rollup_l2_qty.mli + tx_rollup_l2_context_hash.ml tx_rollup_l2_context_hash.mli + tx_rollup_repr.ml tx_rollup_repr.mli + tx_rollup_withdraw_repr.ml tx_rollup_withdraw_repr.mli + tx_rollup_withdraw_list_hash_repr.ml tx_rollup_withdraw_list_hash_repr.mli + tx_rollup_reveal_repr.ml tx_rollup_reveal_repr.mli + tx_rollup_message_repr.ml tx_rollup_message_repr.mli + tx_rollup_message_hash_repr.ml tx_rollup_message_hash_repr.mli + tx_rollup_inbox_repr.ml tx_rollup_inbox_repr.mli + tx_rollup_message_result_repr.ml tx_rollup_message_result_repr.mli + tx_rollup_message_result_hash_repr.ml + tx_rollup_message_result_hash_repr.mli + tx_rollup_commitment_repr.ml tx_rollup_commitment_repr.mli + tx_rollup_errors_repr.ml + tx_rollup_state_repr.ml tx_rollup_state_repr.mli + bond_id_repr.ml bond_id_repr.mli + vote_repr.ml vote_repr.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + block_header_repr.ml block_header_repr.mli + destination_repr.ml destination_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + sc_rollup_tick_repr.ml sc_rollup_tick_repr.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + ticket_hash_builder.ml ticket_hash_builder.mli + constants_storage.ml constants_storage.mli + tx_rollup_gas.ml tx_rollup_gas.mli + tx_rollup_hash_builder.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + commitment_storage.ml commitment_storage.mli + voting_period_storage.ml voting_period_storage.mli + cache_repr.ml cache_repr.mli + contract_delegate_storage.ml contract_delegate_storage.mli + stake_storage.ml stake_storage.mli + contract_storage.ml contract_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_storage.ml liquidity_baking_storage.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + legacy_script_patches_for_J.ml + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + tx_rollup_state_storage.ml tx_rollup_state_storage.mli + tx_rollup_reveal_storage.ml tx_rollup_reveal_storage.mli + tx_rollup_inbox_storage.ml tx_rollup_inbox_storage.mli + tx_rollup_commitment_storage.ml tx_rollup_commitment_storage.mli + tx_rollup_storage.ml tx_rollup_storage.mli + sc_rollup_storage.ml sc_rollup_storage.mli + alpha_context.ml alpha_context.mli + carbonated_map_costs.ml carbonated_map_costs.mli + carbonated_map.ml carbonated_map.mli + tx_rollup_l2_storage_sig.ml + tx_rollup_l2_context_sig.ml + tx_rollup_l2_context.ml + tx_rollup_l2_batch.ml tx_rollup_l2_batch.mli + tx_rollup_l2_apply.ml tx_rollup_l2_apply.mli + tx_rollup_l2_verifier.ml tx_rollup_l2_verifier.mli + local_gas_counter.ml local_gas_counter.mli + script_tc_errors.ml + gas_monad.ml gas_monad.mli + script_ir_annot.ml script_ir_annot.mli + dependent_bool.ml dependent_bool.mli + script_typed_ir.ml script_typed_ir.mli + script_comparable.ml script_comparable.mli + gas_comparable_input_size.ml gas_comparable_input_size.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + gas_input_size.ml gas_input_size.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_tc_context.ml script_tc_context.mli + apply_results.ml apply_results.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_token.ml ticket_token.mli + ticket_balance_key.ml ticket_balance_key.mli + ticket_lazy_storage_diff.ml ticket_lazy_storage_diff.mli + ticket_balance_migration_for_j.ml ticket_balance_migration_for_j.mli + tx_rollup_parameters.ml tx_rollup_parameters.mli + ticket_token_map.ml ticket_token_map.mli + ticket_operations_diff.ml ticket_operations_diff.mli + ticket_accounting.ml ticket_accounting.mli + tx_rollup_ticket.ml tx_rollup_ticket.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + sc_rollup_operations.ml sc_rollup_operations.mli + sc_rollup_PVM_sem.ml + sc_rollup_game.ml sc_rollup_game.mli + sc_rollup_arith.ml sc_rollup_arith.mli + sc_rollups.ml sc_rollups.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + tx_rollup_services.ml tx_rollup_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} 013_PtJakart))))) diff --git a/src/proto_013_PtJakart/lib_protocol/dune-project b/src/proto_013_PtJakart/lib_protocol/dune-project deleted file mode 100644 index e7388453bc96af87107d13b5f237dde368c34d0b..0000000000000000000000000000000000000000 --- a/src/proto_013_PtJakart/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-013-PtJakart) diff --git a/src/proto_013_PtJakart/lib_protocol/dune.inc b/src/proto_013_PtJakart/lib_protocol/dune.inc deleted file mode 100644 index cb833e6e0907bd8dc107c250430054661f6eb345..0000000000000000000000000000000000000000 --- a/src/proto_013_PtJakart/lib_protocol/dune.inc +++ /dev/null @@ -1,1033 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v1 - -; This template is intended for protocols written after the Tezos -; project start using OCaml 4.12. -; -; template.v1 was introduced when we bumped the version of our OCaml -; dependency to 4.12. This change to a newer OCaml version introduced -; new warnings that need to be ignored in the protocols written before -; the update (see dune_protocol.template.v0). - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"013-PtJakart\" end -include Tezos_protocol_environment.MakeV5(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - origination_nonce.mli origination_nonce.ml - tx_rollup_prefixes.mli tx_rollup_prefixes.ml - merkle_list.mli merkle_list.ml - bitset.mli bitset.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - sc_rollup_repr.mli sc_rollup_repr.ml - skip_list_repr.mli skip_list_repr.ml - sc_rollup_inbox_repr.mli sc_rollup_inbox_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - ticket_hash_repr.mli ticket_hash_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - indexable.mli indexable.ml - entrypoint_repr.mli entrypoint_repr.ml - tx_rollup_level_repr.mli tx_rollup_level_repr.ml - tx_rollup_l2_proof.mli tx_rollup_l2_proof.ml - tx_rollup_l2_address.mli tx_rollup_l2_address.ml - tx_rollup_l2_qty.mli tx_rollup_l2_qty.ml - tx_rollup_l2_context_hash.mli tx_rollup_l2_context_hash.ml - tx_rollup_repr.mli tx_rollup_repr.ml - tx_rollup_withdraw_repr.mli tx_rollup_withdraw_repr.ml - tx_rollup_withdraw_list_hash_repr.mli tx_rollup_withdraw_list_hash_repr.ml - tx_rollup_reveal_repr.mli tx_rollup_reveal_repr.ml - tx_rollup_message_repr.mli tx_rollup_message_repr.ml - tx_rollup_message_hash_repr.mli tx_rollup_message_hash_repr.ml - tx_rollup_inbox_repr.mli tx_rollup_inbox_repr.ml - tx_rollup_message_result_repr.mli tx_rollup_message_result_repr.ml - tx_rollup_message_result_hash_repr.mli tx_rollup_message_result_hash_repr.ml - tx_rollup_commitment_repr.mli tx_rollup_commitment_repr.ml - tx_rollup_errors_repr.ml - tx_rollup_state_repr.mli tx_rollup_state_repr.ml - bond_id_repr.mli bond_id_repr.ml - vote_repr.mli vote_repr.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - block_header_repr.mli block_header_repr.ml - destination_repr.mli destination_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - sc_rollup_tick_repr.mli sc_rollup_tick_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - ticket_hash_builder.mli ticket_hash_builder.ml - constants_storage.mli constants_storage.ml - tx_rollup_gas.mli tx_rollup_gas.ml - tx_rollup_hash_builder.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - commitment_storage.mli commitment_storage.ml - voting_period_storage.mli voting_period_storage.ml - cache_repr.mli cache_repr.ml - contract_delegate_storage.mli contract_delegate_storage.ml - stake_storage.mli stake_storage.ml - contract_storage.mli contract_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_storage.mli liquidity_baking_storage.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - legacy_script_patches_for_J.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - tx_rollup_state_storage.mli tx_rollup_state_storage.ml - tx_rollup_reveal_storage.mli tx_rollup_reveal_storage.ml - tx_rollup_inbox_storage.mli tx_rollup_inbox_storage.ml - tx_rollup_commitment_storage.mli tx_rollup_commitment_storage.ml - tx_rollup_storage.mli tx_rollup_storage.ml - sc_rollup_storage.mli sc_rollup_storage.ml - alpha_context.mli alpha_context.ml - carbonated_map_costs.mli carbonated_map_costs.ml - carbonated_map.mli carbonated_map.ml - tx_rollup_l2_storage_sig.ml - tx_rollup_l2_context_sig.ml - tx_rollup_l2_context.ml - tx_rollup_l2_batch.mli tx_rollup_l2_batch.ml - tx_rollup_l2_apply.mli tx_rollup_l2_apply.ml - tx_rollup_l2_verifier.mli tx_rollup_l2_verifier.ml - local_gas_counter.mli local_gas_counter.ml - script_tc_errors.ml - gas_monad.mli gas_monad.ml - script_ir_annot.mli script_ir_annot.ml - dependent_bool.mli dependent_bool.ml - script_typed_ir.mli script_typed_ir.ml - script_comparable.mli script_comparable.ml - gas_comparable_input_size.mli gas_comparable_input_size.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - gas_input_size.mli gas_input_size.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_tc_context.mli script_tc_context.ml - apply_results.mli apply_results.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_token.mli ticket_token.ml - ticket_balance_key.mli ticket_balance_key.ml - ticket_lazy_storage_diff.mli ticket_lazy_storage_diff.ml - ticket_balance_migration_for_j.mli ticket_balance_migration_for_j.ml - tx_rollup_parameters.mli tx_rollup_parameters.ml - ticket_token_map.mli ticket_token_map.ml - ticket_operations_diff.mli ticket_operations_diff.ml - ticket_accounting.mli ticket_accounting.ml - tx_rollup_ticket.mli tx_rollup_ticket.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - sc_rollup_operations.mli sc_rollup_operations.ml - sc_rollup_PVM_sem.ml - sc_rollup_game.mli sc_rollup_game.ml - sc_rollup_arith.mli sc_rollup_arith.ml - sc_rollups.mli sc_rollups.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - tx_rollup_services.mli tx_rollup_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "013_PtJakart"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - origination_nonce.mli origination_nonce.ml - tx_rollup_prefixes.mli tx_rollup_prefixes.ml - merkle_list.mli merkle_list.ml - bitset.mli bitset.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - sc_rollup_repr.mli sc_rollup_repr.ml - skip_list_repr.mli skip_list_repr.ml - sc_rollup_inbox_repr.mli sc_rollup_inbox_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - ticket_hash_repr.mli ticket_hash_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - indexable.mli indexable.ml - entrypoint_repr.mli entrypoint_repr.ml - tx_rollup_level_repr.mli tx_rollup_level_repr.ml - tx_rollup_l2_proof.mli tx_rollup_l2_proof.ml - tx_rollup_l2_address.mli tx_rollup_l2_address.ml - tx_rollup_l2_qty.mli tx_rollup_l2_qty.ml - tx_rollup_l2_context_hash.mli tx_rollup_l2_context_hash.ml - tx_rollup_repr.mli tx_rollup_repr.ml - tx_rollup_withdraw_repr.mli tx_rollup_withdraw_repr.ml - tx_rollup_withdraw_list_hash_repr.mli tx_rollup_withdraw_list_hash_repr.ml - tx_rollup_reveal_repr.mli tx_rollup_reveal_repr.ml - tx_rollup_message_repr.mli tx_rollup_message_repr.ml - tx_rollup_message_hash_repr.mli tx_rollup_message_hash_repr.ml - tx_rollup_inbox_repr.mli tx_rollup_inbox_repr.ml - tx_rollup_message_result_repr.mli tx_rollup_message_result_repr.ml - tx_rollup_message_result_hash_repr.mli tx_rollup_message_result_hash_repr.ml - tx_rollup_commitment_repr.mli tx_rollup_commitment_repr.ml - tx_rollup_errors_repr.ml - tx_rollup_state_repr.mli tx_rollup_state_repr.ml - bond_id_repr.mli bond_id_repr.ml - vote_repr.mli vote_repr.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - block_header_repr.mli block_header_repr.ml - destination_repr.mli destination_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - sc_rollup_tick_repr.mli sc_rollup_tick_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - ticket_hash_builder.mli ticket_hash_builder.ml - constants_storage.mli constants_storage.ml - tx_rollup_gas.mli tx_rollup_gas.ml - tx_rollup_hash_builder.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - commitment_storage.mli commitment_storage.ml - voting_period_storage.mli voting_period_storage.ml - cache_repr.mli cache_repr.ml - contract_delegate_storage.mli contract_delegate_storage.ml - stake_storage.mli stake_storage.ml - contract_storage.mli contract_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_storage.mli liquidity_baking_storage.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - legacy_script_patches_for_J.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - tx_rollup_state_storage.mli tx_rollup_state_storage.ml - tx_rollup_reveal_storage.mli tx_rollup_reveal_storage.ml - tx_rollup_inbox_storage.mli tx_rollup_inbox_storage.ml - tx_rollup_commitment_storage.mli tx_rollup_commitment_storage.ml - tx_rollup_storage.mli tx_rollup_storage.ml - sc_rollup_storage.mli sc_rollup_storage.ml - alpha_context.mli alpha_context.ml - carbonated_map_costs.mli carbonated_map_costs.ml - carbonated_map.mli carbonated_map.ml - tx_rollup_l2_storage_sig.ml - tx_rollup_l2_context_sig.ml - tx_rollup_l2_context.ml - tx_rollup_l2_batch.mli tx_rollup_l2_batch.ml - tx_rollup_l2_apply.mli tx_rollup_l2_apply.ml - tx_rollup_l2_verifier.mli tx_rollup_l2_verifier.ml - local_gas_counter.mli local_gas_counter.ml - script_tc_errors.ml - gas_monad.mli gas_monad.ml - script_ir_annot.mli script_ir_annot.ml - dependent_bool.mli dependent_bool.ml - script_typed_ir.mli script_typed_ir.ml - script_comparable.mli script_comparable.ml - gas_comparable_input_size.mli gas_comparable_input_size.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - gas_input_size.mli gas_input_size.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_tc_context.mli script_tc_context.ml - apply_results.mli apply_results.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_token.mli ticket_token.ml - ticket_balance_key.mli ticket_balance_key.ml - ticket_lazy_storage_diff.mli ticket_lazy_storage_diff.ml - ticket_balance_migration_for_j.mli ticket_balance_migration_for_j.ml - tx_rollup_parameters.mli tx_rollup_parameters.ml - ticket_token_map.mli ticket_token_map.ml - ticket_operations_diff.mli ticket_operations_diff.ml - ticket_accounting.mli ticket_accounting.ml - tx_rollup_ticket.mli tx_rollup_ticket.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - sc_rollup_operations.mli sc_rollup_operations.ml - sc_rollup_PVM_sem.ml - sc_rollup_game.mli sc_rollup_game.ml - sc_rollup_arith.mli sc_rollup_arith.ml - sc_rollups.mli sc_rollups.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - tx_rollup_services.mli tx_rollup_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - origination_nonce.mli origination_nonce.ml - tx_rollup_prefixes.mli tx_rollup_prefixes.ml - merkle_list.mli merkle_list.ml - bitset.mli bitset.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - sc_rollup_repr.mli sc_rollup_repr.ml - skip_list_repr.mli skip_list_repr.ml - sc_rollup_inbox_repr.mli sc_rollup_inbox_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - ticket_hash_repr.mli ticket_hash_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - indexable.mli indexable.ml - entrypoint_repr.mli entrypoint_repr.ml - tx_rollup_level_repr.mli tx_rollup_level_repr.ml - tx_rollup_l2_proof.mli tx_rollup_l2_proof.ml - tx_rollup_l2_address.mli tx_rollup_l2_address.ml - tx_rollup_l2_qty.mli tx_rollup_l2_qty.ml - tx_rollup_l2_context_hash.mli tx_rollup_l2_context_hash.ml - tx_rollup_repr.mli tx_rollup_repr.ml - tx_rollup_withdraw_repr.mli tx_rollup_withdraw_repr.ml - tx_rollup_withdraw_list_hash_repr.mli tx_rollup_withdraw_list_hash_repr.ml - tx_rollup_reveal_repr.mli tx_rollup_reveal_repr.ml - tx_rollup_message_repr.mli tx_rollup_message_repr.ml - tx_rollup_message_hash_repr.mli tx_rollup_message_hash_repr.ml - tx_rollup_inbox_repr.mli tx_rollup_inbox_repr.ml - tx_rollup_message_result_repr.mli tx_rollup_message_result_repr.ml - tx_rollup_message_result_hash_repr.mli tx_rollup_message_result_hash_repr.ml - tx_rollup_commitment_repr.mli tx_rollup_commitment_repr.ml - tx_rollup_errors_repr.ml - tx_rollup_state_repr.mli tx_rollup_state_repr.ml - bond_id_repr.mli bond_id_repr.ml - vote_repr.mli vote_repr.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - block_header_repr.mli block_header_repr.ml - destination_repr.mli destination_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - sc_rollup_tick_repr.mli sc_rollup_tick_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - ticket_hash_builder.mli ticket_hash_builder.ml - constants_storage.mli constants_storage.ml - tx_rollup_gas.mli tx_rollup_gas.ml - tx_rollup_hash_builder.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - commitment_storage.mli commitment_storage.ml - voting_period_storage.mli voting_period_storage.ml - cache_repr.mli cache_repr.ml - contract_delegate_storage.mli contract_delegate_storage.ml - stake_storage.mli stake_storage.ml - contract_storage.mli contract_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_storage.mli liquidity_baking_storage.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - legacy_script_patches_for_J.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - tx_rollup_state_storage.mli tx_rollup_state_storage.ml - tx_rollup_reveal_storage.mli tx_rollup_reveal_storage.ml - tx_rollup_inbox_storage.mli tx_rollup_inbox_storage.ml - tx_rollup_commitment_storage.mli tx_rollup_commitment_storage.ml - tx_rollup_storage.mli tx_rollup_storage.ml - sc_rollup_storage.mli sc_rollup_storage.ml - alpha_context.mli alpha_context.ml - carbonated_map_costs.mli carbonated_map_costs.ml - carbonated_map.mli carbonated_map.ml - tx_rollup_l2_storage_sig.ml - tx_rollup_l2_context_sig.ml - tx_rollup_l2_context.ml - tx_rollup_l2_batch.mli tx_rollup_l2_batch.ml - tx_rollup_l2_apply.mli tx_rollup_l2_apply.ml - tx_rollup_l2_verifier.mli tx_rollup_l2_verifier.ml - local_gas_counter.mli local_gas_counter.ml - script_tc_errors.ml - gas_monad.mli gas_monad.ml - script_ir_annot.mli script_ir_annot.ml - dependent_bool.mli dependent_bool.ml - script_typed_ir.mli script_typed_ir.ml - script_comparable.mli script_comparable.ml - gas_comparable_input_size.mli gas_comparable_input_size.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - gas_input_size.mli gas_input_size.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_tc_context.mli script_tc_context.ml - apply_results.mli apply_results.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_token.mli ticket_token.ml - ticket_balance_key.mli ticket_balance_key.ml - ticket_lazy_storage_diff.mli ticket_lazy_storage_diff.ml - ticket_balance_migration_for_j.mli ticket_balance_migration_for_j.ml - tx_rollup_parameters.mli tx_rollup_parameters.ml - ticket_token_map.mli ticket_token_map.ml - ticket_operations_diff.mli ticket_operations_diff.ml - ticket_accounting.mli ticket_accounting.ml - tx_rollup_ticket.mli tx_rollup_ticket.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - sc_rollup_operations.mli sc_rollup_operations.ml - sc_rollup_PVM_sem.ml - sc_rollup_game.mli sc_rollup_game.ml - sc_rollup_arith.mli sc_rollup_arith.ml - sc_rollups.mli sc_rollups.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - tx_rollup_services.mli tx_rollup_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_013_PtJakart.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY\" -let name = Environment.Name.name -include Tezos_raw_protocol_013_PtJakart -include Tezos_raw_protocol_013_PtJakart.Main -"))) - -(library - (name tezos_protocol_environment_013_PtJakart) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-013-PtJakart.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_013_PtJakart) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-013-PtJakart.raw) - (libraries tezos_protocol_environment_013_PtJakart) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-40..42-44-45-48 - -warn-error +a - -open Tezos_protocol_environment_013_PtJakart__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Non_empty_string - Path_encoding - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Contract_hash - Blinded_public_key_hash - Block_payload_hash - Origination_nonce - Tx_rollup_prefixes - Merkle_list - Bitset - Slot_repr - Tez_repr - Period_repr - Time_repr - Round_repr - Block_payload_repr - Fixed_point_repr - Saturation_repr - Gas_limit_repr - Constants_repr - Raw_level_repr - Fitness_repr - Cycle_repr - Level_repr - Sc_rollup_repr - Skip_list_repr - Sc_rollup_inbox_repr - Seed_repr - Sampler - Voting_period_repr - Script_string_repr - Script_int_repr - Script_timestamp_repr - Ticket_hash_repr - Michelson_v1_primitives - Script_repr - Cache_memory_helpers - Contract_repr - Indexable - Entrypoint_repr - Tx_rollup_level_repr - Tx_rollup_l2_proof - Tx_rollup_l2_address - Tx_rollup_l2_qty - Tx_rollup_l2_context_hash - Tx_rollup_repr - Tx_rollup_withdraw_repr - Tx_rollup_withdraw_list_hash_repr - Tx_rollup_reveal_repr - Tx_rollup_message_repr - Tx_rollup_message_hash_repr - Tx_rollup_inbox_repr - Tx_rollup_message_result_repr - Tx_rollup_message_result_hash_repr - Tx_rollup_commitment_repr - Tx_rollup_errors_repr - Tx_rollup_state_repr - Bond_id_repr - Vote_repr - Liquidity_baking_repr - Block_header_repr - Destination_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Sapling_repr - Lazy_storage_kind - Receipt_repr - Migration_repr - Sc_rollup_tick_repr - Raw_context_intf - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Ticket_hash_builder - Constants_storage - Tx_rollup_gas - Tx_rollup_hash_builder - Level_storage - Nonce_storage - Seed_storage - Contract_manager_storage - Delegate_activation_storage - Frozen_deposits_storage - Sapling_storage - Lazy_storage_diff - Commitment_storage - Voting_period_storage - Cache_repr - Contract_delegate_storage - Stake_storage - Contract_storage - Token - Delegate_storage - Bootstrap_storage - Vote_storage - Fees_storage - Ticket_storage - Liquidity_baking_storage - Liquidity_baking_cpmm - Liquidity_baking_lqt - Liquidity_baking_migration - Legacy_script_patches_for_J - Init_storage - Sapling_validator - Global_constants_costs - Global_constants_storage - Tx_rollup_state_storage - Tx_rollup_reveal_storage - Tx_rollup_inbox_storage - Tx_rollup_commitment_storage - Tx_rollup_storage - Sc_rollup_storage - Alpha_context - Carbonated_map_costs - Carbonated_map - Tx_rollup_l2_storage_sig - Tx_rollup_l2_context_sig - Tx_rollup_l2_context - Tx_rollup_l2_batch - Tx_rollup_l2_apply - Tx_rollup_l2_verifier - Local_gas_counter - Script_tc_errors - Gas_monad - Script_ir_annot - Dependent_bool - Script_typed_ir - Script_comparable - Gas_comparable_input_size - Script_set - Script_map - Gas_input_size - Script_typed_ir_size - Script_typed_ir_size_costs - Michelson_v1_gas - Script_list - Script_tc_context - Apply_results - Script_ir_translator - Script_cache - Script_tc_errors_registration - Ticket_costs - Ticket_scanner - Ticket_token - Ticket_balance_key - Ticket_lazy_storage_diff - Ticket_balance_migration_for_j - Tx_rollup_parameters - Ticket_token_map - Ticket_operations_diff - Ticket_accounting - Tx_rollup_ticket - Script_interpreter_defs - Script_interpreter - Sc_rollup_operations - Sc_rollup_PVM_sem - Sc_rollup_game - Sc_rollup_arith - Sc_rollups - Baking - Amendment - Apply - Services_registration - Constants_services - Sapling_services - Contract_services - Delegate_services - Voting_services - Tx_rollup_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-013-PtJakart) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_013_PtJakart) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-013-PtJakart) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_013_PtJakart) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_013_PtJakart_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-013-PtJakart) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-013-PtJakart.raw) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_013_PtJakart) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-013-PtJakart) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-013-PtJakart - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-40..42-44-45-48 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - origination_nonce.mli origination_nonce.ml - tx_rollup_prefixes.mli tx_rollup_prefixes.ml - merkle_list.mli merkle_list.ml - bitset.mli bitset.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - sc_rollup_repr.mli sc_rollup_repr.ml - skip_list_repr.mli skip_list_repr.ml - sc_rollup_inbox_repr.mli sc_rollup_inbox_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - script_string_repr.mli script_string_repr.ml - script_int_repr.mli script_int_repr.ml - script_timestamp_repr.mli script_timestamp_repr.ml - ticket_hash_repr.mli ticket_hash_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - indexable.mli indexable.ml - entrypoint_repr.mli entrypoint_repr.ml - tx_rollup_level_repr.mli tx_rollup_level_repr.ml - tx_rollup_l2_proof.mli tx_rollup_l2_proof.ml - tx_rollup_l2_address.mli tx_rollup_l2_address.ml - tx_rollup_l2_qty.mli tx_rollup_l2_qty.ml - tx_rollup_l2_context_hash.mli tx_rollup_l2_context_hash.ml - tx_rollup_repr.mli tx_rollup_repr.ml - tx_rollup_withdraw_repr.mli tx_rollup_withdraw_repr.ml - tx_rollup_withdraw_list_hash_repr.mli tx_rollup_withdraw_list_hash_repr.ml - tx_rollup_reveal_repr.mli tx_rollup_reveal_repr.ml - tx_rollup_message_repr.mli tx_rollup_message_repr.ml - tx_rollup_message_hash_repr.mli tx_rollup_message_hash_repr.ml - tx_rollup_inbox_repr.mli tx_rollup_inbox_repr.ml - tx_rollup_message_result_repr.mli tx_rollup_message_result_repr.ml - tx_rollup_message_result_hash_repr.mli tx_rollup_message_result_hash_repr.ml - tx_rollup_commitment_repr.mli tx_rollup_commitment_repr.ml - tx_rollup_errors_repr.ml - tx_rollup_state_repr.mli tx_rollup_state_repr.ml - bond_id_repr.mli bond_id_repr.ml - vote_repr.mli vote_repr.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - block_header_repr.mli block_header_repr.ml - destination_repr.mli destination_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - sc_rollup_tick_repr.mli sc_rollup_tick_repr.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - ticket_hash_builder.mli ticket_hash_builder.ml - constants_storage.mli constants_storage.ml - tx_rollup_gas.mli tx_rollup_gas.ml - tx_rollup_hash_builder.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - commitment_storage.mli commitment_storage.ml - voting_period_storage.mli voting_period_storage.ml - cache_repr.mli cache_repr.ml - contract_delegate_storage.mli contract_delegate_storage.ml - stake_storage.mli stake_storage.ml - contract_storage.mli contract_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_storage.mli liquidity_baking_storage.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - legacy_script_patches_for_J.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - tx_rollup_state_storage.mli tx_rollup_state_storage.ml - tx_rollup_reveal_storage.mli tx_rollup_reveal_storage.ml - tx_rollup_inbox_storage.mli tx_rollup_inbox_storage.ml - tx_rollup_commitment_storage.mli tx_rollup_commitment_storage.ml - tx_rollup_storage.mli tx_rollup_storage.ml - sc_rollup_storage.mli sc_rollup_storage.ml - alpha_context.mli alpha_context.ml - carbonated_map_costs.mli carbonated_map_costs.ml - carbonated_map.mli carbonated_map.ml - tx_rollup_l2_storage_sig.ml - tx_rollup_l2_context_sig.ml - tx_rollup_l2_context.ml - tx_rollup_l2_batch.mli tx_rollup_l2_batch.ml - tx_rollup_l2_apply.mli tx_rollup_l2_apply.ml - tx_rollup_l2_verifier.mli tx_rollup_l2_verifier.ml - local_gas_counter.mli local_gas_counter.ml - script_tc_errors.ml - gas_monad.mli gas_monad.ml - script_ir_annot.mli script_ir_annot.ml - dependent_bool.mli dependent_bool.ml - script_typed_ir.mli script_typed_ir.ml - script_comparable.mli script_comparable.ml - gas_comparable_input_size.mli gas_comparable_input_size.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - gas_input_size.mli gas_input_size.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_tc_context.mli script_tc_context.ml - apply_results.mli apply_results.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_token.mli ticket_token.ml - ticket_balance_key.mli ticket_balance_key.ml - ticket_lazy_storage_diff.mli ticket_lazy_storage_diff.ml - ticket_balance_migration_for_j.mli ticket_balance_migration_for_j.ml - tx_rollup_parameters.mli tx_rollup_parameters.ml - ticket_token_map.mli ticket_token_map.ml - ticket_operations_diff.mli ticket_operations_diff.ml - ticket_accounting.mli ticket_accounting.ml - tx_rollup_ticket.mli tx_rollup_ticket.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - sc_rollup_operations.mli sc_rollup_operations.ml - sc_rollup_PVM_sem.ml - sc_rollup_game.mli sc_rollup_game.ml - sc_rollup_arith.mli sc_rollup_arith.ml - sc_rollups.mli sc_rollups.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - tx_rollup_services.mli tx_rollup_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_013_PtJakart.objs/native/tezos_protocol_013_PtJakart.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-013-PtJakart) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_013_PtJakart/lib_protocol/test/helpers/.ocamlformat b/src/proto_013_PtJakart/lib_protocol/test/helpers/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_013_PtJakart/lib_protocol/test/helpers/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_013_PtJakart/lib_protocol/test/helpers/dune b/src/proto_013_PtJakart/lib_protocol/test/helpers/dune index 02fc2085ab6b7c05c2722774c5f54c265af310d2..46811b28fc8b342666f9c76b7521ac19263fc94d 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/helpers/dune +++ b/src/proto_013_PtJakart/lib_protocol/test/helpers/dune @@ -1,25 +1,32 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + (library (name tezos_013_PtJakart_test_helpers) - (instrumentation (backend bisect_ppx)) (public_name tezos-013-PtJakart-test-helpers) - (libraries alcotest-lwt - qcheck-alcotest - tezos-test-helpers - tezos-base - tezos-micheline - tezos-stdlib-unix - tezos-shell-services - tezos-protocol-environment - tezos-protocol-013-PtJakart - tezos-protocol-013-PtJakart-parameters - tezos-client-013-PtJakart - tezos-protocol-plugin-013-PtJakart) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_micheline - -open Tezos_stdlib_unix - -open Tezos_protocol_013_PtJakart - -open Tezos_client_013_PtJakart - -open Tezos_protocol_plugin_013_PtJakart - -open Tezos_protocol_environment_013_PtJakart - -open Tezos_shell_services))) + (instrumentation (backend bisect_ppx)) + (libraries + alcotest-lwt + qcheck-alcotest + tezos-test-helpers + tezos-base + tezos-micheline + tezos-stdlib-unix + tezos-protocol-013-PtJakart + tezos-client-013-PtJakart + tezos-protocol-013-PtJakart-parameters + tezos-protocol-environment + tezos-protocol-plugin-013-PtJakart + tezos-protocol-013-PtJakart.environment + tezos-shell-services) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_micheline + -open Tezos_stdlib_unix + -open Tezos_protocol_013_PtJakart + -open Tezos_client_013_PtJakart + -open Tezos_protocol_plugin_013_PtJakart + -open Tezos_protocol_environment_013_PtJakart + -open Tezos_shell_services))) diff --git a/src/proto_013_PtJakart/lib_protocol/test/helpers/dune-project b/src/proto_013_PtJakart/lib_protocol/test/helpers/dune-project deleted file mode 100644 index 8d36470afaad6691387975e5eacb4d8764a2bfe4..0000000000000000000000000000000000000000 --- a/src/proto_013_PtJakart/lib_protocol/test/helpers/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-alpha-test-helpers) diff --git a/src/proto_013_PtJakart/lib_protocol/test/integration/consensus/dune b/src/proto_013_PtJakart/lib_protocol/test/integration/consensus/dune index 99032eea8a684f82b07541c67b556405cbbc99d2..d38a5fd03f414096fa1c6846cc98a21958929c7e 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/integration/consensus/dune +++ b/src/proto_013_PtJakart/lib_protocol/test/integration/consensus/dune @@ -1,17 +1,27 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-013-PtJakart + tezos-013-PtJakart-test-helpers + tezos-base-test-helpers + tezos-protocol-013-PtJakart-parameters + tezos-protocol-plugin-013-PtJakart) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_013_PtJakart + -open Tezos_013_PtJakart_test_helpers + -open Tezos_base_test_helpers + -open Tezos_protocol_013_PtJakart_parameters + -open Tezos_protocol_plugin_013_PtJakart))) + +(rule + (alias runtest) (package tezos-protocol-013-PtJakart-tests) - (libraries alcotest-lwt - tezos-base - tezos-protocol-013-PtJakart - tezos-base-test-helpers - tezos-013-PtJakart-test-helpers - tezos-protocol-013-PtJakart-parameters - tezos-protocol-plugin-013-PtJakart) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_013_PtJakart - -open Tezos_013_PtJakart_test_helpers - -open Tezos_base_test_helpers - -open Tezos_protocol_013_PtJakart_parameters - -open Tezos_protocol_plugin_013_PtJakart))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_013_PtJakart/lib_protocol/test/integration/dune b/src/proto_013_PtJakart/lib_protocol/test/integration/dune index d740fa552d27a6cdad0cfe21d79a1be73f9b3808..d945e5a6f161df5ee116f7a25bc69f67c1379468 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/integration/dune +++ b/src/proto_013_PtJakart/lib_protocol/test/integration/dune @@ -1,17 +1,27 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-client-013-PtJakart + tezos-protocol-013-PtJakart + tezos-protocol-013-PtJakart-parameters + tezos-013-PtJakart-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_client_013_PtJakart + -open Tezos_protocol_013_PtJakart + -open Tezos_protocol_013_PtJakart_parameters + -open Tezos_013_PtJakart_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-013-PtJakart-tests) - (libraries alcotest-lwt - tezos-base - tezos-client-013-PtJakart - tezos-protocol-013-PtJakart - tezos-protocol-013-PtJakart-parameters - tezos-base-test-helpers - tezos-013-PtJakart-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_client_013_PtJakart - -open Tezos_protocol_013_PtJakart - -open Tezos_protocol_013_PtJakart_parameters - -open Tezos_013_PtJakart_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_013_PtJakart/lib_protocol/test/integration/gas/dune b/src/proto_013_PtJakart/lib_protocol/test/integration/gas/dune index 97a840455731f3d70cb1379b19f6661a2bcfe53a..d3e8de79912c341af04296a1b111dc91229b295a 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/integration/gas/dune +++ b/src/proto_013_PtJakart/lib_protocol/test/integration/gas/dune @@ -1,13 +1,23 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-013-PtJakart + tezos-013-PtJakart-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_013_PtJakart + -open Tezos_013_PtJakart_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-013-PtJakart-tests) - (libraries alcotest-lwt - tezos-base - tezos-protocol-013-PtJakart - tezos-base-test-helpers - tezos-013-PtJakart-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_013_PtJakart - -open Tezos_013_PtJakart_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_013_PtJakart/lib_protocol/test/integration/michelson/dune b/src/proto_013_PtJakart/lib_protocol/test/integration/michelson/dune index 6e87aba942cdc12ecdc147c2f194726273ad3226..e6d9a3ccfe3d195ae46d1edc56e6cc0a7da057ff 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/integration/michelson/dune +++ b/src/proto_013_PtJakart/lib_protocol/test/integration/michelson/dune @@ -1,26 +1,34 @@ -(test - (name main) - (package tezos-protocol-013-PtJakart-tests) - (deps (glob_files contracts/*) - (glob_files patched_contracts/*)) - (libraries alcotest-lwt - tezos-base - tezos-protocol-013-PtJakart - tezos-protocol-013-PtJakart-parameters - tezos-base-test-helpers - tezos-013-PtJakart-test-helpers +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. - tezos-client-013-PtJakart - tezos-micheline - tezos-benchmark - tezos-benchmark-013-PtJakart) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_013_PtJakart - -open Tezos_013_PtJakart_test_helpers - -open Tezos_base_test_helpers +(executable + (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-013-PtJakart + tezos-013-PtJakart-test-helpers + tezos-base-test-helpers + tezos-client-013-PtJakart + tezos-benchmark + tezos-micheline + tezos-benchmark-013-PtJakart + tezos-benchmark-type-inference-013-PtJakart + tezos-protocol-013-PtJakart-parameters) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_013_PtJakart + -open Tezos_013_PtJakart_test_helpers + -open Tezos_base_test_helpers + -open Tezos_client_013_PtJakart + -open Tezos_micheline + -open Tezos_benchmark_013_PtJakart + -open Tezos_benchmark_type_inference_013_PtJakart))) - -open Tezos_client_013_PtJakart - -open Tezos_micheline - -open Tezos_benchmark_013_PtJakart - -open Tezos_benchmark_type_inference_013_PtJakart))) +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (deps (glob_files contracts/*) (glob_files patched_contracts/*)) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_013_PtJakart/lib_protocol/test/integration/operations/dune b/src/proto_013_PtJakart/lib_protocol/test/integration/operations/dune index 148372422d3510811c0d2d13803a158a61fd29d3..771c03cb38966c2535016899cb80640d7987e0db 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/integration/operations/dune +++ b/src/proto_013_PtJakart/lib_protocol/test/integration/operations/dune @@ -1,15 +1,26 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-013-PtJakart + tezos-client-013-PtJakart + tezos-013-PtJakart-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_013_PtJakart + -open Tezos_client_013_PtJakart + -open Tezos_013_PtJakart_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-013-PtJakart-tests) (deps (glob_files contracts/*)) - (libraries alcotest-lwt - tezos-base - tezos-protocol-013-PtJakart - tezos-base-test-helpers - tezos-013-PtJakart-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_013_PtJakart - -open Tezos_client_013_PtJakart - -open Tezos_013_PtJakart_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_013_PtJakart/lib_protocol/test/pbt/dune b/src/proto_013_PtJakart/lib_protocol/test/pbt/dune index 812148a98c6e4d096db08480a9f3bff71ab1d0b7..caa8cabce5901d94ce8c0fc2398f59c32122d040 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/pbt/dune +++ b/src/proto_013_PtJakart/lib_protocol/test/pbt/dune @@ -1,32 +1,99 @@ -(tests - (package tezos-protocol-013-PtJakart-tests) - (names liquidity_baking_pbt - saturation_fuzzing - test_merkle_list - test_gas_properties - test_sampler - test_script_comparison - test_tez_repr - test_tx_rollup_l2_encoding - test_bitset - test_sc_rollup_tick_repr - refutation_game_pbt - test_carbonated_map) - (libraries tezos-base - tezos-micheline - tezos-client-013-PtJakart - tezos-test-helpers - tezos-013-PtJakart-test-helpers - alcotest - qcheck-alcotest - tezos-benchmark - tezos-benchmark-013-PtJakart) - (flags (:standard - -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_micheline - -open Tezos_client_013_PtJakart - -open Tezos_protocol_013_PtJakart - -open Tezos_013_PtJakart_test_helpers - -open Tezos_benchmark_013_PtJakart - -open Tezos_benchmark_type_inference_013_PtJakart))) +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executables + (names + liquidity_baking_pbt + saturation_fuzzing + test_merkle_list + test_gas_properties + test_sampler + test_script_comparison + test_tez_repr + test_tx_rollup_l2_encoding + test_bitset + test_sc_rollup_tick_repr + refutation_game_pbt + test_carbonated_map) + (libraries + tezos-base + tezos-micheline + tezos-client-013-PtJakart + tezos-protocol-013-PtJakart + tezos-test-helpers + tezos-013-PtJakart-test-helpers + alcotest + qcheck-alcotest + tezos-benchmark + tezos-benchmark-013-PtJakart + tezos-benchmark-type-inference-013-PtJakart) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_micheline + -open Tezos_client_013_PtJakart + -open Tezos_protocol_013_PtJakart + -open Tezos_013_PtJakart_test_helpers + -open Tezos_benchmark_013_PtJakart + -open Tezos_benchmark_type_inference_013_PtJakart))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./liquidity_baking_pbt.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./saturation_fuzzing.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_merkle_list.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_gas_properties.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_sampler.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_script_comparison.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_tez_repr.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_tx_rollup_l2_encoding.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_bitset.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_sc_rollup_tick_repr.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./refutation_game_pbt.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-013-PtJakart-tests) + (action (run %{dep:./test_carbonated_map.exe}))) diff --git a/src/proto_013_PtJakart/lib_protocol/test/unit/dune b/src/proto_013_PtJakart/lib_protocol/test/unit/dune index 9b3b9e5d90a98b5dd012e516018192843f975279..a1d6af2718f3cb0123a39b6195009f85daf99fc3 100644 --- a/src/proto_013_PtJakart/lib_protocol/test/unit/dune +++ b/src/proto_013_PtJakart/lib_protocol/test/unit/dune @@ -1,23 +1,35 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + tezos-base + tezos-base-test-helpers + tezos-micheline + tezos-client-013-PtJakart + tezos-client-base + tezos-protocol-013-PtJakart-parameters + tezos-protocol-environment + tezos-stdlib-unix + tezos-protocol-013-PtJakart + tezos-protocol-013-PtJakart.environment + tezos-013-PtJakart-test-helpers + alcotest-lwt + tezos-stdlib) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_base_test_helpers + -open Tezos_micheline + -open Tezos_client_013_PtJakart + -open Tezos_protocol_013_PtJakart + -open Tezos_protocol_environment_013_PtJakart + -open Tezos_013_PtJakart_test_helpers + -open Tezos_stdlib))) + +(rule + (alias runtest) (package tezos-protocol-013-PtJakart-tests) - (libraries tezos-base - tezos-micheline - tezos-protocol-environment - alcotest-lwt - tezos-013-PtJakart-test-helpers - tezos-stdlib-unix - tezos-client-base - tezos-protocol-013-PtJakart-parameters - tezos-base-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_base_test_helpers - -open Tezos_micheline - -open Tezos_client_013_PtJakart - -open Tezos_protocol_013_PtJakart - -open Tezos_protocol_environment_013_PtJakart - -open Tezos_013_PtJakart_test_helpers - -open Tezos_base_test_helpers - -open Tezos_stdlib)) - (action (run %{test} "test" "Unit"))) + (action (run %{exe:main.exe} test Unit))) diff --git a/src/proto_013_PtJakart/lib_protocol/tezos-protocol-013-PtJakart-tests.opam b/src/proto_013_PtJakart/lib_protocol/tezos-protocol-013-PtJakart-tests.opam deleted file mode 100644 index ddddfa8a61c4ed94256d1e5bad729ce32942c3d2..0000000000000000000000000000000000000000 --- a/src/proto_013_PtJakart/lib_protocol/tezos-protocol-013-PtJakart-tests.opam +++ /dev/null @@ -1,36 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" - "alcotest-lwt" { with-test & >= "1.1.0" } - "astring" { with-test } - "tezos-test-helpers" { with-test } - "qcheck-alcotest" { with-test } - "tezos-013-PtJakart-test-helpers" { with-test } - "tezos-stdlib-unix" { with-test } - "tezos-protocol-environment" { with-test } - "tezos-client-base" { with-test } - "tezos-protocol-013-PtJakart-parameters" { with-test } - "tezos-shell-services" { with-test } - "tezos-base-test-helpers" { with-test } - "tezos-benchmark" { with-test } - "tezos-benchmark-013-PtJakart" { with-test } -] -build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "013_PtJakart" - ] - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} -] -synopsis: "Tezos/Protocol: tests for economic-protocol definition" diff --git a/src/proto_alpha/lib_protocol/.ocamlformat b/src/proto_alpha/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_alpha/lib_protocol/dune b/src/proto_alpha/lib_protocol/dune deleted file mode 120000 index 8b081aeedbd3410224c813ba312f8f9b8f8f828e..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v1 \ No newline at end of file diff --git a/src/proto_alpha/lib_protocol/dune b/src/proto_alpha/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..209816423928b5a09395f8cd21c2d2eabdba6f8d --- /dev/null +++ b/src/proto_alpha/lib_protocol/dune @@ -0,0 +1,1043 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_alpha) + (public_name tezos-protocol-alpha.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"alpha\" end\ninclude Tezos_protocol_environment.MakeV6(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_alpha) + (public_name tezos-protocol-alpha.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-alpha.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_alpha.Environment + -open Pervasives + -open Error_monad)) + (modules + Misc + Non_empty_string + Path_encoding + Storage_description + State_hash + Nonce_hash + Script_expr_hash + Origination_nonce + Contract_hash + Blinded_public_key_hash + Block_payload_hash + Tx_rollup_prefixes + Merkle_list + Bitset + Slot_repr + Tez_repr + Period_repr + Time_repr + Ratio_repr + Round_repr + Block_payload_repr + Fixed_point_repr + Saturation_repr + Gas_limit_repr + Constants_parametric_repr + Constants_parametric_previous_repr + Constants_repr + Raw_level_repr + Fitness_repr + Cycle_repr + Level_repr + Sc_rollup_repr + Skip_list_repr + Sc_rollup_inbox_repr + Sc_rollup_tick_repr + Sc_rollup_game_repr + Seed_repr + Sampler + Voting_period_repr + Ticket_hash_repr + Michelson_v1_primitives + Script_repr + Cache_memory_helpers + Contract_repr + Indexable + Entrypoint_repr + Tx_rollup_level_repr + Tx_rollup_l2_proof + Tx_rollup_l2_address + Tx_rollup_l2_qty + Tx_rollup_l2_context_hash + Tx_rollup_repr + Tx_rollup_withdraw_repr + Tx_rollup_withdraw_list_hash_repr + Tx_rollup_reveal_repr + Tx_rollup_message_repr + Tx_rollup_message_hash_repr + Tx_rollup_inbox_repr + Tx_rollup_message_result_repr + Tx_rollup_message_result_hash_repr + Tx_rollup_commitment_repr + Tx_rollup_errors_repr + Tx_rollup_state_repr + Bond_id_repr + Vote_repr + Liquidity_baking_repr + Block_header_repr + Destination_repr + Operation_repr + Manager_repr + Commitment_repr + Parameters_repr + Sapling_repr + Lazy_storage_kind + Receipt_repr + Migration_repr + Carbonated_map_costs + Carbonated_map + Raw_context_intf + Raw_context + Storage_costs + Storage_sigs + Storage_functors + Storage + Ticket_hash_builder + Constants_storage + Tx_rollup_gas + Tx_rollup_hash_builder + Level_storage + Nonce_storage + Seed_storage + Contract_manager_storage + Delegate_activation_storage + Frozen_deposits_storage + Sapling_storage + Lazy_storage_diff + Commitment_storage + Voting_period_storage + Cache_repr + Contract_delegate_storage + Stake_storage + Contract_storage + Token + Delegate_storage + Bootstrap_storage + Vote_storage + Fees_storage + Ticket_storage + Liquidity_baking_storage + Liquidity_baking_cpmm + Liquidity_baking_lqt + Liquidity_baking_migration + Init_storage + Sapling_validator + Global_constants_costs + Global_constants_storage + Tx_rollup_state_storage + Tx_rollup_reveal_storage + Tx_rollup_inbox_storage + Tx_rollup_commitment_storage + Tx_rollup_storage + Sc_rollup_costs + Sc_rollup_storage + Alpha_context + Script_string + Script_int + Script_timestamp + Tx_rollup_l2_storage_sig + Tx_rollup_l2_context_sig + Tx_rollup_l2_context + Tx_rollup_l2_batch + Tx_rollup_l2_apply + Tx_rollup_l2_verifier + Local_gas_counter + Script_tc_errors + Gas_monad + Script_ir_annot + Dependent_bool + Script_typed_ir + Script_comparable + Gas_comparable_input_size + Script_set + Script_map + Gas_input_size + Script_typed_ir_size + Script_typed_ir_size_costs + Michelson_v1_gas + Script_list + Script_tc_context + Apply_results + Script_ir_translator + Script_cache + Script_tc_errors_registration + Ticket_costs + Ticket_scanner + Ticket_token + Ticket_balance_key + Ticket_lazy_storage_diff + Tx_rollup_parameters + Ticket_token_map + Ticket_operations_diff + Ticket_accounting + Tx_rollup_ticket + Script_interpreter_defs + Script_interpreter + Sc_rollup_management_protocol + Sc_rollup_operations + Sc_rollup_PVM_sem + Sc_rollup_arith + Sc_rollups + Baking + Amendment + Apply + Services_registration + Constants_services + Sapling_services + Contract_services + Delegate_services + Voting_services + Tx_rollup_services + Alpha_services + Main)) + +(library + (name tezos_protocol_alpha) + (public_name tezos-protocol-alpha) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-alpha.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-alpha) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + origination_nonce.ml origination_nonce.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + tx_rollup_prefixes.ml tx_rollup_prefixes.mli + merkle_list.ml merkle_list.mli + bitset.ml bitset.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + ratio_repr.ml ratio_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_parametric_repr.ml constants_parametric_repr.mli + constants_parametric_previous_repr.ml + constants_parametric_previous_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + sc_rollup_repr.ml sc_rollup_repr.mli + skip_list_repr.ml skip_list_repr.mli + sc_rollup_inbox_repr.ml sc_rollup_inbox_repr.mli + sc_rollup_tick_repr.ml sc_rollup_tick_repr.mli + sc_rollup_game_repr.ml sc_rollup_game_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + ticket_hash_repr.ml ticket_hash_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + indexable.ml indexable.mli + entrypoint_repr.ml entrypoint_repr.mli + tx_rollup_level_repr.ml tx_rollup_level_repr.mli + tx_rollup_l2_proof.ml tx_rollup_l2_proof.mli + tx_rollup_l2_address.ml tx_rollup_l2_address.mli + tx_rollup_l2_qty.ml tx_rollup_l2_qty.mli + tx_rollup_l2_context_hash.ml tx_rollup_l2_context_hash.mli + tx_rollup_repr.ml tx_rollup_repr.mli + tx_rollup_withdraw_repr.ml tx_rollup_withdraw_repr.mli + tx_rollup_withdraw_list_hash_repr.ml tx_rollup_withdraw_list_hash_repr.mli + tx_rollup_reveal_repr.ml tx_rollup_reveal_repr.mli + tx_rollup_message_repr.ml tx_rollup_message_repr.mli + tx_rollup_message_hash_repr.ml tx_rollup_message_hash_repr.mli + tx_rollup_inbox_repr.ml tx_rollup_inbox_repr.mli + tx_rollup_message_result_repr.ml tx_rollup_message_result_repr.mli + tx_rollup_message_result_hash_repr.ml + tx_rollup_message_result_hash_repr.mli + tx_rollup_commitment_repr.ml tx_rollup_commitment_repr.mli + tx_rollup_errors_repr.ml + tx_rollup_state_repr.ml tx_rollup_state_repr.mli + bond_id_repr.ml bond_id_repr.mli + vote_repr.ml vote_repr.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + block_header_repr.ml block_header_repr.mli + destination_repr.ml destination_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + carbonated_map_costs.ml carbonated_map_costs.mli + carbonated_map.ml carbonated_map.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + ticket_hash_builder.ml ticket_hash_builder.mli + constants_storage.ml constants_storage.mli + tx_rollup_gas.ml tx_rollup_gas.mli + tx_rollup_hash_builder.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + commitment_storage.ml commitment_storage.mli + voting_period_storage.ml voting_period_storage.mli + cache_repr.ml cache_repr.mli + contract_delegate_storage.ml contract_delegate_storage.mli + stake_storage.ml stake_storage.mli + contract_storage.ml contract_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_storage.ml liquidity_baking_storage.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + tx_rollup_state_storage.ml tx_rollup_state_storage.mli + tx_rollup_reveal_storage.ml tx_rollup_reveal_storage.mli + tx_rollup_inbox_storage.ml tx_rollup_inbox_storage.mli + tx_rollup_commitment_storage.ml tx_rollup_commitment_storage.mli + tx_rollup_storage.ml tx_rollup_storage.mli + sc_rollup_costs.ml sc_rollup_costs.mli + sc_rollup_storage.ml sc_rollup_storage.mli + alpha_context.ml alpha_context.mli + script_string.ml script_string.mli + script_int.ml script_int.mli + script_timestamp.ml script_timestamp.mli + tx_rollup_l2_storage_sig.ml + tx_rollup_l2_context_sig.ml + tx_rollup_l2_context.ml + tx_rollup_l2_batch.ml tx_rollup_l2_batch.mli + tx_rollup_l2_apply.ml tx_rollup_l2_apply.mli + tx_rollup_l2_verifier.ml tx_rollup_l2_verifier.mli + local_gas_counter.ml local_gas_counter.mli + script_tc_errors.ml + gas_monad.ml gas_monad.mli + script_ir_annot.ml script_ir_annot.mli + dependent_bool.ml dependent_bool.mli + script_typed_ir.ml script_typed_ir.mli + script_comparable.ml script_comparable.mli + gas_comparable_input_size.ml gas_comparable_input_size.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + gas_input_size.ml gas_input_size.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_tc_context.ml script_tc_context.mli + apply_results.ml apply_results.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_token.ml ticket_token.mli + ticket_balance_key.ml ticket_balance_key.mli + ticket_lazy_storage_diff.ml ticket_lazy_storage_diff.mli + tx_rollup_parameters.ml tx_rollup_parameters.mli + ticket_token_map.ml ticket_token_map.mli + ticket_operations_diff.ml ticket_operations_diff.mli + ticket_accounting.ml ticket_accounting.mli + tx_rollup_ticket.ml tx_rollup_ticket.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + sc_rollup_management_protocol.ml sc_rollup_management_protocol.mli + sc_rollup_operations.ml sc_rollup_operations.mli + sc_rollup_PVM_sem.ml + sc_rollup_arith.ml sc_rollup_arith.mli + sc_rollups.ml sc_rollups.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + tx_rollup_services.ml tx_rollup_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_alpha.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_alpha\ninclude Tezos_raw_protocol_alpha.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + origination_nonce.ml origination_nonce.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + tx_rollup_prefixes.ml tx_rollup_prefixes.mli + merkle_list.ml merkle_list.mli + bitset.ml bitset.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + ratio_repr.ml ratio_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_parametric_repr.ml constants_parametric_repr.mli + constants_parametric_previous_repr.ml + constants_parametric_previous_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + sc_rollup_repr.ml sc_rollup_repr.mli + skip_list_repr.ml skip_list_repr.mli + sc_rollup_inbox_repr.ml sc_rollup_inbox_repr.mli + sc_rollup_tick_repr.ml sc_rollup_tick_repr.mli + sc_rollup_game_repr.ml sc_rollup_game_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + ticket_hash_repr.ml ticket_hash_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + indexable.ml indexable.mli + entrypoint_repr.ml entrypoint_repr.mli + tx_rollup_level_repr.ml tx_rollup_level_repr.mli + tx_rollup_l2_proof.ml tx_rollup_l2_proof.mli + tx_rollup_l2_address.ml tx_rollup_l2_address.mli + tx_rollup_l2_qty.ml tx_rollup_l2_qty.mli + tx_rollup_l2_context_hash.ml tx_rollup_l2_context_hash.mli + tx_rollup_repr.ml tx_rollup_repr.mli + tx_rollup_withdraw_repr.ml tx_rollup_withdraw_repr.mli + tx_rollup_withdraw_list_hash_repr.ml tx_rollup_withdraw_list_hash_repr.mli + tx_rollup_reveal_repr.ml tx_rollup_reveal_repr.mli + tx_rollup_message_repr.ml tx_rollup_message_repr.mli + tx_rollup_message_hash_repr.ml tx_rollup_message_hash_repr.mli + tx_rollup_inbox_repr.ml tx_rollup_inbox_repr.mli + tx_rollup_message_result_repr.ml tx_rollup_message_result_repr.mli + tx_rollup_message_result_hash_repr.ml + tx_rollup_message_result_hash_repr.mli + tx_rollup_commitment_repr.ml tx_rollup_commitment_repr.mli + tx_rollup_errors_repr.ml + tx_rollup_state_repr.ml tx_rollup_state_repr.mli + bond_id_repr.ml bond_id_repr.mli + vote_repr.ml vote_repr.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + block_header_repr.ml block_header_repr.mli + destination_repr.ml destination_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + carbonated_map_costs.ml carbonated_map_costs.mli + carbonated_map.ml carbonated_map.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + ticket_hash_builder.ml ticket_hash_builder.mli + constants_storage.ml constants_storage.mli + tx_rollup_gas.ml tx_rollup_gas.mli + tx_rollup_hash_builder.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + commitment_storage.ml commitment_storage.mli + voting_period_storage.ml voting_period_storage.mli + cache_repr.ml cache_repr.mli + contract_delegate_storage.ml contract_delegate_storage.mli + stake_storage.ml stake_storage.mli + contract_storage.ml contract_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_storage.ml liquidity_baking_storage.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + tx_rollup_state_storage.ml tx_rollup_state_storage.mli + tx_rollup_reveal_storage.ml tx_rollup_reveal_storage.mli + tx_rollup_inbox_storage.ml tx_rollup_inbox_storage.mli + tx_rollup_commitment_storage.ml tx_rollup_commitment_storage.mli + tx_rollup_storage.ml tx_rollup_storage.mli + sc_rollup_costs.ml sc_rollup_costs.mli + sc_rollup_storage.ml sc_rollup_storage.mli + alpha_context.ml alpha_context.mli + script_string.ml script_string.mli + script_int.ml script_int.mli + script_timestamp.ml script_timestamp.mli + tx_rollup_l2_storage_sig.ml + tx_rollup_l2_context_sig.ml + tx_rollup_l2_context.ml + tx_rollup_l2_batch.ml tx_rollup_l2_batch.mli + tx_rollup_l2_apply.ml tx_rollup_l2_apply.mli + tx_rollup_l2_verifier.ml tx_rollup_l2_verifier.mli + local_gas_counter.ml local_gas_counter.mli + script_tc_errors.ml + gas_monad.ml gas_monad.mli + script_ir_annot.ml script_ir_annot.mli + dependent_bool.ml dependent_bool.mli + script_typed_ir.ml script_typed_ir.mli + script_comparable.ml script_comparable.mli + gas_comparable_input_size.ml gas_comparable_input_size.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + gas_input_size.ml gas_input_size.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_tc_context.ml script_tc_context.mli + apply_results.ml apply_results.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_token.ml ticket_token.mli + ticket_balance_key.ml ticket_balance_key.mli + ticket_lazy_storage_diff.ml ticket_lazy_storage_diff.mli + tx_rollup_parameters.ml tx_rollup_parameters.mli + ticket_token_map.ml ticket_token_map.mli + ticket_operations_diff.ml ticket_operations_diff.mli + ticket_accounting.ml ticket_accounting.mli + tx_rollup_ticket.ml tx_rollup_ticket.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + sc_rollup_management_protocol.ml sc_rollup_management_protocol.mli + sc_rollup_operations.ml sc_rollup_operations.mli + sc_rollup_PVM_sem.ml + sc_rollup_arith.ml sc_rollup_arith.mli + sc_rollups.ml sc_rollups.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + tx_rollup_services.ml tx_rollup_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} -no-hash-check .))) + +(rule + (alias runtest_sandbox) + (deps .tezos_protocol_alpha.objs/native/tezos_protocol_alpha.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-alpha) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_alpha_functor) + (public_name tezos-protocol-functor-alpha) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-alpha.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + origination_nonce.ml origination_nonce.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + tx_rollup_prefixes.ml tx_rollup_prefixes.mli + merkle_list.ml merkle_list.mli + bitset.ml bitset.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + ratio_repr.ml ratio_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_parametric_repr.ml constants_parametric_repr.mli + constants_parametric_previous_repr.ml + constants_parametric_previous_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + sc_rollup_repr.ml sc_rollup_repr.mli + skip_list_repr.ml skip_list_repr.mli + sc_rollup_inbox_repr.ml sc_rollup_inbox_repr.mli + sc_rollup_tick_repr.ml sc_rollup_tick_repr.mli + sc_rollup_game_repr.ml sc_rollup_game_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + ticket_hash_repr.ml ticket_hash_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + indexable.ml indexable.mli + entrypoint_repr.ml entrypoint_repr.mli + tx_rollup_level_repr.ml tx_rollup_level_repr.mli + tx_rollup_l2_proof.ml tx_rollup_l2_proof.mli + tx_rollup_l2_address.ml tx_rollup_l2_address.mli + tx_rollup_l2_qty.ml tx_rollup_l2_qty.mli + tx_rollup_l2_context_hash.ml tx_rollup_l2_context_hash.mli + tx_rollup_repr.ml tx_rollup_repr.mli + tx_rollup_withdraw_repr.ml tx_rollup_withdraw_repr.mli + tx_rollup_withdraw_list_hash_repr.ml tx_rollup_withdraw_list_hash_repr.mli + tx_rollup_reveal_repr.ml tx_rollup_reveal_repr.mli + tx_rollup_message_repr.ml tx_rollup_message_repr.mli + tx_rollup_message_hash_repr.ml tx_rollup_message_hash_repr.mli + tx_rollup_inbox_repr.ml tx_rollup_inbox_repr.mli + tx_rollup_message_result_repr.ml tx_rollup_message_result_repr.mli + tx_rollup_message_result_hash_repr.ml + tx_rollup_message_result_hash_repr.mli + tx_rollup_commitment_repr.ml tx_rollup_commitment_repr.mli + tx_rollup_errors_repr.ml + tx_rollup_state_repr.ml tx_rollup_state_repr.mli + bond_id_repr.ml bond_id_repr.mli + vote_repr.ml vote_repr.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + block_header_repr.ml block_header_repr.mli + destination_repr.ml destination_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + carbonated_map_costs.ml carbonated_map_costs.mli + carbonated_map.ml carbonated_map.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + ticket_hash_builder.ml ticket_hash_builder.mli + constants_storage.ml constants_storage.mli + tx_rollup_gas.ml tx_rollup_gas.mli + tx_rollup_hash_builder.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + commitment_storage.ml commitment_storage.mli + voting_period_storage.ml voting_period_storage.mli + cache_repr.ml cache_repr.mli + contract_delegate_storage.ml contract_delegate_storage.mli + stake_storage.ml stake_storage.mli + contract_storage.ml contract_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_storage.ml liquidity_baking_storage.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + tx_rollup_state_storage.ml tx_rollup_state_storage.mli + tx_rollup_reveal_storage.ml tx_rollup_reveal_storage.mli + tx_rollup_inbox_storage.ml tx_rollup_inbox_storage.mli + tx_rollup_commitment_storage.ml tx_rollup_commitment_storage.mli + tx_rollup_storage.ml tx_rollup_storage.mli + sc_rollup_costs.ml sc_rollup_costs.mli + sc_rollup_storage.ml sc_rollup_storage.mli + alpha_context.ml alpha_context.mli + script_string.ml script_string.mli + script_int.ml script_int.mli + script_timestamp.ml script_timestamp.mli + tx_rollup_l2_storage_sig.ml + tx_rollup_l2_context_sig.ml + tx_rollup_l2_context.ml + tx_rollup_l2_batch.ml tx_rollup_l2_batch.mli + tx_rollup_l2_apply.ml tx_rollup_l2_apply.mli + tx_rollup_l2_verifier.ml tx_rollup_l2_verifier.mli + local_gas_counter.ml local_gas_counter.mli + script_tc_errors.ml + gas_monad.ml gas_monad.mli + script_ir_annot.ml script_ir_annot.mli + dependent_bool.ml dependent_bool.mli + script_typed_ir.ml script_typed_ir.mli + script_comparable.ml script_comparable.mli + gas_comparable_input_size.ml gas_comparable_input_size.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + gas_input_size.ml gas_input_size.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_tc_context.ml script_tc_context.mli + apply_results.ml apply_results.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_token.ml ticket_token.mli + ticket_balance_key.ml ticket_balance_key.mli + ticket_lazy_storage_diff.ml ticket_lazy_storage_diff.mli + tx_rollup_parameters.ml tx_rollup_parameters.mli + ticket_token_map.ml ticket_token_map.mli + ticket_operations_diff.ml ticket_operations_diff.mli + ticket_accounting.ml ticket_accounting.mli + tx_rollup_ticket.ml tx_rollup_ticket.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + sc_rollup_management_protocol.ml sc_rollup_management_protocol.mli + sc_rollup_operations.ml sc_rollup_operations.mli + sc_rollup_PVM_sem.ml + sc_rollup_arith.ml sc_rollup_arith.mli + sc_rollups.ml sc_rollups.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + tx_rollup_services.ml tx_rollup_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_alpha) + (public_name tezos-embedded-protocol-alpha) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-alpha + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + misc.ml misc.mli + non_empty_string.ml non_empty_string.mli + path_encoding.ml path_encoding.mli + storage_description.ml storage_description.mli + state_hash.ml state_hash.mli + nonce_hash.ml nonce_hash.mli + script_expr_hash.ml script_expr_hash.mli + origination_nonce.ml origination_nonce.mli + contract_hash.ml contract_hash.mli + blinded_public_key_hash.ml blinded_public_key_hash.mli + block_payload_hash.ml block_payload_hash.mli + tx_rollup_prefixes.ml tx_rollup_prefixes.mli + merkle_list.ml merkle_list.mli + bitset.ml bitset.mli + slot_repr.ml slot_repr.mli + tez_repr.ml tez_repr.mli + period_repr.ml period_repr.mli + time_repr.ml time_repr.mli + ratio_repr.ml ratio_repr.mli + round_repr.ml round_repr.mli + block_payload_repr.ml block_payload_repr.mli + fixed_point_repr.ml fixed_point_repr.mli + saturation_repr.ml saturation_repr.mli + gas_limit_repr.ml gas_limit_repr.mli + constants_parametric_repr.ml constants_parametric_repr.mli + constants_parametric_previous_repr.ml + constants_parametric_previous_repr.mli + constants_repr.ml constants_repr.mli + raw_level_repr.ml raw_level_repr.mli + fitness_repr.ml fitness_repr.mli + cycle_repr.ml cycle_repr.mli + level_repr.ml level_repr.mli + sc_rollup_repr.ml sc_rollup_repr.mli + skip_list_repr.ml skip_list_repr.mli + sc_rollup_inbox_repr.ml sc_rollup_inbox_repr.mli + sc_rollup_tick_repr.ml sc_rollup_tick_repr.mli + sc_rollup_game_repr.ml sc_rollup_game_repr.mli + seed_repr.ml seed_repr.mli + sampler.ml sampler.mli + voting_period_repr.ml voting_period_repr.mli + ticket_hash_repr.ml ticket_hash_repr.mli + michelson_v1_primitives.ml michelson_v1_primitives.mli + script_repr.ml script_repr.mli + cache_memory_helpers.ml + contract_repr.ml contract_repr.mli + indexable.ml indexable.mli + entrypoint_repr.ml entrypoint_repr.mli + tx_rollup_level_repr.ml tx_rollup_level_repr.mli + tx_rollup_l2_proof.ml tx_rollup_l2_proof.mli + tx_rollup_l2_address.ml tx_rollup_l2_address.mli + tx_rollup_l2_qty.ml tx_rollup_l2_qty.mli + tx_rollup_l2_context_hash.ml tx_rollup_l2_context_hash.mli + tx_rollup_repr.ml tx_rollup_repr.mli + tx_rollup_withdraw_repr.ml tx_rollup_withdraw_repr.mli + tx_rollup_withdraw_list_hash_repr.ml tx_rollup_withdraw_list_hash_repr.mli + tx_rollup_reveal_repr.ml tx_rollup_reveal_repr.mli + tx_rollup_message_repr.ml tx_rollup_message_repr.mli + tx_rollup_message_hash_repr.ml tx_rollup_message_hash_repr.mli + tx_rollup_inbox_repr.ml tx_rollup_inbox_repr.mli + tx_rollup_message_result_repr.ml tx_rollup_message_result_repr.mli + tx_rollup_message_result_hash_repr.ml + tx_rollup_message_result_hash_repr.mli + tx_rollup_commitment_repr.ml tx_rollup_commitment_repr.mli + tx_rollup_errors_repr.ml + tx_rollup_state_repr.ml tx_rollup_state_repr.mli + bond_id_repr.ml bond_id_repr.mli + vote_repr.ml vote_repr.mli + liquidity_baking_repr.ml liquidity_baking_repr.mli + block_header_repr.ml block_header_repr.mli + destination_repr.ml destination_repr.mli + operation_repr.ml operation_repr.mli + manager_repr.ml manager_repr.mli + commitment_repr.ml commitment_repr.mli + parameters_repr.ml parameters_repr.mli + sapling_repr.ml + lazy_storage_kind.ml lazy_storage_kind.mli + receipt_repr.ml receipt_repr.mli + migration_repr.ml migration_repr.mli + carbonated_map_costs.ml carbonated_map_costs.mli + carbonated_map.ml carbonated_map.mli + raw_context_intf.ml + raw_context.ml raw_context.mli + storage_costs.ml storage_costs.mli + storage_sigs.ml + storage_functors.ml storage_functors.mli + storage.ml storage.mli + ticket_hash_builder.ml ticket_hash_builder.mli + constants_storage.ml constants_storage.mli + tx_rollup_gas.ml tx_rollup_gas.mli + tx_rollup_hash_builder.ml + level_storage.ml level_storage.mli + nonce_storage.ml nonce_storage.mli + seed_storage.ml seed_storage.mli + contract_manager_storage.ml contract_manager_storage.mli + delegate_activation_storage.ml delegate_activation_storage.mli + frozen_deposits_storage.ml frozen_deposits_storage.mli + sapling_storage.ml + lazy_storage_diff.ml lazy_storage_diff.mli + commitment_storage.ml commitment_storage.mli + voting_period_storage.ml voting_period_storage.mli + cache_repr.ml cache_repr.mli + contract_delegate_storage.ml contract_delegate_storage.mli + stake_storage.ml stake_storage.mli + contract_storage.ml contract_storage.mli + token.ml token.mli + delegate_storage.ml delegate_storage.mli + bootstrap_storage.ml bootstrap_storage.mli + vote_storage.ml vote_storage.mli + fees_storage.ml fees_storage.mli + ticket_storage.ml ticket_storage.mli + liquidity_baking_storage.ml liquidity_baking_storage.mli + liquidity_baking_cpmm.ml + liquidity_baking_lqt.ml + liquidity_baking_migration.ml liquidity_baking_migration.mli + init_storage.ml init_storage.mli + sapling_validator.ml + global_constants_costs.ml global_constants_costs.mli + global_constants_storage.ml global_constants_storage.mli + tx_rollup_state_storage.ml tx_rollup_state_storage.mli + tx_rollup_reveal_storage.ml tx_rollup_reveal_storage.mli + tx_rollup_inbox_storage.ml tx_rollup_inbox_storage.mli + tx_rollup_commitment_storage.ml tx_rollup_commitment_storage.mli + tx_rollup_storage.ml tx_rollup_storage.mli + sc_rollup_costs.ml sc_rollup_costs.mli + sc_rollup_storage.ml sc_rollup_storage.mli + alpha_context.ml alpha_context.mli + script_string.ml script_string.mli + script_int.ml script_int.mli + script_timestamp.ml script_timestamp.mli + tx_rollup_l2_storage_sig.ml + tx_rollup_l2_context_sig.ml + tx_rollup_l2_context.ml + tx_rollup_l2_batch.ml tx_rollup_l2_batch.mli + tx_rollup_l2_apply.ml tx_rollup_l2_apply.mli + tx_rollup_l2_verifier.ml tx_rollup_l2_verifier.mli + local_gas_counter.ml local_gas_counter.mli + script_tc_errors.ml + gas_monad.ml gas_monad.mli + script_ir_annot.ml script_ir_annot.mli + dependent_bool.ml dependent_bool.mli + script_typed_ir.ml script_typed_ir.mli + script_comparable.ml script_comparable.mli + gas_comparable_input_size.ml gas_comparable_input_size.mli + script_set.ml script_set.mli + script_map.ml script_map.mli + gas_input_size.ml gas_input_size.mli + script_typed_ir_size.ml script_typed_ir_size.mli + script_typed_ir_size_costs.ml script_typed_ir_size_costs.mli + michelson_v1_gas.ml michelson_v1_gas.mli + script_list.ml script_list.mli + script_tc_context.ml script_tc_context.mli + apply_results.ml apply_results.mli + script_ir_translator.ml script_ir_translator.mli + script_cache.ml script_cache.mli + script_tc_errors_registration.ml script_tc_errors_registration.mli + ticket_costs.ml ticket_costs.mli + ticket_scanner.ml ticket_scanner.mli + ticket_token.ml ticket_token.mli + ticket_balance_key.ml ticket_balance_key.mli + ticket_lazy_storage_diff.ml ticket_lazy_storage_diff.mli + tx_rollup_parameters.ml tx_rollup_parameters.mli + ticket_token_map.ml ticket_token_map.mli + ticket_operations_diff.ml ticket_operations_diff.mli + ticket_accounting.ml ticket_accounting.mli + tx_rollup_ticket.ml tx_rollup_ticket.mli + script_interpreter_defs.ml + script_interpreter.ml script_interpreter.mli + sc_rollup_management_protocol.ml sc_rollup_management_protocol.mli + sc_rollup_operations.ml sc_rollup_operations.mli + sc_rollup_PVM_sem.ml + sc_rollup_arith.ml sc_rollup_arith.mli + sc_rollups.ml sc_rollups.mli + baking.ml baking.mli + amendment.ml amendment.mli + apply.ml apply.mli + services_registration.ml services_registration.mli + constants_services.ml constants_services.mli + sapling_services.ml + contract_services.ml contract_services.mli + delegate_services.ml delegate_services.mli + voting_services.ml voting_services.mli + tx_rollup_services.ml tx_rollup_services.mli + alpha_services.ml alpha_services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} alpha))))) diff --git a/src/proto_alpha/lib_protocol/dune-project b/src/proto_alpha/lib_protocol/dune-project deleted file mode 100644 index 61e426b08269689522131e37ab740cd1074e437a..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-alpha) diff --git a/src/proto_alpha/lib_protocol/dune.inc b/src/proto_alpha/lib_protocol/dune.inc deleted file mode 100644 index c2a5f6a6ff2fbf1ec5390b78f9e4124ebf02a344..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/dune.inc +++ /dev/null @@ -1,1048 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v1 - -; This template is intended for protocols written after the Tezos -; project start using OCaml 4.12. -; -; template.v1 was introduced when we bumped the version of our OCaml -; dependency to 4.12. This change to a newer OCaml version introduced -; new warnings that need to be ignored in the protocols written before -; the update (see dune_protocol.template.v0). - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"alpha\" end -include Tezos_protocol_environment.MakeV6(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - origination_nonce.mli origination_nonce.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - tx_rollup_prefixes.mli tx_rollup_prefixes.ml - merkle_list.mli merkle_list.ml - bitset.mli bitset.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - ratio_repr.mli ratio_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_parametric_repr.mli constants_parametric_repr.ml - constants_parametric_previous_repr.mli constants_parametric_previous_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - sc_rollup_repr.mli sc_rollup_repr.ml - skip_list_repr.mli skip_list_repr.ml - sc_rollup_inbox_repr.mli sc_rollup_inbox_repr.ml - sc_rollup_tick_repr.mli sc_rollup_tick_repr.ml - sc_rollup_game_repr.mli sc_rollup_game_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - ticket_hash_repr.mli ticket_hash_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - indexable.mli indexable.ml - entrypoint_repr.mli entrypoint_repr.ml - tx_rollup_level_repr.mli tx_rollup_level_repr.ml - tx_rollup_l2_proof.mli tx_rollup_l2_proof.ml - tx_rollup_l2_address.mli tx_rollup_l2_address.ml - tx_rollup_l2_qty.mli tx_rollup_l2_qty.ml - tx_rollup_l2_context_hash.mli tx_rollup_l2_context_hash.ml - tx_rollup_repr.mli tx_rollup_repr.ml - tx_rollup_withdraw_repr.mli tx_rollup_withdraw_repr.ml - tx_rollup_withdraw_list_hash_repr.mli tx_rollup_withdraw_list_hash_repr.ml - tx_rollup_reveal_repr.mli tx_rollup_reveal_repr.ml - tx_rollup_message_repr.mli tx_rollup_message_repr.ml - tx_rollup_message_hash_repr.mli tx_rollup_message_hash_repr.ml - tx_rollup_inbox_repr.mli tx_rollup_inbox_repr.ml - tx_rollup_message_result_repr.mli tx_rollup_message_result_repr.ml - tx_rollup_message_result_hash_repr.mli tx_rollup_message_result_hash_repr.ml - tx_rollup_commitment_repr.mli tx_rollup_commitment_repr.ml - tx_rollup_errors_repr.ml - tx_rollup_state_repr.mli tx_rollup_state_repr.ml - bond_id_repr.mli bond_id_repr.ml - vote_repr.mli vote_repr.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - block_header_repr.mli block_header_repr.ml - destination_repr.mli destination_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - carbonated_map_costs.mli carbonated_map_costs.ml - carbonated_map.mli carbonated_map.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - ticket_hash_builder.mli ticket_hash_builder.ml - constants_storage.mli constants_storage.ml - tx_rollup_gas.mli tx_rollup_gas.ml - tx_rollup_hash_builder.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - commitment_storage.mli commitment_storage.ml - voting_period_storage.mli voting_period_storage.ml - cache_repr.mli cache_repr.ml - contract_delegate_storage.mli contract_delegate_storage.ml - stake_storage.mli stake_storage.ml - contract_storage.mli contract_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_storage.mli liquidity_baking_storage.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - tx_rollup_state_storage.mli tx_rollup_state_storage.ml - tx_rollup_reveal_storage.mli tx_rollup_reveal_storage.ml - tx_rollup_inbox_storage.mli tx_rollup_inbox_storage.ml - tx_rollup_commitment_storage.mli tx_rollup_commitment_storage.ml - tx_rollup_storage.mli tx_rollup_storage.ml - sc_rollup_costs.mli sc_rollup_costs.ml - sc_rollup_storage.mli sc_rollup_storage.ml - alpha_context.mli alpha_context.ml - script_string.mli script_string.ml - script_int.mli script_int.ml - script_timestamp.mli script_timestamp.ml - tx_rollup_l2_storage_sig.ml - tx_rollup_l2_context_sig.ml - tx_rollup_l2_context.ml - tx_rollup_l2_batch.mli tx_rollup_l2_batch.ml - tx_rollup_l2_apply.mli tx_rollup_l2_apply.ml - tx_rollup_l2_verifier.mli tx_rollup_l2_verifier.ml - local_gas_counter.mli local_gas_counter.ml - script_tc_errors.ml - gas_monad.mli gas_monad.ml - script_ir_annot.mli script_ir_annot.ml - dependent_bool.mli dependent_bool.ml - script_typed_ir.mli script_typed_ir.ml - script_comparable.mli script_comparable.ml - gas_comparable_input_size.mli gas_comparable_input_size.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - gas_input_size.mli gas_input_size.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_tc_context.mli script_tc_context.ml - apply_results.mli apply_results.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_token.mli ticket_token.ml - ticket_balance_key.mli ticket_balance_key.ml - ticket_lazy_storage_diff.mli ticket_lazy_storage_diff.ml - tx_rollup_parameters.mli tx_rollup_parameters.ml - ticket_token_map.mli ticket_token_map.ml - ticket_operations_diff.mli ticket_operations_diff.ml - ticket_accounting.mli ticket_accounting.ml - tx_rollup_ticket.mli tx_rollup_ticket.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - sc_rollup_management_protocol.mli sc_rollup_management_protocol.ml - sc_rollup_operations.mli sc_rollup_operations.ml - sc_rollup_PVM_sem.ml - sc_rollup_arith.mli sc_rollup_arith.ml - sc_rollups.mli sc_rollups.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - tx_rollup_services.mli tx_rollup_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "alpha"))))) - -(rule - (targets functor.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - origination_nonce.mli origination_nonce.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - tx_rollup_prefixes.mli tx_rollup_prefixes.ml - merkle_list.mli merkle_list.ml - bitset.mli bitset.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - ratio_repr.mli ratio_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_parametric_repr.mli constants_parametric_repr.ml - constants_parametric_previous_repr.mli constants_parametric_previous_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - sc_rollup_repr.mli sc_rollup_repr.ml - skip_list_repr.mli skip_list_repr.ml - sc_rollup_inbox_repr.mli sc_rollup_inbox_repr.ml - sc_rollup_tick_repr.mli sc_rollup_tick_repr.ml - sc_rollup_game_repr.mli sc_rollup_game_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - ticket_hash_repr.mli ticket_hash_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - indexable.mli indexable.ml - entrypoint_repr.mli entrypoint_repr.ml - tx_rollup_level_repr.mli tx_rollup_level_repr.ml - tx_rollup_l2_proof.mli tx_rollup_l2_proof.ml - tx_rollup_l2_address.mli tx_rollup_l2_address.ml - tx_rollup_l2_qty.mli tx_rollup_l2_qty.ml - tx_rollup_l2_context_hash.mli tx_rollup_l2_context_hash.ml - tx_rollup_repr.mli tx_rollup_repr.ml - tx_rollup_withdraw_repr.mli tx_rollup_withdraw_repr.ml - tx_rollup_withdraw_list_hash_repr.mli tx_rollup_withdraw_list_hash_repr.ml - tx_rollup_reveal_repr.mli tx_rollup_reveal_repr.ml - tx_rollup_message_repr.mli tx_rollup_message_repr.ml - tx_rollup_message_hash_repr.mli tx_rollup_message_hash_repr.ml - tx_rollup_inbox_repr.mli tx_rollup_inbox_repr.ml - tx_rollup_message_result_repr.mli tx_rollup_message_result_repr.ml - tx_rollup_message_result_hash_repr.mli tx_rollup_message_result_hash_repr.ml - tx_rollup_commitment_repr.mli tx_rollup_commitment_repr.ml - tx_rollup_errors_repr.ml - tx_rollup_state_repr.mli tx_rollup_state_repr.ml - bond_id_repr.mli bond_id_repr.ml - vote_repr.mli vote_repr.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - block_header_repr.mli block_header_repr.ml - destination_repr.mli destination_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - carbonated_map_costs.mli carbonated_map_costs.ml - carbonated_map.mli carbonated_map.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - ticket_hash_builder.mli ticket_hash_builder.ml - constants_storage.mli constants_storage.ml - tx_rollup_gas.mli tx_rollup_gas.ml - tx_rollup_hash_builder.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - commitment_storage.mli commitment_storage.ml - voting_period_storage.mli voting_period_storage.ml - cache_repr.mli cache_repr.ml - contract_delegate_storage.mli contract_delegate_storage.ml - stake_storage.mli stake_storage.ml - contract_storage.mli contract_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_storage.mli liquidity_baking_storage.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - tx_rollup_state_storage.mli tx_rollup_state_storage.ml - tx_rollup_reveal_storage.mli tx_rollup_reveal_storage.ml - tx_rollup_inbox_storage.mli tx_rollup_inbox_storage.ml - tx_rollup_commitment_storage.mli tx_rollup_commitment_storage.ml - tx_rollup_storage.mli tx_rollup_storage.ml - sc_rollup_costs.mli sc_rollup_costs.ml - sc_rollup_storage.mli sc_rollup_storage.ml - alpha_context.mli alpha_context.ml - script_string.mli script_string.ml - script_int.mli script_int.ml - script_timestamp.mli script_timestamp.ml - tx_rollup_l2_storage_sig.ml - tx_rollup_l2_context_sig.ml - tx_rollup_l2_context.ml - tx_rollup_l2_batch.mli tx_rollup_l2_batch.ml - tx_rollup_l2_apply.mli tx_rollup_l2_apply.ml - tx_rollup_l2_verifier.mli tx_rollup_l2_verifier.ml - local_gas_counter.mli local_gas_counter.ml - script_tc_errors.ml - gas_monad.mli gas_monad.ml - script_ir_annot.mli script_ir_annot.ml - dependent_bool.mli dependent_bool.ml - script_typed_ir.mli script_typed_ir.ml - script_comparable.mli script_comparable.ml - gas_comparable_input_size.mli gas_comparable_input_size.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - gas_input_size.mli gas_input_size.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_tc_context.mli script_tc_context.ml - apply_results.mli apply_results.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_token.mli ticket_token.ml - ticket_balance_key.mli ticket_balance_key.ml - ticket_lazy_storage_diff.mli ticket_lazy_storage_diff.ml - tx_rollup_parameters.mli tx_rollup_parameters.ml - ticket_token_map.mli ticket_token_map.ml - ticket_operations_diff.mli ticket_operations_diff.ml - ticket_accounting.mli ticket_accounting.ml - tx_rollup_ticket.mli tx_rollup_ticket.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - sc_rollup_management_protocol.mli sc_rollup_management_protocol.ml - sc_rollup_operations.mli sc_rollup_operations.ml - sc_rollup_PVM_sem.ml - sc_rollup_arith.mli sc_rollup_arith.ml - sc_rollups.mli sc_rollups.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - tx_rollup_services.mli tx_rollup_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - origination_nonce.mli origination_nonce.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - tx_rollup_prefixes.mli tx_rollup_prefixes.ml - merkle_list.mli merkle_list.ml - bitset.mli bitset.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - ratio_repr.mli ratio_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_parametric_repr.mli constants_parametric_repr.ml - constants_parametric_previous_repr.mli constants_parametric_previous_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - sc_rollup_repr.mli sc_rollup_repr.ml - skip_list_repr.mli skip_list_repr.ml - sc_rollup_inbox_repr.mli sc_rollup_inbox_repr.ml - sc_rollup_tick_repr.mli sc_rollup_tick_repr.ml - sc_rollup_game_repr.mli sc_rollup_game_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - ticket_hash_repr.mli ticket_hash_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - indexable.mli indexable.ml - entrypoint_repr.mli entrypoint_repr.ml - tx_rollup_level_repr.mli tx_rollup_level_repr.ml - tx_rollup_l2_proof.mli tx_rollup_l2_proof.ml - tx_rollup_l2_address.mli tx_rollup_l2_address.ml - tx_rollup_l2_qty.mli tx_rollup_l2_qty.ml - tx_rollup_l2_context_hash.mli tx_rollup_l2_context_hash.ml - tx_rollup_repr.mli tx_rollup_repr.ml - tx_rollup_withdraw_repr.mli tx_rollup_withdraw_repr.ml - tx_rollup_withdraw_list_hash_repr.mli tx_rollup_withdraw_list_hash_repr.ml - tx_rollup_reveal_repr.mli tx_rollup_reveal_repr.ml - tx_rollup_message_repr.mli tx_rollup_message_repr.ml - tx_rollup_message_hash_repr.mli tx_rollup_message_hash_repr.ml - tx_rollup_inbox_repr.mli tx_rollup_inbox_repr.ml - tx_rollup_message_result_repr.mli tx_rollup_message_result_repr.ml - tx_rollup_message_result_hash_repr.mli tx_rollup_message_result_hash_repr.ml - tx_rollup_commitment_repr.mli tx_rollup_commitment_repr.ml - tx_rollup_errors_repr.ml - tx_rollup_state_repr.mli tx_rollup_state_repr.ml - bond_id_repr.mli bond_id_repr.ml - vote_repr.mli vote_repr.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - block_header_repr.mli block_header_repr.ml - destination_repr.mli destination_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - carbonated_map_costs.mli carbonated_map_costs.ml - carbonated_map.mli carbonated_map.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - ticket_hash_builder.mli ticket_hash_builder.ml - constants_storage.mli constants_storage.ml - tx_rollup_gas.mli tx_rollup_gas.ml - tx_rollup_hash_builder.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - commitment_storage.mli commitment_storage.ml - voting_period_storage.mli voting_period_storage.ml - cache_repr.mli cache_repr.ml - contract_delegate_storage.mli contract_delegate_storage.ml - stake_storage.mli stake_storage.ml - contract_storage.mli contract_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_storage.mli liquidity_baking_storage.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - tx_rollup_state_storage.mli tx_rollup_state_storage.ml - tx_rollup_reveal_storage.mli tx_rollup_reveal_storage.ml - tx_rollup_inbox_storage.mli tx_rollup_inbox_storage.ml - tx_rollup_commitment_storage.mli tx_rollup_commitment_storage.ml - tx_rollup_storage.mli tx_rollup_storage.ml - sc_rollup_costs.mli sc_rollup_costs.ml - sc_rollup_storage.mli sc_rollup_storage.ml - alpha_context.mli alpha_context.ml - script_string.mli script_string.ml - script_int.mli script_int.ml - script_timestamp.mli script_timestamp.ml - tx_rollup_l2_storage_sig.ml - tx_rollup_l2_context_sig.ml - tx_rollup_l2_context.ml - tx_rollup_l2_batch.mli tx_rollup_l2_batch.ml - tx_rollup_l2_apply.mli tx_rollup_l2_apply.ml - tx_rollup_l2_verifier.mli tx_rollup_l2_verifier.ml - local_gas_counter.mli local_gas_counter.ml - script_tc_errors.ml - gas_monad.mli gas_monad.ml - script_ir_annot.mli script_ir_annot.ml - dependent_bool.mli dependent_bool.ml - script_typed_ir.mli script_typed_ir.ml - script_comparable.mli script_comparable.ml - gas_comparable_input_size.mli gas_comparable_input_size.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - gas_input_size.mli gas_input_size.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_tc_context.mli script_tc_context.ml - apply_results.mli apply_results.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_token.mli ticket_token.ml - ticket_balance_key.mli ticket_balance_key.ml - ticket_lazy_storage_diff.mli ticket_lazy_storage_diff.ml - tx_rollup_parameters.mli tx_rollup_parameters.ml - ticket_token_map.mli ticket_token_map.ml - ticket_operations_diff.mli ticket_operations_diff.ml - ticket_accounting.mli ticket_accounting.ml - tx_rollup_ticket.mli tx_rollup_ticket.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - sc_rollup_management_protocol.mli sc_rollup_management_protocol.ml - sc_rollup_operations.mli sc_rollup_operations.ml - sc_rollup_PVM_sem.ml - sc_rollup_arith.mli sc_rollup_arith.ml - sc_rollups.mli sc_rollups.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - tx_rollup_services.mli tx_rollup_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_alpha.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK\" -let name = Environment.Name.name -include Tezos_raw_protocol_alpha -include Tezos_raw_protocol_alpha.Main -"))) - -(library - (name tezos_protocol_environment_alpha) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-alpha.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_alpha) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-alpha.raw) - (libraries tezos_protocol_environment_alpha) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-40..42-44-45-48 - -warn-error +a - -open Tezos_protocol_environment_alpha__Environment - -open Pervasives - -open Error_monad)) - (modules - Misc - Non_empty_string - Path_encoding - Storage_description - State_hash - Nonce_hash - Script_expr_hash - Origination_nonce - Contract_hash - Blinded_public_key_hash - Block_payload_hash - Tx_rollup_prefixes - Merkle_list - Bitset - Slot_repr - Tez_repr - Period_repr - Time_repr - Ratio_repr - Round_repr - Block_payload_repr - Fixed_point_repr - Saturation_repr - Gas_limit_repr - Constants_parametric_repr - Constants_parametric_previous_repr - Constants_repr - Raw_level_repr - Fitness_repr - Cycle_repr - Level_repr - Sc_rollup_repr - Skip_list_repr - Sc_rollup_inbox_repr - Sc_rollup_tick_repr - Sc_rollup_game_repr - Seed_repr - Sampler - Voting_period_repr - Ticket_hash_repr - Michelson_v1_primitives - Script_repr - Cache_memory_helpers - Contract_repr - Indexable - Entrypoint_repr - Tx_rollup_level_repr - Tx_rollup_l2_proof - Tx_rollup_l2_address - Tx_rollup_l2_qty - Tx_rollup_l2_context_hash - Tx_rollup_repr - Tx_rollup_withdraw_repr - Tx_rollup_withdraw_list_hash_repr - Tx_rollup_reveal_repr - Tx_rollup_message_repr - Tx_rollup_message_hash_repr - Tx_rollup_inbox_repr - Tx_rollup_message_result_repr - Tx_rollup_message_result_hash_repr - Tx_rollup_commitment_repr - Tx_rollup_errors_repr - Tx_rollup_state_repr - Bond_id_repr - Vote_repr - Liquidity_baking_repr - Block_header_repr - Destination_repr - Operation_repr - Manager_repr - Commitment_repr - Parameters_repr - Sapling_repr - Lazy_storage_kind - Receipt_repr - Migration_repr - Carbonated_map_costs - Carbonated_map - Raw_context_intf - Raw_context - Storage_costs - Storage_sigs - Storage_functors - Storage - Ticket_hash_builder - Constants_storage - Tx_rollup_gas - Tx_rollup_hash_builder - Level_storage - Nonce_storage - Seed_storage - Contract_manager_storage - Delegate_activation_storage - Frozen_deposits_storage - Sapling_storage - Lazy_storage_diff - Commitment_storage - Voting_period_storage - Cache_repr - Contract_delegate_storage - Stake_storage - Contract_storage - Token - Delegate_storage - Bootstrap_storage - Vote_storage - Fees_storage - Ticket_storage - Liquidity_baking_storage - Liquidity_baking_cpmm - Liquidity_baking_lqt - Liquidity_baking_migration - Init_storage - Sapling_validator - Global_constants_costs - Global_constants_storage - Tx_rollup_state_storage - Tx_rollup_reveal_storage - Tx_rollup_inbox_storage - Tx_rollup_commitment_storage - Tx_rollup_storage - Sc_rollup_costs - Sc_rollup_storage - Alpha_context - Script_string - Script_int - Script_timestamp - Tx_rollup_l2_storage_sig - Tx_rollup_l2_context_sig - Tx_rollup_l2_context - Tx_rollup_l2_batch - Tx_rollup_l2_apply - Tx_rollup_l2_verifier - Local_gas_counter - Script_tc_errors - Gas_monad - Script_ir_annot - Dependent_bool - Script_typed_ir - Script_comparable - Gas_comparable_input_size - Script_set - Script_map - Gas_input_size - Script_typed_ir_size - Script_typed_ir_size_costs - Michelson_v1_gas - Script_list - Script_tc_context - Apply_results - Script_ir_translator - Script_cache - Script_tc_errors_registration - Ticket_costs - Ticket_scanner - Ticket_token - Ticket_balance_key - Ticket_lazy_storage_diff - Tx_rollup_parameters - Ticket_token_map - Ticket_operations_diff - Ticket_accounting - Tx_rollup_ticket - Script_interpreter_defs - Script_interpreter - Sc_rollup_management_protocol - Sc_rollup_operations - Sc_rollup_PVM_sem - Sc_rollup_arith - Sc_rollups - Baking - Amendment - Apply - Services_registration - Constants_services - Sapling_services - Contract_services - Delegate_services - Voting_services - Tx_rollup_services - Alpha_services - Main)) - -(install - (section lib) - (package tezos-protocol-alpha) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_alpha) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-alpha) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_alpha) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_alpha_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-alpha) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-alpha.raw) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_alpha) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-alpha) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-alpha - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-40..42-44-45-48 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - misc.mli misc.ml - non_empty_string.mli non_empty_string.ml - path_encoding.mli path_encoding.ml - storage_description.mli storage_description.ml - state_hash.mli state_hash.ml - nonce_hash.mli nonce_hash.ml - script_expr_hash.mli script_expr_hash.ml - origination_nonce.mli origination_nonce.ml - contract_hash.mli contract_hash.ml - blinded_public_key_hash.mli blinded_public_key_hash.ml - block_payload_hash.mli block_payload_hash.ml - tx_rollup_prefixes.mli tx_rollup_prefixes.ml - merkle_list.mli merkle_list.ml - bitset.mli bitset.ml - slot_repr.mli slot_repr.ml - tez_repr.mli tez_repr.ml - period_repr.mli period_repr.ml - time_repr.mli time_repr.ml - ratio_repr.mli ratio_repr.ml - round_repr.mli round_repr.ml - block_payload_repr.mli block_payload_repr.ml - fixed_point_repr.mli fixed_point_repr.ml - saturation_repr.mli saturation_repr.ml - gas_limit_repr.mli gas_limit_repr.ml - constants_parametric_repr.mli constants_parametric_repr.ml - constants_parametric_previous_repr.mli constants_parametric_previous_repr.ml - constants_repr.mli constants_repr.ml - raw_level_repr.mli raw_level_repr.ml - fitness_repr.mli fitness_repr.ml - cycle_repr.mli cycle_repr.ml - level_repr.mli level_repr.ml - sc_rollup_repr.mli sc_rollup_repr.ml - skip_list_repr.mli skip_list_repr.ml - sc_rollup_inbox_repr.mli sc_rollup_inbox_repr.ml - sc_rollup_tick_repr.mli sc_rollup_tick_repr.ml - sc_rollup_game_repr.mli sc_rollup_game_repr.ml - seed_repr.mli seed_repr.ml - sampler.mli sampler.ml - voting_period_repr.mli voting_period_repr.ml - ticket_hash_repr.mli ticket_hash_repr.ml - michelson_v1_primitives.mli michelson_v1_primitives.ml - script_repr.mli script_repr.ml - cache_memory_helpers.ml - contract_repr.mli contract_repr.ml - indexable.mli indexable.ml - entrypoint_repr.mli entrypoint_repr.ml - tx_rollup_level_repr.mli tx_rollup_level_repr.ml - tx_rollup_l2_proof.mli tx_rollup_l2_proof.ml - tx_rollup_l2_address.mli tx_rollup_l2_address.ml - tx_rollup_l2_qty.mli tx_rollup_l2_qty.ml - tx_rollup_l2_context_hash.mli tx_rollup_l2_context_hash.ml - tx_rollup_repr.mli tx_rollup_repr.ml - tx_rollup_withdraw_repr.mli tx_rollup_withdraw_repr.ml - tx_rollup_withdraw_list_hash_repr.mli tx_rollup_withdraw_list_hash_repr.ml - tx_rollup_reveal_repr.mli tx_rollup_reveal_repr.ml - tx_rollup_message_repr.mli tx_rollup_message_repr.ml - tx_rollup_message_hash_repr.mli tx_rollup_message_hash_repr.ml - tx_rollup_inbox_repr.mli tx_rollup_inbox_repr.ml - tx_rollup_message_result_repr.mli tx_rollup_message_result_repr.ml - tx_rollup_message_result_hash_repr.mli tx_rollup_message_result_hash_repr.ml - tx_rollup_commitment_repr.mli tx_rollup_commitment_repr.ml - tx_rollup_errors_repr.ml - tx_rollup_state_repr.mli tx_rollup_state_repr.ml - bond_id_repr.mli bond_id_repr.ml - vote_repr.mli vote_repr.ml - liquidity_baking_repr.mli liquidity_baking_repr.ml - block_header_repr.mli block_header_repr.ml - destination_repr.mli destination_repr.ml - operation_repr.mli operation_repr.ml - manager_repr.mli manager_repr.ml - commitment_repr.mli commitment_repr.ml - parameters_repr.mli parameters_repr.ml - sapling_repr.ml - lazy_storage_kind.mli lazy_storage_kind.ml - receipt_repr.mli receipt_repr.ml - migration_repr.mli migration_repr.ml - carbonated_map_costs.mli carbonated_map_costs.ml - carbonated_map.mli carbonated_map.ml - raw_context_intf.ml - raw_context.mli raw_context.ml - storage_costs.mli storage_costs.ml - storage_sigs.ml - storage_functors.mli storage_functors.ml - storage.mli storage.ml - ticket_hash_builder.mli ticket_hash_builder.ml - constants_storage.mli constants_storage.ml - tx_rollup_gas.mli tx_rollup_gas.ml - tx_rollup_hash_builder.ml - level_storage.mli level_storage.ml - nonce_storage.mli nonce_storage.ml - seed_storage.mli seed_storage.ml - contract_manager_storage.mli contract_manager_storage.ml - delegate_activation_storage.mli delegate_activation_storage.ml - frozen_deposits_storage.mli frozen_deposits_storage.ml - sapling_storage.ml - lazy_storage_diff.mli lazy_storage_diff.ml - commitment_storage.mli commitment_storage.ml - voting_period_storage.mli voting_period_storage.ml - cache_repr.mli cache_repr.ml - contract_delegate_storage.mli contract_delegate_storage.ml - stake_storage.mli stake_storage.ml - contract_storage.mli contract_storage.ml - token.mli token.ml - delegate_storage.mli delegate_storage.ml - bootstrap_storage.mli bootstrap_storage.ml - vote_storage.mli vote_storage.ml - fees_storage.mli fees_storage.ml - ticket_storage.mli ticket_storage.ml - liquidity_baking_storage.mli liquidity_baking_storage.ml - liquidity_baking_cpmm.ml - liquidity_baking_lqt.ml - liquidity_baking_migration.mli liquidity_baking_migration.ml - init_storage.mli init_storage.ml - sapling_validator.ml - global_constants_costs.mli global_constants_costs.ml - global_constants_storage.mli global_constants_storage.ml - tx_rollup_state_storage.mli tx_rollup_state_storage.ml - tx_rollup_reveal_storage.mli tx_rollup_reveal_storage.ml - tx_rollup_inbox_storage.mli tx_rollup_inbox_storage.ml - tx_rollup_commitment_storage.mli tx_rollup_commitment_storage.ml - tx_rollup_storage.mli tx_rollup_storage.ml - sc_rollup_costs.mli sc_rollup_costs.ml - sc_rollup_storage.mli sc_rollup_storage.ml - alpha_context.mli alpha_context.ml - script_string.mli script_string.ml - script_int.mli script_int.ml - script_timestamp.mli script_timestamp.ml - tx_rollup_l2_storage_sig.ml - tx_rollup_l2_context_sig.ml - tx_rollup_l2_context.ml - tx_rollup_l2_batch.mli tx_rollup_l2_batch.ml - tx_rollup_l2_apply.mli tx_rollup_l2_apply.ml - tx_rollup_l2_verifier.mli tx_rollup_l2_verifier.ml - local_gas_counter.mli local_gas_counter.ml - script_tc_errors.ml - gas_monad.mli gas_monad.ml - script_ir_annot.mli script_ir_annot.ml - dependent_bool.mli dependent_bool.ml - script_typed_ir.mli script_typed_ir.ml - script_comparable.mli script_comparable.ml - gas_comparable_input_size.mli gas_comparable_input_size.ml - script_set.mli script_set.ml - script_map.mli script_map.ml - gas_input_size.mli gas_input_size.ml - script_typed_ir_size.mli script_typed_ir_size.ml - script_typed_ir_size_costs.mli script_typed_ir_size_costs.ml - michelson_v1_gas.mli michelson_v1_gas.ml - script_list.mli script_list.ml - script_tc_context.mli script_tc_context.ml - apply_results.mli apply_results.ml - script_ir_translator.mli script_ir_translator.ml - script_cache.mli script_cache.ml - script_tc_errors_registration.mli script_tc_errors_registration.ml - ticket_costs.mli ticket_costs.ml - ticket_scanner.mli ticket_scanner.ml - ticket_token.mli ticket_token.ml - ticket_balance_key.mli ticket_balance_key.ml - ticket_lazy_storage_diff.mli ticket_lazy_storage_diff.ml - tx_rollup_parameters.mli tx_rollup_parameters.ml - ticket_token_map.mli ticket_token_map.ml - ticket_operations_diff.mli ticket_operations_diff.ml - ticket_accounting.mli ticket_accounting.ml - tx_rollup_ticket.mli tx_rollup_ticket.ml - script_interpreter_defs.ml - script_interpreter.mli script_interpreter.ml - sc_rollup_management_protocol.mli sc_rollup_management_protocol.ml - sc_rollup_operations.mli sc_rollup_operations.ml - sc_rollup_PVM_sem.ml - sc_rollup_arith.mli sc_rollup_arith.ml - sc_rollups.mli sc_rollups.ml - baking.mli baking.ml - amendment.mli amendment.ml - apply.mli apply.ml - services_registration.mli services_registration.ml - constants_services.mli constants_services.ml - sapling_services.ml - contract_services.mli contract_services.ml - delegate_services.mli delegate_services.ml - voting_services.mli voting_services.ml - tx_rollup_services.mli tx_rollup_services.ml - alpha_services.mli alpha_services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} -no-hash-check .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_alpha.objs/native/tezos_protocol_alpha.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-alpha) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_alpha/lib_protocol/test/helpers/.ocamlformat b/src/proto_alpha/lib_protocol/test/helpers/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/test/helpers/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_alpha/lib_protocol/test/helpers/dune b/src/proto_alpha/lib_protocol/test/helpers/dune index 9e27a8e32c7c83fd8b4c2648ebe99f6ad54ce4ae..0d158c65e6e81f95030e9edc2379178813f4b8d4 100644 --- a/src/proto_alpha/lib_protocol/test/helpers/dune +++ b/src/proto_alpha/lib_protocol/test/helpers/dune @@ -1,25 +1,32 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + (library (name tezos_alpha_test_helpers) - (instrumentation (backend bisect_ppx)) (public_name tezos-alpha-test-helpers) - (libraries alcotest-lwt - qcheck-alcotest - tezos-test-helpers - tezos-base - tezos-micheline - tezos-stdlib-unix - tezos-shell-services - tezos-protocol-environment - tezos-protocol-alpha - tezos-protocol-alpha-parameters - tezos-client-alpha - tezos-protocol-plugin-alpha) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_micheline - -open Tezos_stdlib_unix - -open Tezos_protocol_alpha - -open Tezos_client_alpha - -open Tezos_protocol_plugin_alpha - -open Tezos_protocol_environment_alpha - -open Tezos_shell_services))) + (instrumentation (backend bisect_ppx)) + (libraries + alcotest-lwt + qcheck-alcotest + tezos-test-helpers + tezos-base + tezos-micheline + tezos-stdlib-unix + tezos-protocol-alpha + tezos-client-alpha + tezos-protocol-alpha-parameters + tezos-protocol-environment + tezos-protocol-plugin-alpha + tezos-protocol-alpha.environment + tezos-shell-services) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_micheline + -open Tezos_stdlib_unix + -open Tezos_protocol_alpha + -open Tezos_client_alpha + -open Tezos_protocol_plugin_alpha + -open Tezos_protocol_environment_alpha + -open Tezos_shell_services))) diff --git a/src/proto_alpha/lib_protocol/test/helpers/dune-project b/src/proto_alpha/lib_protocol/test/helpers/dune-project deleted file mode 100644 index 8d36470afaad6691387975e5eacb4d8764a2bfe4..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/test/helpers/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-alpha-test-helpers) diff --git a/src/proto_alpha/lib_protocol/test/integration/consensus/dune b/src/proto_alpha/lib_protocol/test/integration/consensus/dune index 4cc8ec25ae1cda0fc4dd9fdc834236a27cf99f11..e225cf6d83b3928fe59f4a4a1a84fc1458aa0cfc 100644 --- a/src/proto_alpha/lib_protocol/test/integration/consensus/dune +++ b/src/proto_alpha/lib_protocol/test/integration/consensus/dune @@ -1,17 +1,27 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-alpha + tezos-alpha-test-helpers + tezos-base-test-helpers + tezos-protocol-alpha-parameters + tezos-protocol-plugin-alpha) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_alpha + -open Tezos_alpha_test_helpers + -open Tezos_base_test_helpers + -open Tezos_protocol_alpha_parameters + -open Tezos_protocol_plugin_alpha))) + +(rule + (alias runtest) (package tezos-protocol-alpha-tests) - (libraries alcotest-lwt - tezos-base - tezos-protocol-alpha - tezos-base-test-helpers - tezos-alpha-test-helpers - tezos-protocol-alpha-parameters - tezos-protocol-plugin-alpha) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_alpha - -open Tezos_alpha_test_helpers - -open Tezos_base_test_helpers - -open Tezos_protocol_alpha_parameters - -open Tezos_protocol_plugin_alpha))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_alpha/lib_protocol/test/integration/dune b/src/proto_alpha/lib_protocol/test/integration/dune index 8f92ac79237d53c7277edfb8f39e4391e811e652..6990c33db76ac856ab89d367848dd8802ae16897 100644 --- a/src/proto_alpha/lib_protocol/test/integration/dune +++ b/src/proto_alpha/lib_protocol/test/integration/dune @@ -1,17 +1,27 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-client-alpha + tezos-protocol-alpha + tezos-protocol-alpha-parameters + tezos-alpha-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_client_alpha + -open Tezos_protocol_alpha + -open Tezos_protocol_alpha_parameters + -open Tezos_alpha_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-alpha-tests) - (libraries alcotest-lwt - tezos-base - tezos-client-alpha - tezos-protocol-alpha - tezos-protocol-alpha-parameters - tezos-base-test-helpers - tezos-alpha-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_client_alpha - -open Tezos_protocol_alpha - -open Tezos_protocol_alpha_parameters - -open Tezos_alpha_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_alpha/lib_protocol/test/integration/gas/dune b/src/proto_alpha/lib_protocol/test/integration/gas/dune index 3e8544633c815fd6626ebfb6980873a54cea81a1..d3cfb0543c9f6bde29c7d7a78d77596785b5e7f5 100644 --- a/src/proto_alpha/lib_protocol/test/integration/gas/dune +++ b/src/proto_alpha/lib_protocol/test/integration/gas/dune @@ -1,13 +1,23 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-alpha + tezos-alpha-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_alpha + -open Tezos_alpha_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-alpha-tests) - (libraries alcotest-lwt - tezos-base - tezos-protocol-alpha - tezos-base-test-helpers - tezos-alpha-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_alpha - -open Tezos_alpha_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_alpha/lib_protocol/test/integration/michelson/dune b/src/proto_alpha/lib_protocol/test/integration/michelson/dune index 68d240da1db21cee42f94824d92cfe835c216ff8..fad51c13f5590b50d81dc10d2e2140989dd4dac4 100644 --- a/src/proto_alpha/lib_protocol/test/integration/michelson/dune +++ b/src/proto_alpha/lib_protocol/test/integration/michelson/dune @@ -1,26 +1,34 @@ -(test - (name main) - (package tezos-protocol-alpha-tests) - (deps (glob_files contracts/*) - (glob_files patched_contracts/*)) - (libraries alcotest-lwt - tezos-base - tezos-protocol-alpha - tezos-protocol-alpha-parameters - tezos-base-test-helpers - tezos-alpha-test-helpers +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. - tezos-client-alpha - tezos-micheline - tezos-benchmark - tezos-benchmark-alpha) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_alpha - -open Tezos_alpha_test_helpers - -open Tezos_base_test_helpers +(executable + (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-alpha + tezos-alpha-test-helpers + tezos-base-test-helpers + tezos-client-alpha + tezos-benchmark + tezos-micheline + tezos-benchmark-alpha + tezos-benchmark-type-inference-alpha + tezos-protocol-alpha-parameters) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_alpha + -open Tezos_alpha_test_helpers + -open Tezos_base_test_helpers + -open Tezos_client_alpha + -open Tezos_micheline + -open Tezos_benchmark_alpha + -open Tezos_benchmark_type_inference_alpha))) - -open Tezos_client_alpha - -open Tezos_micheline - -open Tezos_benchmark_alpha - -open Tezos_benchmark_type_inference_alpha))) +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (deps (glob_files contracts/*) (glob_files patched_contracts/*)) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_alpha/lib_protocol/test/integration/operations/dune b/src/proto_alpha/lib_protocol/test/integration/operations/dune index e8d8134922954b3901e9e941564ec6dd5212d4d4..6fd3828b4cd259da494a470496110d407c94c6be 100644 --- a/src/proto_alpha/lib_protocol/test/integration/operations/dune +++ b/src/proto_alpha/lib_protocol/test/integration/operations/dune @@ -1,15 +1,26 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + alcotest-lwt + tezos-base + tezos-protocol-alpha + tezos-client-alpha + tezos-alpha-test-helpers + tezos-base-test-helpers) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_protocol_alpha + -open Tezos_client_alpha + -open Tezos_alpha_test_helpers + -open Tezos_base_test_helpers))) + +(rule + (alias runtest) (package tezos-protocol-alpha-tests) (deps (glob_files contracts/*)) - (libraries alcotest-lwt - tezos-base - tezos-protocol-alpha - tezos-base-test-helpers - tezos-alpha-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_protocol_alpha - -open Tezos_client_alpha - -open Tezos_alpha_test_helpers - -open Tezos_base_test_helpers))) + (action (run %{dep:./main.exe}))) diff --git a/src/proto_alpha/lib_protocol/test/pbt/dune b/src/proto_alpha/lib_protocol/test/pbt/dune index f167f24942a9745594db0f3836378cad7418dbf8..ba3000fd9726e53dec3aca26b35c4ec9c3bfe8bb 100644 --- a/src/proto_alpha/lib_protocol/test/pbt/dune +++ b/src/proto_alpha/lib_protocol/test/pbt/dune @@ -1,31 +1,93 @@ -(tests - (package tezos-protocol-alpha-tests) - (names liquidity_baking_pbt - saturation_fuzzing - test_merkle_list - test_gas_properties - test_sampler - test_script_comparison - test_tez_repr - test_tx_rollup_l2_encoding - test_bitset - test_sc_rollup_tick_repr - test_carbonated_map) - (libraries tezos-base - tezos-micheline - tezos-client-alpha - tezos-test-helpers - tezos-alpha-test-helpers - alcotest - qcheck-alcotest - tezos-benchmark - tezos-benchmark-alpha) - (flags (:standard - -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_micheline - -open Tezos_client_alpha - -open Tezos_protocol_alpha - -open Tezos_alpha_test_helpers - -open Tezos_benchmark_alpha - -open Tezos_benchmark_type_inference_alpha))) +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executables + (names + liquidity_baking_pbt + saturation_fuzzing + test_merkle_list + test_gas_properties + test_sampler + test_script_comparison + test_tez_repr + test_tx_rollup_l2_encoding + test_bitset + test_sc_rollup_tick_repr + test_carbonated_map) + (libraries + tezos-base + tezos-micheline + tezos-client-alpha + tezos-protocol-alpha + tezos-test-helpers + tezos-alpha-test-helpers + alcotest + qcheck-alcotest + tezos-benchmark + tezos-benchmark-alpha + tezos-benchmark-type-inference-alpha) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_micheline + -open Tezos_client_alpha + -open Tezos_protocol_alpha + -open Tezos_alpha_test_helpers + -open Tezos_benchmark_alpha + -open Tezos_benchmark_type_inference_alpha))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./liquidity_baking_pbt.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./saturation_fuzzing.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_merkle_list.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_gas_properties.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_sampler.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_script_comparison.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_tez_repr.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_tx_rollup_l2_encoding.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_bitset.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_sc_rollup_tick_repr.exe}))) + +(rule + (alias runtest) + (package tezos-protocol-alpha-tests) + (action (run %{dep:./test_carbonated_map.exe}))) diff --git a/src/proto_alpha/lib_protocol/test/regression/dune b/src/proto_alpha/lib_protocol/test/regression/dune deleted file mode 100644 index b12b84de17d8df26bfcc93608b2b64dd62609e7d..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/test/regression/dune +++ /dev/null @@ -1,20 +0,0 @@ -(test - (name main) - (package tezos-protocol-alpha-tests) - (deps (glob_files contracts/*) - (glob_files tezt/_regressions/*)) - (libraries tezt - tezos-base - tezos-protocol-alpha - tezos-protocol-alpha-parameters - tezos-protocol-plugin-alpha - tezos-base-test-helpers - tezos-alpha-test-helpers - tezos-micheline) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_protocol_alpha - -open Tezos_protocol_plugin_alpha - -open Tezos_client_alpha - -open Tezos_alpha_test_helpers - -open Tezos_base_test_helpers - -open Tezos_micheline))) diff --git a/src/proto_alpha/lib_protocol/test/regression/tezt/dune b/src/proto_alpha/lib_protocol/test/regression/tezt/dune deleted file mode 100644 index e73910ff83428fd5dad5f68892e60efaffda6052..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/test/regression/tezt/dune +++ /dev/null @@ -1 +0,0 @@ -(dirs :standard _regressions) diff --git a/src/proto_alpha/lib_protocol/test/unit/dune b/src/proto_alpha/lib_protocol/test/unit/dune index 2a375a55c2177936e6b0e6b90f0dc7594eddfb05..6d1449fd8cf35f7da4f41929a7fb37e223e0e49d 100644 --- a/src/proto_alpha/lib_protocol/test/unit/dune +++ b/src/proto_alpha/lib_protocol/test/unit/dune @@ -1,23 +1,35 @@ -(test +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(executable (name main) + (libraries + tezos-base + tezos-base-test-helpers + tezos-micheline + tezos-client-alpha + tezos-client-base + tezos-protocol-alpha-parameters + tezos-protocol-environment + tezos-stdlib-unix + tezos-protocol-alpha + tezos-protocol-alpha.environment + tezos-alpha-test-helpers + alcotest-lwt + tezos-stdlib) + (flags + (:standard + -open Tezos_base.TzPervasives + -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals + -open Tezos_base_test_helpers + -open Tezos_micheline + -open Tezos_client_alpha + -open Tezos_protocol_alpha + -open Tezos_protocol_environment_alpha + -open Tezos_alpha_test_helpers + -open Tezos_stdlib))) + +(rule + (alias runtest) (package tezos-protocol-alpha-tests) - (libraries tezos-base - tezos-micheline - tezos-protocol-environment - alcotest-lwt - tezos-alpha-test-helpers - tezos-stdlib-unix - tezos-client-base - tezos-protocol-alpha-parameters - tezos-base-test-helpers) - (flags (:standard -open Tezos_base__TzPervasives - -open Tezos_base.TzPervasives.Error_monad.Legacy_monad_globals - -open Tezos_base_test_helpers - -open Tezos_micheline - -open Tezos_client_alpha - -open Tezos_protocol_alpha - -open Tezos_protocol_environment_alpha - -open Tezos_alpha_test_helpers - -open Tezos_base_test_helpers - -open Tezos_stdlib)) - (action (run %{test} "test" "Unit"))) + (action (run %{exe:main.exe} test Unit))) diff --git a/src/proto_alpha/lib_protocol/tezos-protocol-alpha-tests.opam b/src/proto_alpha/lib_protocol/tezos-protocol-alpha-tests.opam deleted file mode 100644 index 029676aa5fa720c9cd3e4c9f82703361f8121c12..0000000000000000000000000000000000000000 --- a/src/proto_alpha/lib_protocol/tezos-protocol-alpha-tests.opam +++ /dev/null @@ -1,37 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" - "alcotest-lwt" { with-test & >= "1.1.0" } - "astring" { with-test } - "tezos-test-helpers" { with-test } - "qcheck-alcotest" { with-test } - "tezos-alpha-test-helpers" { with-test } - "tezos-stdlib-unix" { with-test } - "tezos-protocol-environment" { with-test } - "tezos-client-base" { with-test } - "tezos-protocol-alpha-parameters" { with-test } - "tezos-shell-services" { with-test } - "tezos-base-test-helpers" { with-test } - "tezos-benchmark" { with-test } - "tezos-benchmark-alpha" { with-test } - "tezt" { with-test } -] -build: [ - [ - "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "alpha" - ] - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} -] -synopsis: "Tezos/Protocol: tests for economic-protocol definition" diff --git a/src/proto_demo_counter/lib_protocol/.ocamlformat b/src/proto_demo_counter/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_demo_counter/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_demo_counter/lib_protocol/dune b/src/proto_demo_counter/lib_protocol/dune deleted file mode 120000 index 8b081aeedbd3410224c813ba312f8f9b8f8f828e..0000000000000000000000000000000000000000 --- a/src/proto_demo_counter/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v1 \ No newline at end of file diff --git a/src/proto_demo_counter/lib_protocol/dune b/src/proto_demo_counter/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..3ce4bbcfbd4e160534dcaea2791b18d86a02fec4 --- /dev/null +++ b/src/proto_demo_counter/lib_protocol/dune @@ -0,0 +1,171 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_demo_counter) + (public_name tezos-protocol-demo-counter.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"demo-counter\" end\ninclude Tezos_protocol_environment.MakeV6(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_demo_counter) + (public_name tezos-protocol-demo-counter.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-demo-counter.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_demo_counter.Environment + -open Pervasives + -open Error_monad)) + (modules + Error + Proto_params + Header + State + Proto_operation + Receipt + Apply + Services + Main)) + +(library + (name tezos_protocol_demo_counter) + (public_name tezos-protocol-demo-counter) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-demo-counter.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-demo-counter) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps + error.ml error.mli + proto_params.ml proto_params.mli + header.ml header.mli + state.ml state.mli + proto_operation.ml proto_operation.mli + receipt.ml receipt.mli + apply.ml apply.mli + services.ml services.mli + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_demo_counter.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"ProtoDemoCounterDemoCounterDemoCounterDemoCou4LSpdT\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_demo_counter\ninclude Tezos_raw_protocol_demo_counter.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps + error.ml error.mli + proto_params.ml proto_params.mli + header.ml header.mli + state.ml state.mli + proto_operation.ml proto_operation.mli + receipt.ml receipt.mli + apply.ml apply.mli + services.ml services.mli + main.ml main.mli + (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} -no-hash-check .))) + +(rule + (alias runtest_sandbox) + (deps + .tezos_protocol_demo_counter.objs/native/tezos_protocol_demo_counter.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-demo-counter) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_demo_counter_functor) + (public_name tezos-protocol-functor-demo-counter) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-demo-counter.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps + error.ml error.mli + proto_params.ml proto_params.mli + header.ml header.mli + state.ml state.mli + proto_operation.ml proto_operation.mli + receipt.ml receipt.mli + apply.ml apply.mli + services.ml services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_demo_counter) + (public_name tezos-embedded-protocol-demo-counter) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-demo-counter + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps + error.ml error.mli + proto_params.ml proto_params.mli + header.ml header.mli + state.ml state.mli + proto_operation.ml proto_operation.mli + receipt.ml receipt.mli + apply.ml apply.mli + services.ml services.mli + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} demo_counter))))) diff --git a/src/proto_demo_counter/lib_protocol/dune-project b/src/proto_demo_counter/lib_protocol/dune-project deleted file mode 100644 index a36c2cb705b41ea18485d95ab2c46e327bff8ea4..0000000000000000000000000000000000000000 --- a/src/proto_demo_counter/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-demo-counter) diff --git a/src/proto_demo_counter/lib_protocol/dune.inc b/src/proto_demo_counter/lib_protocol/dune.inc deleted file mode 100644 index eb531aa0667d2d6b0dfc58c598f60d1376fa477a..0000000000000000000000000000000000000000 --- a/src/proto_demo_counter/lib_protocol/dune.inc +++ /dev/null @@ -1,183 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v1 - -; This template is intended for protocols written after the Tezos -; project start using OCaml 4.12. -; -; template.v1 was introduced when we bumped the version of our OCaml -; dependency to 4.12. This change to a newer OCaml version introduced -; new warnings that need to be ignored in the protocols written before -; the update (see dune_protocol.template.v0). - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"demo-counter\" end -include Tezos_protocol_environment.MakeV6(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - error.mli error.ml - proto_params.mli proto_params.ml - header.mli header.ml - state.mli state.ml - proto_operation.mli proto_operation.ml - receipt.mli receipt.ml - apply.mli apply.ml - services.mli services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "demo_counter"))))) - -(rule - (targets functor.ml) - (deps - error.mli error.ml - proto_params.mli proto_params.ml - header.mli header.ml - state.mli state.ml - proto_operation.mli proto_operation.ml - receipt.mli receipt.ml - apply.mli apply.ml - services.mli services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - error.mli error.ml - proto_params.mli proto_params.ml - header.mli header.ml - state.mli state.ml - proto_operation.mli proto_operation.ml - receipt.mli receipt.ml - apply.mli apply.ml - services.mli services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_demo_counter.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"ProtoDemoCounterDemoCounterDemoCounterDemoCou4LSpdT\" -let name = Environment.Name.name -include Tezos_raw_protocol_demo_counter -include Tezos_raw_protocol_demo_counter.Main -"))) - -(library - (name tezos_protocol_environment_demo_counter) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-demo-counter.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_demo_counter) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-demo-counter.raw) - (libraries tezos_protocol_environment_demo_counter) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-40..42-44-45-48 - -warn-error +a - -open Tezos_protocol_environment_demo_counter__Environment - -open Pervasives - -open Error_monad)) - (modules - Error - Proto_params - Header - State - Proto_operation - Receipt - Apply - Services - Main)) - -(install - (section lib) - (package tezos-protocol-demo-counter) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_demo_counter) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-demo-counter) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_demo_counter) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_demo_counter_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-demo-counter) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-demo-counter.raw) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_demo_counter) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-demo-counter) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-demo-counter - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-40..42-44-45-48 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - error.mli error.ml - proto_params.mli proto_params.ml - header.mli header.ml - state.mli state.ml - proto_operation.mli proto_operation.ml - receipt.mli receipt.ml - apply.mli apply.ml - services.mli services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} -no-hash-check .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_demo_counter.objs/native/tezos_protocol_demo_counter.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-demo-counter) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_demo_counter/lib_protocol/tezos-protocol-demo-counter.opam b/src/proto_demo_counter/lib_protocol/tezos-protocol-demo-counter.opam deleted file mode 100644 index 85e688a0f71b5f8721c39373db06b3fac2beef74..0000000000000000000000000000000000000000 --- a/src/proto_demo_counter/lib_protocol/tezos-protocol-demo-counter.opam +++ /dev/null @@ -1,23 +0,0 @@ -opam-version: "2.0" -maintainer: "contact@tezos.com" -authors: [ "Tezos devteam" ] -homepage: "https://www.tezos.com/" -bug-reports: "https://gitlab.com/tezos/tezos/issues" -dev-repo: "git+https://gitlab.com/tezos/tezos.git" -license: "MIT" -depends: [ - "dune" { >= "2.9" } - "tezos-protocol-compiler" -] -build: [ - [ "%{tezos-protocol-compiler:lib}%/replace" - "%{tezos-protocol-compiler:lib}%/dune_protocol.template.v1" - "dune" - "%{tezos-protocol-compiler:lib}%/final_protocol_versions" - "demo_counter" ] - [ "dune" "build" "-p" name "-j" jobs ] -] -run-test: [ - [ "dune" "runtest" "-p" name "-j" jobs ] -] -synopsis: "Tezos/Protocol: demo_counter economic-protocol definition" diff --git a/src/proto_demo_noops/lib_protocol/.ocamlformat b/src/proto_demo_noops/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_demo_noops/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_demo_noops/lib_protocol/dune b/src/proto_demo_noops/lib_protocol/dune deleted file mode 120000 index 8b081aeedbd3410224c813ba312f8f9b8f8f828e..0000000000000000000000000000000000000000 --- a/src/proto_demo_noops/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v1 \ No newline at end of file diff --git a/src/proto_demo_noops/lib_protocol/dune b/src/proto_demo_noops/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..184d5335cc4208d86a4d8d39eb05103ce5411b6b --- /dev/null +++ b/src/proto_demo_noops/lib_protocol/dune @@ -0,0 +1,124 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_demo_noops) + (public_name tezos-protocol-demo-noops.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"demo-noops\" end\ninclude Tezos_protocol_environment.MakeV6(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_demo_noops) + (public_name tezos-protocol-demo-noops.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-demo-noops.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_demo_noops.Environment + -open Pervasives + -open Error_monad)) + (modules Main)) + +(library + (name tezos_protocol_demo_noops) + (public_name tezos-protocol-demo-noops) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-demo-noops.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-demo-noops) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_demo_noops.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"ProtoDemoNoopsDemoNoopsDemoNoopsDemoNoopsDemo6XBoYp\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_demo_noops\ninclude Tezos_raw_protocol_demo_noops.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} -no-hash-check .))) + +(rule + (alias runtest_sandbox) + (deps .tezos_protocol_demo_noops.objs/native/tezos_protocol_demo_noops.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-demo-noops) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_demo_noops_functor) + (public_name tezos-protocol-functor-demo-noops) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-demo-noops.raw) + (flags (-w +a-4-40..42-44-45-48 + -warn-error +a + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_demo_noops) + (public_name tezos-embedded-protocol-demo-noops) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-demo-noops + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags (:standard + -w +a-4-40..42-44-45-48 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} demo_noops))))) diff --git a/src/proto_demo_noops/lib_protocol/dune-project b/src/proto_demo_noops/lib_protocol/dune-project deleted file mode 100644 index e0f08dca5bc15764235ac407bbab9433e1cba7c0..0000000000000000000000000000000000000000 --- a/src/proto_demo_noops/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-demo-noops) diff --git a/src/proto_demo_noops/lib_protocol/dune.inc b/src/proto_demo_noops/lib_protocol/dune.inc deleted file mode 100644 index 4dda06893a4e97c94e0d440b90b40e11c9cd1782..0000000000000000000000000000000000000000 --- a/src/proto_demo_noops/lib_protocol/dune.inc +++ /dev/null @@ -1,143 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v1 - -; This template is intended for protocols written after the Tezos -; project start using OCaml 4.12. -; -; template.v1 was introduced when we bumped the version of our OCaml -; dependency to 4.12. This change to a newer OCaml version introduced -; new warnings that need to be ignored in the protocols written before -; the update (see dune_protocol.template.v0). - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"demo-noops\" end -include Tezos_protocol_environment.MakeV6(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "demo_noops"))))) - -(rule - (targets functor.ml) - (deps - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_demo_noops.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"ProtoDemoNoopsDemoNoopsDemoNoopsDemoNoopsDemo6XBoYp\" -let name = Environment.Name.name -include Tezos_raw_protocol_demo_noops -include Tezos_raw_protocol_demo_noops.Main -"))) - -(library - (name tezos_protocol_environment_demo_noops) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-demo-noops.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_demo_noops) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-demo-noops.raw) - (libraries tezos_protocol_environment_demo_noops) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-40..42-44-45-48 - -warn-error +a - -open Tezos_protocol_environment_demo_noops__Environment - -open Pervasives - -open Error_monad)) - (modules - Main)) - -(install - (section lib) - (package tezos-protocol-demo-noops) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_demo_noops) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-demo-noops) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_demo_noops) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_demo_noops_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-demo-noops) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-demo-noops.raw) - (flags -w "+a-4-40..42-44-45-48" - -warn-error "+a" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_demo_noops) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-demo-noops) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-demo-noops - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-40..42-44-45-48 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} -no-hash-check .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_demo_noops.objs/native/tezos_protocol_demo_noops.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-demo-noops) - (deps (alias runtest_sandbox)) - (action (progn))) diff --git a/src/proto_genesis/lib_protocol/.ocamlformat b/src/proto_genesis/lib_protocol/.ocamlformat deleted file mode 100644 index 4d3778114a8a398cb3e86494c7d563794ac6549b..0000000000000000000000000000000000000000 --- a/src/proto_genesis/lib_protocol/.ocamlformat +++ /dev/null @@ -1,17 +0,0 @@ -version=0.21.0 -ocaml-version=4.12.1 -wrap-fun-args=false -let-binding-spacing=compact -field-space=loose -break-separators=after -space-around-arrays=false -space-around-lists=false -space-around-records=false -space-around-variants=false -dock-collection-brackets=true -space-around-records=false -sequence-style=separator -doc-comments=before -margin=80 -module-item-spacing=sparse -parens-tuple=always diff --git a/src/proto_genesis/lib_protocol/dune b/src/proto_genesis/lib_protocol/dune deleted file mode 120000 index 0aa9dcc0fe1a8bfd1578abcdd3139174adfa1146..0000000000000000000000000000000000000000 --- a/src/proto_genesis/lib_protocol/dune +++ /dev/null @@ -1 +0,0 @@ -../../lib_protocol_compiler/dune_protocol.v0 \ No newline at end of file diff --git a/src/proto_genesis/lib_protocol/dune b/src/proto_genesis/lib_protocol/dune new file mode 100644 index 0000000000000000000000000000000000000000..91a7cd151f2164b1896713676bc2405981355681 --- /dev/null +++ b/src/proto_genesis/lib_protocol/dune @@ -0,0 +1,135 @@ +; This file was automatically generated, do not edit. +; Edit file manifest/main.ml instead. + +(library + (name tezos_protocol_environment_genesis) + (public_name tezos-protocol-genesis.environment) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (modules Environment)) + +(rule + (targets environment.ml) + (action + (write-file + %{targets} + "module Name = struct let name = \"genesis\" end\ninclude Tezos_protocol_environment.MakeV0(Name)()\nmodule CamlinternalFormatBasics = struct include CamlinternalFormatBasics end\n"))) + +(library + (name tezos_raw_protocol_genesis) + (public_name tezos-protocol-genesis.raw) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-genesis.environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 + -warn-error +a + -nostdlib + -nopervasives + -open Tezos_protocol_environment_genesis.Environment + -open Pervasives + -open Error_monad)) + (modules Data Services Main)) + +(library + (name tezos_protocol_genesis) + (public_name tezos-protocol-genesis) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-genesis.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Protocol)) + +(install + (package tezos-protocol-genesis) + (section lib) + (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) + +(rule + (targets protocol.ml) + (deps data.ml + services.ml + main.ml main.mli) + (action + (write-file + %{targets} + "module Environment = Tezos_protocol_environment_genesis.Environment\nlet hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im\"\nlet name = Environment.Name.name\ninclude Tezos_raw_protocol_genesis\ninclude Tezos_raw_protocol_genesis.Main\n"))) + +(rule + (alias runtest_compile_protocol) + (deps data.ml + services.ml + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action (run %{bin:tezos-protocol-compiler} -no-hash-check .))) + +(rule + (alias runtest_sandbox) + (deps .tezos_protocol_genesis.objs/native/tezos_protocol_genesis.cmx) + (action (progn))) + +(rule + (alias runtest) + (package tezos-protocol-genesis) + (deps (alias runtest_sandbox)) + (action (progn))) + +(library + (name tezos_protocol_genesis_functor) + (public_name tezos-protocol-functor-genesis) + (libraries + tezos-protocol-environment + tezos-protocol-environment.sigs + tezos-protocol-genesis.raw) + (flags + (-w +a-4-6-7-9-16-29-40..42-44-45-48-60-67-68 + -warn-error -A + -nopervasives)) + (modules Functor)) + +(rule + (targets functor.ml) + (deps data.ml + services.ml + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) + +(library + (name tezos_embedded_protocol_genesis) + (public_name tezos-embedded-protocol-genesis) + (instrumentation (backend bisect_ppx)) + (libraries + tezos-protocol-genesis + tezos-protocol-updater + tezos-protocol-environment) + (library_flags (:standard -linkall)) + (flags + (:standard + -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 + -warn-error +a)) + (modules Registerer)) + +(rule + (targets registerer.ml) + (deps data.ml + services.ml + main.ml main.mli (:src_dir TEZOS_PROTOCOL)) + (action + (with-stdout-to + %{targets} + (chdir + %{workspace_root} + (run %{bin:tezos-embedded-protocol-packer} %{src_dir} genesis))))) diff --git a/src/proto_genesis/lib_protocol/dune-project b/src/proto_genesis/lib_protocol/dune-project deleted file mode 100644 index 5cfba81173023a7ec9f0a8be1844f30f73501aeb..0000000000000000000000000000000000000000 --- a/src/proto_genesis/lib_protocol/dune-project +++ /dev/null @@ -1,3 +0,0 @@ -(lang dune 2.9) -(formatting (enabled_for ocaml)) -(name tezos-embedded-protocol-genesis) diff --git a/src/proto_genesis/lib_protocol/dune.inc b/src/proto_genesis/lib_protocol/dune.inc deleted file mode 100644 index 33347f058745d3cf1c51996768d65a354b2d35ce..0000000000000000000000000000000000000000 --- a/src/proto_genesis/lib_protocol/dune.inc +++ /dev/null @@ -1,156 +0,0 @@ - - -; -; /!\ /!\ Do not modify this file /!\ /!\ -; -; but the original template in `tezos-protocol-compiler` -; - -; generated from src/lib_protocol_compiler/dune_protocol.template.v0 -; -; This template is intended for protocols written when the Tezos -; project was using OCaml 4.10 or earlier. -; -; Protocols that have already been activated on-chain cannot be -; changed. Additionally, protocols written when the tezos project was -; using OCaml 4.10 or earlier may trigger warnings when compiled with a more -; recent version of the OCaml compiler. Consequently, this template -; sets some specific warning-related options so that protocols written -; on OCaml 4.10 or earlier can be compiled with the more recent compiler version -; currently used in the tezos project. - -(rule - (targets environment.ml) - (action - (write-file %{targets} - "module Name = struct let name = \"genesis\" end -include Tezos_protocol_environment.MakeV0(Name)() -module CamlinternalFormatBasics = struct include CamlinternalFormatBasics end -"))) - -(rule - (targets registerer.ml) - (deps - data.ml - services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action - (with-stdout-to %{targets} - (chdir %{workspace_root} (run %{bin:tezos-embedded-protocol-packer} "%{src_dir}" "genesis"))))) - -(rule - (targets functor.ml) - (deps - data.ml - services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (with-stdout-to %{targets} - (chdir %{workspace_root} - (run %{bin:tezos-protocol-compiler.tezos-protocol-packer} %{src_dir}))))) - -(rule - (targets protocol.ml) - (deps - data.ml - services.ml - main.mli main.ml) - (action - (write-file %{targets} - "module Environment = Tezos_protocol_environment_genesis.Environment -let hash = Tezos_crypto.Protocol_hash.of_b58check_exn \"ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im\" -let name = Environment.Name.name -include Tezos_raw_protocol_genesis -include Tezos_raw_protocol_genesis.Main -"))) - -(library - (name tezos_protocol_environment_genesis) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-genesis.environment) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-environment) - (modules Environment)) - -(library - (name tezos_raw_protocol_genesis) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-genesis.raw) - (libraries tezos_protocol_environment_genesis) - (library_flags (:standard -linkall)) - (flags (:standard -nopervasives -nostdlib - -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67-68 - -warn-error +a - -open Tezos_protocol_environment_genesis__Environment - -open Pervasives - -open Error_monad)) - (modules - Data - Services - Main)) - -(install - (section lib) - (package tezos-protocol-genesis) - (files (TEZOS_PROTOCOL as raw/TEZOS_PROTOCOL))) - -(library - (name tezos_protocol_genesis) - (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-genesis) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos_raw_protocol_genesis) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Protocol)) - -(library - (name tezos_protocol_genesis_functor) - ; The instrumentation is removed as it can lead to a stack overflow - ; https://gitlab.com/tezos/tezos/-/issues/1927 - ; (instrumentation (backend bisect_ppx)) - (public_name tezos-protocol-functor-genesis) - (libraries - tezos-protocol-environment - tezos-protocol-environment.sigs - tezos-protocol-genesis.raw) - (flags -w "+a-4-6-7-9-16-29-40..42-44-45-48-60-67-68" - -warn-error "-A" - -nopervasives) - (modules Functor)) - -(library - (name tezos_embedded_protocol_genesis) - (instrumentation (backend bisect_ppx)) - (public_name tezos-embedded-protocol-genesis) - (library_flags (:standard -linkall)) - (libraries tezos-protocol-genesis - tezos-protocol-updater - tezos-protocol-environment) - (flags (:standard -w +a-4-6-7-9-16-29-32-40..42-44-45-48-60-67 - -warn-error +a)) - (modules Registerer)) - -(rule - (alias runtest_compile_protocol) - (deps - data.ml - services.ml - main.mli main.ml - (:src_dir TEZOS_PROTOCOL)) - (action (run %{bin:tezos-protocol-compiler} -no-hash-check .))) - -(rule - (alias runtest_sandbox) - (deps .tezos_protocol_genesis.objs/native/tezos_protocol_genesis.cmx) - (action (progn))) - -(rule - (alias runtest) - (package tezos-protocol-genesis) - (deps (alias runtest_sandbox)) - (action (progn)))