From 0fc18fa769225a3bfbdd7d763314bd6cc6bd3cf1 Mon Sep 17 00:00:00 2001 From: Savely Krendelhoff Date: Mon, 4 Sep 2023 20:02:17 +0300 Subject: [PATCH 1/5] [#707] Filter snapshots by node's commit hash Problem: The setup wizard can download snapshots from a provider with metadata, but it doesn't filter these by Octez version. This can cause issues in case a snapshot has been created with an Octez version that is incompatible with the one being used. Solution: Filter by node's commit hash. --- baking/src/tezos_baking/tezos_setup_wizard.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/baking/src/tezos_baking/tezos_setup_wizard.py b/baking/src/tezos_baking/tezos_setup_wizard.py index 9dabffb39..7a1753c46 100644 --- a/baking/src/tezos_baking/tezos_setup_wizard.py +++ b/baking/src/tezos_baking/tezos_setup_wizard.py @@ -172,6 +172,10 @@ def is_full_snapshot(snapshot_file, import_mode): return False +def get_node_version_hash(): + return get_proc_output("octez-node --version").stdout.decode("ascii").split()[0] + + # Steps network_query = Step( @@ -370,6 +374,9 @@ def get_snapshot_link(self): self.config["snapshot_url"] = None self.config["snapshot_block_hash"] = None + def hashes_comply(s1, s2): + return s1.startswith(s2) or s2.startswith(s1) + json_url = "https://xtz-shots.io/tezos-snapshots.json" try: snapshot_array = None @@ -377,6 +384,8 @@ def get_snapshot_link(self): snapshot_array = json.load(url)["data"] snapshot_array.sort(reverse=True, key=lambda x: x["block_height"]) + node_version_hash = get_node_version_hash() + snapshot_metadata = next( filter( lambda artifact: artifact["artifact_type"] == "tezos-snapshot" @@ -387,6 +396,10 @@ def get_snapshot_link(self): self.config["history_mode"] == "archive" and artifact["history_mode"] == "full" ) + ) + and hashes_comply( + artifact["tezos_version"]["commit_info"]["commit_hash"], + node_version_hash, ), iter(snapshot_array), ), From 372f8171583758c23772b7610d41696079331958 Mon Sep 17 00:00:00 2001 From: Savely Krendelhoff Date: Tue, 5 Sep 2023 10:53:38 +0300 Subject: [PATCH 2/5] [Chore] Revert changes made for v18.0-rc1-1 Problem: New stable release have to made, so rc-related changes should be reverted. Solution: Revert them. --- .buildkite/pipeline-raw.yml | 4 +- .github/workflows/build-bottles.yml | 2 +- ...-Proxford.rb => tezos-accuser-PtMumbai.rb} | 36 +- Formula/tezos-accuser-PtNairob.rb | 12 +- Formula/tezos-admin-client.rb | 12 +- ...er-Proxford.rb => tezos-baker-PtMumbai.rb} | 36 +- Formula/tezos-baker-PtNairob.rb | 12 +- Formula/tezos-client.rb | 12 +- Formula/tezos-codec.rb | 12 +- Formula/tezos-dac-client.rb | 64 - Formula/tezos-dac-node.rb | 64 - Formula/tezos-node-ghostnet.rb | 2 +- Formula/tezos-node-mainnet.rb | 2 +- ...e-oxfordnet.rb => tezos-node-mumbainet.rb} | 26 +- Formula/tezos-node-nairobinet.rb | 2 +- Formula/tezos-node.rb | 12 +- Formula/tezos-signer-http.rb | 2 +- Formula/tezos-signer-https.rb | 2 +- Formula/tezos-signer-tcp.rb | 2 +- Formula/tezos-signer-unix.rb | 2 +- Formula/tezos-signer.rb | 12 +- ... => tezos-smart-rollup-client-PtMumbai.rb} | 24 +- Formula/tezos-smart-rollup-client-PtNairob.rb | 12 +- ...rb => tezos-smart-rollup-node-PtMumbai.rb} | 36 +- Formula/tezos-smart-rollup-node-PtNairob.rb | 12 +- baking/pyproject.toml | 2 +- baking/src/tezos_baking/tezos_setup_wizard.py | 2 +- baking/src/tezos_baking/wizard_structure.py | 6 +- docker/build/build-rust.sh | 2 +- docker/docker-static-build.sh | 2 +- docker/package/model.py | 2 +- docker/package/packages.py | 28 +- docker/package/scripts/build-binary.sh | 14 +- docs/baking.md | 2 +- docs/fedora.md | 4 +- docs/systemd.md | 6 +- docs/voting.md | 2 +- flake.lock | 1215 ++--------------- flake.nix | 2 +- meta.json | 4 +- nix/build/hacks.nix | 15 +- nix/build/ocaml-overlay.nix | 6 +- nix/build/release-binaries.nix | 11 - nix/modules/common.nix | 4 +- nix/modules/tezos-accuser.nix | 6 +- nix/modules/tezos-baker.nix | 4 +- nix/modules/tezos-node.nix | 2 +- protocols.json | 7 +- scripts/build-all-bottles.sh | 2 +- tests/systemd/services_tests.py | 42 +- tests/test_script.py | 4 +- tests/tezos-binaries.nix | 13 +- tests/tezos-modules.nix | 16 +- tests/tezos-nix-binaries.nix | 21 +- 54 files changed, 357 insertions(+), 1503 deletions(-) rename Formula/{tezos-accuser-Proxford.rb => tezos-accuser-PtMumbai.rb} (69%) rename Formula/{tezos-baker-Proxford.rb => tezos-baker-PtMumbai.rb} (71%) delete mode 100644 Formula/tezos-dac-client.rb delete mode 100644 Formula/tezos-dac-node.rb rename Formula/{tezos-node-oxfordnet.rb => tezos-node-mumbainet.rb} (69%) rename Formula/{tezos-smart-rollup-client-Proxford.rb => tezos-smart-rollup-client-PtMumbai.rb} (66%) rename Formula/{tezos-smart-rollup-node-Proxford.rb => tezos-smart-rollup-node-PtMumbai.rb} (66%) diff --git a/.buildkite/pipeline-raw.yml b/.buildkite/pipeline-raw.yml index 1ee2c7bb3..44cbe821d 100644 --- a/.buildkite/pipeline-raw.yml +++ b/.buildkite/pipeline-raw.yml @@ -117,7 +117,7 @@ steps: - eval "$SET_VERSION" # Building all binary packages will take significant amount of time, so we build only one # in order to ensure package generation sanity - - nix develop .#docker-tezos-packages -c ./docker/build/ubuntu/build.py --type binary -p tezos-baker-PtNairob + - nix develop .#docker-tezos-packages -c ./docker/build/ubuntu/build.py --type binary -p tezos-baker-PtMumbai - rm -rf out # It takes much time to build binary package, so we do it only on master branches: "master" @@ -141,7 +141,7 @@ steps: - eval "$SET_VERSION" # Building all binary packages will take significant amount of time, so we build only one # in order to ensure package generation sanity - - nix develop .#docker-tezos-packages -c ./docker/build/fedora/build.py --type binary -p tezos-baker-PtNairob + - nix develop .#docker-tezos-packages -c ./docker/build/fedora/build.py --type binary -p tezos-baker-PtMumbai - rm -rf out # It takes much time to build binary package, so we do it only on master branches: "master" diff --git a/.github/workflows/build-bottles.yml b/.github/workflows/build-bottles.yml index 288659918..63fffe136 100644 --- a/.github/workflows/build-bottles.yml +++ b/.github/workflows/build-bottles.yml @@ -17,7 +17,7 @@ jobs: matrix: os: [ { id: macos-12, name: "monterey" } ] # we don't bottle meta-formulas that contain only services - formula: [tezos-accuser-PtNairob, tezos-accuser-Proxford, tezos-admin-client, tezos-baker-PtNairob, tezos-baker-Proxford, tezos-client, tezos-codec, tezos-node, tezos-signer, tezos-smart-rollup-client-PtNairob, tezos-smart-rollup-client-Proxford, tezos-smart-rollup-node-PtNairob, tezos-smart-rollup-node-Proxford, tezos-dac-client, tezos-dac-node] + formula: [tezos-accuser-PtMumbai, tezos-accuser-PtNairob, tezos-admin-client, tezos-baker-PtMumbai, tezos-baker-PtNairob, tezos-client, tezos-codec, tezos-node, tezos-signer, tezos-smart-rollup-client-PtMumbai, tezos-smart-rollup-client-PtNairob, tezos-smart-rollup-node-PtMumbai, tezos-smart-rollup-node-PtNairob] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/Formula/tezos-accuser-Proxford.rb b/Formula/tezos-accuser-PtMumbai.rb similarity index 69% rename from Formula/tezos-accuser-Proxford.rb rename to Formula/tezos-accuser-PtMumbai.rb index 243369723..820d187ec 100644 --- a/Formula/tezos-accuser-Proxford.rb +++ b/Formula/tezos-accuser-PtMumbai.rb @@ -1,7 +1,7 @@ -# SPDX-FileCopyrightText: 2023 Oxhead Alpha +# SPDX-FileCopyrightText: 2022 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosAccuserProxford < Formula +class TezosAccuserPtmumbai < Formula @all_bins = [] class << self @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -25,10 +25,10 @@ class << self desc "Daemon for accusing" bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuserProxford.version}/" - sha256 cellar: :any, arm64_big_sur: "bc0441c5c881287a2fcca74ceb92d98e45d17032fe755f67dec8cce30ac5f53a" - sha256 cellar: :any, big_sur: "7ef8600cabf0fac5da4b6a039d2d64e822fbb647f626ba15c60321a8ba746769" - sha256 cellar: :any, monterey: "18afc3bd1220735856ef95996721867c6c540f29bfbbf4e4c896c09e82357780" + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuserPtmumbai.version}/" + sha256 cellar: :any, monterey: "d99450586bb48016307ffdf7d76e7eb0555c31ab1ccde19b3dffd6c36642bcc5" + sha256 cellar: :any, big_sur: "98de4a2dff6201ee2d6435ec8f83a4a943868ec030567809a437a19b1988e9e7" + sha256 cellar: :any, arm64_big_sur: "52c01ff7b363dc1c61426817688fa32946e8bf4f1d3227f24ba1b0aabf6cfa88" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end @@ -62,7 +62,7 @@ def install set -euo pipefail - accuser="#{bin}/octez-accuser-Proxford" + accuser="#{bin}/octez-accuser-PtMumbai" accuser_config="$TEZOS_CLIENT_DIR/config" mkdir -p "$TEZOS_CLIENT_DIR" @@ -77,21 +77,21 @@ def install exec "$accuser" --endpoint "$NODE_RPC_SCHEME://$NODE_RPC_ADDR" run EOS - File.write("tezos-accuser-Proxford-start", startup_contents) - bin.install "tezos-accuser-Proxford-start" + File.write("tezos-accuser-PtMumbai-start", startup_contents) + bin.install "tezos-accuser-PtMumbai-start" make_deps - install_template "src/proto_018_Proxford/bin_accuser/main_accuser_018_Proxford.exe", - "_build/default/src/proto_018_Proxford/bin_accuser/main_accuser_018_Proxford.exe", - "octez-accuser-Proxford" + install_template "src/proto_016_PtMumbai/bin_accuser/main_accuser_016_PtMumbai.exe", + "_build/default/src/proto_016_PtMumbai/bin_accuser/main_accuser_016_PtMumbai.exe", + "octez-accuser-PtMumbai" end service do - run opt_bin/"tezos-accuser-Proxford-start" + run opt_bin/"tezos-accuser-PtMumbai-start" require_root true environment_variables TEZOS_CLIENT_DIR: var/"lib/tezos/client", NODE_RPC_SCHEME: "http", NODE_RPC_ADDR: "localhost:8732" keep_alive true - log_path var/"log/tezos-accuser-Proxford.log" - error_log_path var/"log/tezos-accuser-Proxford.log" + log_path var/"log/tezos-accuser-PtMumbai.log" + error_log_path var/"log/tezos-accuser-PtMumbai.log" end def post_install diff --git a/Formula/tezos-accuser-PtNairob.rb b/Formula/tezos-accuser-PtNairob.rb index 0b8132f1f..1691ef4c7 100644 --- a/Formula/tezos-accuser-PtNairob.rb +++ b/Formula/tezos-accuser-PtNairob.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuserPtnairob.version}/" - sha256 cellar: :any, arm64_big_sur: "ee18dd0c95321329f7652dc3933d521ef8c03d419a0bff7483820ea96d224a60" - sha256 cellar: :any, big_sur: "d361befe303c87690952680aa3563984ab3ff7d2bd991158884aa7242c9b78a5" - sha256 cellar: :any, monterey: "e772cfe143b971c10e77fe39414884d224a5557de6ebec9b6cefb90d7ae10a31" + sha256 cellar: :any, monterey: "8119294feaa1d2df9194f9ac214534ce4b9f0a17939a516c59861ab21b9d15ac" + sha256 cellar: :any, big_sur: "f6b5687d13de47e31f561d897c30137656f2cd873a671cfbf8fd7cc17b406d7a" + sha256 cellar: :any, arm64_big_sur: "3af1de2db0d10370828f5ae6a40576eba9ae0152574b16e70f2b4c3b66effcc5" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-admin-client.rb b/Formula/tezos-admin-client.rb index f3dd91898..c28887701 100644 --- a/Formula/tezos-admin-client.rb +++ b/Formula/tezos-admin-client.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAdminClient.version}/" - sha256 cellar: :any, arm64_big_sur: "002cddcdf4661c88d586efd6e04349c77fc45f2ba47d51259699b576a7368b47" - sha256 cellar: :any, big_sur: "212103ff0b6df15e79a10b2e260b9c0a01988a7a6a01954536951e549bdf4e15" - sha256 cellar: :any, monterey: "6b8598435cfb751c9a7a595c69cc17bddde6a5913486f6aa29a3987acc0b5b29" + sha256 cellar: :any, monterey: "ea8d94c9d06ccd9832923e3915e12a1e35256e719b254de89341a1772a80b62b" + sha256 cellar: :any, big_sur: "89b86b6f9ebdec27d9dcff19c6262a0e54f16917b244083f63581d042f1ad57f" + sha256 cellar: :any, arm64_big_sur: "b0a7aebaaf2b6c60a6f1748ab82c2ebe456cb948deda13830f72c18917786bbb" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-baker-Proxford.rb b/Formula/tezos-baker-PtMumbai.rb similarity index 71% rename from Formula/tezos-baker-Proxford.rb rename to Formula/tezos-baker-PtMumbai.rb index c8893e993..33d817d98 100644 --- a/Formula/tezos-baker-Proxford.rb +++ b/Formula/tezos-baker-PtMumbai.rb @@ -1,7 +1,7 @@ -# SPDX-FileCopyrightText: 2023 Oxhead Alpha +# SPDX-FileCopyrightText: 2022 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosBakerProxford < Formula +class TezosBakerPtmumbai < Formula @all_bins = [] class << self @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -25,10 +25,10 @@ class << self desc "Daemon for baking" bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBakerProxford.version}/" - sha256 cellar: :any, arm64_big_sur: "4130d6fde0bd567595b614fe873d4e279d9c0968038487302e5efb4716654e21" - sha256 cellar: :any, big_sur: "c8ba59f374b1d9f4f9f4740124220e8f7f81d05d6f649571f8f3cd98d4de4340" - sha256 cellar: :any, monterey: "79962f86efe8320920fcdc8ff3a1734ffce83fc1fb74fc6807a770db6fd690af" + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBakerPtmumbai.version}/" + sha256 cellar: :any, monterey: "697990bac2a711f4f535008b6453980882cd7686e6db7f14c3670730535a7197" + sha256 cellar: :any, big_sur: "66facd7620ac17308a96b2cf69888f6de5101577b257b267d2ffd3ccecfb2050" + sha256 cellar: :any, arm64_big_sur: "3ffcfb3985b202a62efd09c8855b4c39e485ad4c7e30da64dd210d54cbdec904" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end @@ -62,7 +62,7 @@ def install set -euo pipefail - baker="#{bin}/octez-baker-Proxford" + baker="#{bin}/octez-baker-PtMumbai" baker_config="$TEZOS_CLIENT_DIR/config" mkdir -p "$TEZOS_CLIENT_DIR" @@ -87,21 +87,21 @@ def install launch_baker "$BAKER_ACCOUNT" fi EOS - File.write("tezos-baker-Proxford-start", startup_contents) - bin.install "tezos-baker-Proxford-start" + File.write("tezos-baker-PtMumbai-start", startup_contents) + bin.install "tezos-baker-PtMumbai-start" make_deps - install_template "src/proto_018_Proxford/bin_baker/main_baker_018_Proxford.exe", - "_build/default/src/proto_018_Proxford/bin_baker/main_baker_018_Proxford.exe", - "octez-baker-Proxford" + install_template "src/proto_016_PtMumbai/bin_baker/main_baker_016_PtMumbai.exe", + "_build/default/src/proto_016_PtMumbai/bin_baker/main_baker_016_PtMumbai.exe", + "octez-baker-PtMumbai" end service do - run opt_bin/"tezos-baker-Proxford-start" + run opt_bin/"tezos-baker-PtMumbai-start" require_root true environment_variables TEZOS_CLIENT_DIR: var/"lib/tezos/client", TEZOS_NODE_DIR: "", NODE_RPC_SCHEME: "http", NODE_RPC_ADDR: "localhost:8732", BAKER_ACCOUNT: "" keep_alive true - log_path var/"log/tezos-baker-Proxford.log" - error_log_path var/"log/tezos-baker-Proxford.log" + log_path var/"log/tezos-baker-PtMumbai.log" + error_log_path var/"log/tezos-baker-PtMumbai.log" end def post_install diff --git a/Formula/tezos-baker-PtNairob.rb b/Formula/tezos-baker-PtNairob.rb index ec48a8452..cd4719375 100644 --- a/Formula/tezos-baker-PtNairob.rb +++ b/Formula/tezos-baker-PtNairob.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBakerPtnairob.version}/" - sha256 cellar: :any, arm64_big_sur: "7297607bbe2b907a1d1c6b9deb3dc4c160a68162b47fdbbc30ae25b2a4ed04c8" - sha256 cellar: :any, big_sur: "0f06234ad073d83f7a79ae26a1abd6cfd595d0e37b7bdb493afc9c9a6e7ef907" - sha256 cellar: :any, monterey: "3a549bc7a2bd6f106e695913698291474873ce3c7cf9ee7f1496b603472c4460" + sha256 cellar: :any, monterey: "b0a2b5e165f14b15292f9dc2b8f1ddb3941f94dcce76ef91dd174b883e53674b" + sha256 cellar: :any, big_sur: "536e0645af7de6373c2c0116cffbdd3a510369457fc23b00a0cfcc2452df5203" + sha256 cellar: :any, arm64_big_sur: "4314adb34e9e8f2733b8e9e9d9b9fcfc983f4480d8233a8c66e25adbe819d8cc" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-client.rb b/Formula/tezos-client.rb index 6e0c03588..69a2a3ddc 100644 --- a/Formula/tezos-client.rb +++ b/Formula/tezos-client.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosClient.version}/" - sha256 cellar: :any, arm64_big_sur: "af41dbe0e2f883def6a847739d1373db81b0764875c1dde1cb9632cacdf61a3a" - sha256 cellar: :any, big_sur: "4053fe7ee229657c58ea5264f3841a9f83d3b3b4adda1f16c40570ee94312383" - sha256 cellar: :any, monterey: "670eff38578026547bbb2a0887c6b41fb10cddcfea1d40138b3d8940248239ee" + sha256 cellar: :any, monterey: "b1a940683048debcc1daf873503d6aa95dab71050a9db003f32435c28c7e9694" + sha256 cellar: :any, big_sur: "61ed45838dc649bd5264e3f1520ca9af5c37e152b07d6255987de7d58e15a325" + sha256 cellar: :any, arm64_big_sur: "8af7c78c67ed61f3d16b3ffd08dc82d4914172ee3eecb8811568d044eb661b9f" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-codec.rb b/Formula/tezos-codec.rb index 81f2c153c..cb4c4e4f6 100644 --- a/Formula/tezos-codec.rb +++ b/Formula/tezos-codec.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosCodec.version}/" - sha256 cellar: :any, arm64_big_sur: "c1d84067a64c2445e3f2f0d9b4f030f73b6c653c8dd0db76119700b84d5a171d" - sha256 cellar: :any, big_sur: "c58e0c9ae3a888d72a8fc2a27b13a7bdf25eb1d3db5cfbee4b82d4d0bf2c6131" - sha256 cellar: :any, monterey: "33dcffae438e3897d9e003205ba3ed3e75d3a4cd1e4560844fd1e821d073a7a3" + sha256 cellar: :any, monterey: "a69309b6ecae9573faea0bd24e86d70d3981430831d81898760a17121f0e0546" + sha256 cellar: :any, big_sur: "e5c3da00b2b0afc9f417112002f6711e3eb5ff273bff1906dca3bfcd7038e4b0" + sha256 cellar: :any, arm64_big_sur: "2b61313c57008a420d9968f6b8713a3a54e1bb700e53cabdf91fa7b529c28c72" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-dac-client.rb b/Formula/tezos-dac-client.rb deleted file mode 100644 index 7c823c79d..000000000 --- a/Formula/tezos-dac-client.rb +++ /dev/null @@ -1,64 +0,0 @@ -# SPDX-FileCopyrightText: 2021 Oxhead Alpha -# SPDX-License-Identifier: LicenseRef-MIT-OA - -class TezosDacClient < Formula - @all_bins = [] - - class << self - attr_accessor :all_bins - end - homepage "https://gitlab.com/tezos/tezos" - - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - - version "v18.0-rc1-1" - - build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] - build_dependencies.each do |dependency| - depends_on dependency => :build - end - - dependencies = %w[gmp hidapi libev libffi tezos-sapling-params] - dependencies.each do |dependency| - depends_on dependency - end - desc "A Data Availability Committee Tezos client" - - bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosDacClient.version}/" - sha256 cellar: :any, arm64_big_sur: "11621253b53e75235a8557b6fc5f763b7b4ddb6dd76276221d0ef7d98c9a84ed" - sha256 cellar: :any, big_sur: "285406c3a521f4dc10f3ba2dc7bf5d5d59c1ec622ec4e255135a778222c1ec5e" - sha256 cellar: :any, monterey: "12cf98c63842cca83b34348d7aad09ec908d819707364d2ac909388cd9c84e84" - end - - def make_deps - ENV.deparallelize - ENV["CARGO_HOME"]="./.cargo" - # Disable usage of instructions from the ADX extension to avoid incompatibility - # with old CPUs, see https://gitlab.com/dannywillems/ocaml-bls12-381/-/merge_requests/135/ - ENV["BLST_PORTABLE"]="yes" - # Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer - arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64" - system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" - system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" - ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" - system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" - system ["source .cargo/env", "make build-deps"].join(" && ") - end - - def install_template(dune_path, exec_path, name) - bin.mkpath - self.class.all_bins << name - system ["eval $(opam env)", "dune build #{dune_path}", "cp #{exec_path} #{name}"].join(" && ") - bin.install name - ln_sf "#{bin}/#{name}", "#{bin}/#{name.gsub("octez", "tezos")}" - end - - def install - make_deps - install_template "src/bin_dac_client/main_dac_client.exe", - "_build/default/src/bin_dac_client/main_dac_client.exe", - "octez-dac-client" - end -end diff --git a/Formula/tezos-dac-node.rb b/Formula/tezos-dac-node.rb deleted file mode 100644 index 971fb5370..000000000 --- a/Formula/tezos-dac-node.rb +++ /dev/null @@ -1,64 +0,0 @@ -# SPDX-FileCopyrightText: 2021 Oxhead Alpha -# SPDX-License-Identifier: LicenseRef-MIT-OA - -class TezosDacNode < Formula - @all_bins = [] - - class << self - attr_accessor :all_bins - end - homepage "https://gitlab.com/tezos/tezos" - - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - - version "v18.0-rc1-1" - - build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] - build_dependencies.each do |dependency| - depends_on dependency => :build - end - - dependencies = %w[gmp hidapi libev libffi tezos-sapling-params] - dependencies.each do |dependency| - depends_on dependency - end - desc "A Data Availability Committee Tezos node" - - bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosDacNode.version}/" - sha256 cellar: :any, arm64_big_sur: "e7d00c64f7c523628ba381d0859700a11725405ce35e977bf7d81e49587b7f16" - sha256 cellar: :any, big_sur: "f15d9bd9a5b61e96f4af2a097dac3bc6c531d8229aa729f56163a9bdc1c979e3" - sha256 cellar: :any, monterey: "5ff06281f0f4b62b97b64bd79c79986cd28541a6f426a98df4078ebcd518324a" - end - - def make_deps - ENV.deparallelize - ENV["CARGO_HOME"]="./.cargo" - # Disable usage of instructions from the ADX extension to avoid incompatibility - # with old CPUs, see https://gitlab.com/dannywillems/ocaml-bls12-381/-/merge_requests/135/ - ENV["BLST_PORTABLE"]="yes" - # Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer - arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64" - system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" - system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" - ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" - system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" - system ["source .cargo/env", "make build-deps"].join(" && ") - end - - def install_template(dune_path, exec_path, name) - bin.mkpath - self.class.all_bins << name - system ["eval $(opam env)", "dune build #{dune_path}", "cp #{exec_path} #{name}"].join(" && ") - bin.install name - ln_sf "#{bin}/#{name}", "#{bin}/#{name.gsub("octez", "tezos")}" - end - - def install - make_deps - install_template "src/bin_dac_node/main_dac.exe", - "_build/default/src/bin_dac_node/main_dac.exe", - "octez-dac-node" - end -end diff --git a/Formula/tezos-node-ghostnet.rb b/Formula/tezos-node-ghostnet.rb index b3972ed00..d656d6bfb 100644 --- a/Formula/tezos-node-ghostnet.rb +++ b/Formula/tezos-node-ghostnet.rb @@ -3,7 +3,7 @@ class TezosNodeGhostnet < Formula url "file:///dev/null" - version "v18.0-rc1-1" + version "v17.3-1" depends_on "tezos-node" diff --git a/Formula/tezos-node-mainnet.rb b/Formula/tezos-node-mainnet.rb index e9bfb9fd2..85d6ad097 100644 --- a/Formula/tezos-node-mainnet.rb +++ b/Formula/tezos-node-mainnet.rb @@ -3,7 +3,7 @@ class TezosNodeMainnet < Formula url "file:///dev/null" - version "v18.0-rc1-1" + version "v17.3-1" depends_on "tezos-node" diff --git a/Formula/tezos-node-oxfordnet.rb b/Formula/tezos-node-mumbainet.rb similarity index 69% rename from Formula/tezos-node-oxfordnet.rb rename to Formula/tezos-node-mumbainet.rb index 888ad510e..28a568cb1 100644 --- a/Formula/tezos-node-oxfordnet.rb +++ b/Formula/tezos-node-mumbainet.rb @@ -3,13 +3,13 @@ # SPDX-FileCopyrightText: 2023 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosNodeOxfordnet < Formula +class TezosNodeMumbainet < Formula url "file:///dev/null" - version "v18.0-rc1-1" + version "v17.3-1" depends_on "tezos-node" - desc "Meta formula that provides background tezos-node service that runs on oxfordnet" + desc "Meta formula that provides background tezos-node service that runs on mumbainet" def install startup_contents = @@ -27,13 +27,13 @@ def install echo "Configuring the node..." "$node" config init \ --rpc-addr "$NODE_RPC_ADDR" \ - --network=https://teztnets.xyz/oxfordnet\ + --network=mumbainet\ "$@" else echo "Updating the node configuration..." "$node" config update \ --rpc-addr "$NODE_RPC_ADDR" \ - --network=https://teztnets.xyz/oxfordnet\ + --network=mumbainet\ "$@" fi @@ -45,22 +45,22 @@ def install --rpc-tls="$CERT_PATH","$KEY_PATH" fi EOS - File.write("tezos-node-oxfordnet-start", startup_contents) - bin.install "tezos-node-oxfordnet-start" - print "Installing tezos-node-oxfordnet service" + File.write("tezos-node-mumbainet-start", startup_contents) + bin.install "tezos-node-mumbainet-start" + print "Installing tezos-node-mumbainet service" end service do - run opt_bin/"tezos-node-oxfordnet-start" + run opt_bin/"tezos-node-mumbainet-start" require_root true environment_variables TEZOS_CLIENT_DIR: var/"lib/tezos/client", NODE_RPC_ADDR: "127.0.0.1:8732", CERT_PATH: "", KEY_PATH: "" keep_alive true - log_path var/"log/tezos-node-oxfordnet.log" - error_log_path var/"log/tezos-node-oxfordnet.log" + log_path var/"log/tezos-node-mumbainet.log" + error_log_path var/"log/tezos-node-mumbainet.log" end def post_install - mkdir_p "#{var}/lib/tezos/node-oxfordnet" - system "octez-node", "config", "init", "--data-dir" "#{var}/lib/tezos/node-oxfordnet", "--network", "https://teztnets.xyz/oxfordnet" + mkdir_p "#{var}/lib/tezos/node-mumbainet" + system "octez-node", "config", "init", "--data-dir" "#{var}/lib/tezos/node-mumbainet", "--network", "mumbainet" end end diff --git a/Formula/tezos-node-nairobinet.rb b/Formula/tezos-node-nairobinet.rb index 543a2816f..ed8f7c990 100644 --- a/Formula/tezos-node-nairobinet.rb +++ b/Formula/tezos-node-nairobinet.rb @@ -5,7 +5,7 @@ class TezosNodeNairobinet < Formula url "file:///dev/null" - version "v18.0-rc1-1" + version "v17.3-1" depends_on "tezos-node" diff --git a/Formula/tezos-node.rb b/Formula/tezos-node.rb index 6f5e24dd6..c9ba663c0 100644 --- a/Formula/tezos-node.rb +++ b/Formula/tezos-node.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosNode.version}/" - sha256 cellar: :any, arm64_big_sur: "c71f5657427cd035b82dc6b0a8c820846d9fbc157021f831432482f7f158f2b3" - sha256 cellar: :any, big_sur: "bf8eed699d5df92f702e7cfc27a3e63720076c4b9414c6ca348ae5b6a6521bb3" - sha256 cellar: :any, monterey: "d1e281c0ae9cb1dcca76252345ea0be1dd909f9c5dcb74f20528d80966679698" + sha256 cellar: :any, monterey: "f0a985b169577c3a11bb667697f56c3db97cd3fe7294de34a5ead4f7d00d67a0" + sha256 cellar: :any, big_sur: "663bc0853bdb526c206906847c3211f27bf00c75c4e098b20ae003fca0858a18" + sha256 cellar: :any, arm64_big_sur: "bf858a60ad8ff4bd81bd779f23d58b1899fb2d3b74d8996246e2fad88afad300" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-signer-http.rb b/Formula/tezos-signer-http.rb index def1526d5..9cee592c4 100644 --- a/Formula/tezos-signer-http.rb +++ b/Formula/tezos-signer-http.rb @@ -3,7 +3,7 @@ class TezosSignerHttp < Formula url "file:///dev/null" - version "v18.0-rc1-1" + version "v17.3-1" depends_on "tezos-signer" diff --git a/Formula/tezos-signer-https.rb b/Formula/tezos-signer-https.rb index 66e630952..0aa697e7f 100644 --- a/Formula/tezos-signer-https.rb +++ b/Formula/tezos-signer-https.rb @@ -3,7 +3,7 @@ class TezosSignerHttps < Formula url "file:///dev/null" - version "v18.0-rc1-1" + version "v17.3-1" depends_on "tezos-signer" diff --git a/Formula/tezos-signer-tcp.rb b/Formula/tezos-signer-tcp.rb index 3525f1c89..b23420893 100644 --- a/Formula/tezos-signer-tcp.rb +++ b/Formula/tezos-signer-tcp.rb @@ -3,7 +3,7 @@ class TezosSignerTcp < Formula url "file:///dev/null" - version "v18.0-rc1-1" + version "v17.3-1" depends_on "tezos-signer" diff --git a/Formula/tezos-signer-unix.rb b/Formula/tezos-signer-unix.rb index 5e96e1e60..42105f0b1 100644 --- a/Formula/tezos-signer-unix.rb +++ b/Formula/tezos-signer-unix.rb @@ -3,7 +3,7 @@ class TezosSignerUnix < Formula url "file:///dev/null" - version "v18.0-rc1-1" + version "v17.3-1" depends_on "tezos-signer" diff --git a/Formula/tezos-signer.rb b/Formula/tezos-signer.rb index f76f0cc47..197f58fde 100644 --- a/Formula/tezos-signer.rb +++ b/Formula/tezos-signer.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSigner.version}/" - sha256 cellar: :any, arm64_big_sur: "4af9252ea4e22eb678f7b3eaad71e343e11b39e3ebb1d015bebf333b8a4a723f" - sha256 cellar: :any, big_sur: "709bd0df4af94e228a975843d69c2825b996233dad55f0be77e9bbf0e4454ad9" - sha256 cellar: :any, monterey: "cd1592983e06de32000694a12fb4380aa58042e18709b8e799580bc724697e22" + sha256 cellar: :any, monterey: "7459d361f7c3210980fcbb9c922efeb4a7976c9d4e4238ddb8319aebbbd73925" + sha256 cellar: :any, big_sur: "6755d624dbce5366c0e407ab50ce8345bc431f6a204dd354108eddf9d1839d4e" + sha256 cellar: :any, arm64_big_sur: "903bc14077b0ff00b6924938542af1094031888440f32a8919a57843ffee4516" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-smart-rollup-client-Proxford.rb b/Formula/tezos-smart-rollup-client-PtMumbai.rb similarity index 66% rename from Formula/tezos-smart-rollup-client-Proxford.rb rename to Formula/tezos-smart-rollup-client-PtMumbai.rb index 3838dda78..bb9f125e3 100644 --- a/Formula/tezos-smart-rollup-client-Proxford.rb +++ b/Formula/tezos-smart-rollup-client-PtMumbai.rb @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2023 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosSmartRollupClientProxford < Formula +class TezosSmartRollupClientPtmumbai < Formula @all_bins = [] class << self @@ -10,9 +10,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -23,13 +23,13 @@ class << self dependencies.each do |dependency| depends_on dependency end - desc "Smart contract rollup CLI client for Proxford" + desc "Smart contract rollup CLI client for PtMumbai" bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupClientProxford.version}/" - sha256 cellar: :any, arm64_big_sur: "e9004b0cb53c5bf1571e6cc32518154853295c4a583535ce3b18cd62f893fcc3" - sha256 cellar: :any, big_sur: "eac7ff33ea326424efb297068014f894e716a72dfb6c06f656a142f090142d34" - sha256 cellar: :any, monterey: "3168234eeb049ddcabb88abcdd0c189bcaef4819b434fb7c729422d88ed1a36c" + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupClientPtmumbai.version}/" + sha256 cellar: :any, monterey: "dc56fe19714bcc58e9bde18bdefe1a7b9cbbfd5f239578a3fac99f76aa907de5" + sha256 cellar: :any, big_sur: "e9c60fe4bfb85c4199901458075ba54a28134994c3a1c306c4c8b8b2cf591727" + sha256 cellar: :any, arm64_big_sur: "1e423db1d4dd43e4a0fe431440c7a1dd3773fc02486b732f15a5200c59bb3216" end def make_deps @@ -43,7 +43,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end @@ -58,8 +58,8 @@ def install_template(dune_path, exec_path, name) def install make_deps - install_template "src/proto_018_Proxford/bin_sc_rollup_client/main_sc_rollup_client_018_Proxford.exe", - "_build/default/src/proto_018_Proxford/bin_sc_rollup_client/main_sc_rollup_client_018_Proxford.exe", - "octez-smart-rollup-client-Proxford" + install_template "src/proto_016_PtMumbai/bin_sc_rollup_client/main_sc_rollup_client_016_PtMumbai.exe", + "_build/default/src/proto_016_PtMumbai/bin_sc_rollup_client/main_sc_rollup_client_016_PtMumbai.exe", + "octez-smart-rollup-client-PtMumbai" end end diff --git a/Formula/tezos-smart-rollup-client-PtNairob.rb b/Formula/tezos-smart-rollup-client-PtNairob.rb index 43443528e..deaa782e9 100644 --- a/Formula/tezos-smart-rollup-client-PtNairob.rb +++ b/Formula/tezos-smart-rollup-client-PtNairob.rb @@ -10,9 +10,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -27,9 +27,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupClientPtnairob.version}/" - sha256 cellar: :any, arm64_big_sur: "4f6273c00de3610b68666fbeee659b191011679fca9b84d0a6125f32fd05a027" - sha256 cellar: :any, big_sur: "f4f85a8f3df9e28399deca0076be3c15b474e86df1c74ca2470e263818ada225" - sha256 cellar: :any, monterey: "07ce62ba3d2285e30dec4336a8f5a4ad9a1bc38644982b0826252dfc43140eab" + sha256 cellar: :any, monterey: "e3ec6b3abef855cc8ea1ed93b2c49bfff65c9b7dd12385c10cdd99182a585458" + sha256 cellar: :any, big_sur: "4ce7ac2c1c03eabb8dce4aa1afa2ea975c5c87d48875e53cfce99c8ee39fa7d3" + sha256 cellar: :any, arm64_big_sur: "3470927ae77f8bcf25715e8f0529fa401d08ef7fb442af588c48011cd6ee7c75" end def make_deps @@ -43,7 +43,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-smart-rollup-node-Proxford.rb b/Formula/tezos-smart-rollup-node-PtMumbai.rb similarity index 66% rename from Formula/tezos-smart-rollup-node-Proxford.rb rename to Formula/tezos-smart-rollup-node-PtMumbai.rb index d2c69000e..d6de2739b 100644 --- a/Formula/tezos-smart-rollup-node-Proxford.rb +++ b/Formula/tezos-smart-rollup-node-PtMumbai.rb @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2023 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosSmartRollupNodeProxford < Formula +class TezosSmartRollupNodePtmumbai < Formula @all_bins = [] class << self @@ -11,9 +11,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -24,13 +24,13 @@ class << self dependencies.each do |dependency| depends_on dependency end - desc "Tezos smart contract rollup node for Proxford" + desc "Tezos smart contract rollup node for PtMumbai" bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupNodeProxford.version}/" - sha256 cellar: :any, arm64_big_sur: "6e4cb3b4ede45d13f8d558544316fd2b1e9c4f985e02b05ec8863edc1e390757" - sha256 cellar: :any, big_sur: "420467457b304ffc8056212a0ea0627088adb18053e135a876c4890ae0454f3f" - sha256 cellar: :any, monterey: "bbe5f5dff795a63681b3ce0e5fedc47795010c1d021e4dca3e930a853cab01fb" + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupNodePtmumbai.version}/" + sha256 cellar: :any, monterey: "1d78ad8bce8ce313e34d4ee52e265fa5f683efe8fcd5c76698ee850ff170b798" + sha256 cellar: :any, big_sur: "2c629ed60b7902dd6adeacf1b46324682d66292f7aaf16909329d2df7bd90f3d" + sha256 cellar: :any, arm64_big_sur: "31df9fb1d365aa14f8025c484050a04185354b28b9456cb4428aa7d9b2a36f43" end def make_deps @@ -44,7 +44,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end @@ -64,7 +64,7 @@ def install set -euo pipefail - node="#{bin}/octez-smart-rollup-node-Proxford" + node="#{bin}/octez-smart-rollup-node-PtMumbai" "$node" init "$ROLLUP_MODE" config \ for "$ROLLUP_ALIAS" \ @@ -74,21 +74,21 @@ def install "$node" --endpoint "$NODE_RPC_SCHEME://$NODE_RPC_ADDR" \ run "$ROLLUP_MODE" for "$ROLLUP_ALIAS" EOS - File.write("tezos-smart-rollup-node-Proxford-start", startup_contents) - bin.install "tezos-smart-rollup-node-Proxford-start" + File.write("tezos-smart-rollup-node-PtMumbai-start", startup_contents) + bin.install "tezos-smart-rollup-node-PtMumbai-start" make_deps - install_template "src/proto_018_Proxford/bin_sc_rollup_node/main_sc_rollup_node_018_Proxford.exe", - "_build/default/src/proto_018_Proxford/bin_sc_rollup_node/main_sc_rollup_node_018_Proxford.exe", - "octez-smart-rollup-node-Proxford" + install_template "src/proto_016_PtMumbai/bin_sc_rollup_node/main_sc_rollup_node_016_PtMumbai.exe", + "_build/default/src/proto_016_PtMumbai/bin_sc_rollup_node/main_sc_rollup_node_016_PtMumbai.exe", + "octez-smart-rollup-node-PtMumbai" end service do - run opt_bin/"tezos-smart-rollup-node-Proxford-start" + run opt_bin/"tezos-smart-rollup-node-PtMumbai-start" require_root true environment_variables TEZOS_CLIENT_DIR: var/"lib/tezos/client", NODE_RPC_ENDPOINT: "http://localhost:8732", ROLLUP_NODE_RPC_ENDPOINT: "127.0.0.1:8472", ROLLUP_MODE: "observer", ROLLUP_ALIAS: "rollup" keep_alive true - log_path var/"log/tezos-smart-rollup-node-Proxford.log" - error_log_path var/"log/tezos-smart-rollup-node-Proxford.log" + log_path var/"log/tezos-smart-rollup-node-PtMumbai.log" + error_log_path var/"log/tezos-smart-rollup-node-PtMumbai.log" end def post_install diff --git a/Formula/tezos-smart-rollup-node-PtNairob.rb b/Formula/tezos-smart-rollup-node-PtNairob.rb index 3448e484a..ccae69195 100644 --- a/Formula/tezos-smart-rollup-node-PtNairob.rb +++ b/Formula/tezos-smart-rollup-node-PtNairob.rb @@ -11,9 +11,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false - version "v18.0-rc1-1" + version "v17.3-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -28,9 +28,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupNodePtnairob.version}/" - sha256 cellar: :any, arm64_big_sur: "0264f3275f3bcd9725ade8d09bc130a10121f946436c52f43263b8137b7cb49c" - sha256 cellar: :any, big_sur: "0be328c657b19fab2e33b4d61a4cd832407a284fe83248149021c789a7e82fe4" - sha256 cellar: :any, monterey: "c3c148d671540495ee290b7fd0d980ffc8619beb6f3d2b5182d14a89709d11af" + sha256 cellar: :any, monterey: "1a6bf892de65b2ea354da02f3c633033ead8b014efafa9fb475ef4588ba6d32f" + sha256 cellar: :any, big_sur: "dbbe954b7cfee4c010a633cfcb70a1835cf4acfdc521f8196ce45b42b779d519" + sha256 cellar: :any, arm64_big_sur: "33bb3146915095b4d190c1a9f7739dfc4f6b5c077a9f3b6a94a7c946ce916957" end def make_deps @@ -44,7 +44,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "rustup-init", "--default-toolchain", "1.60.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/baking/pyproject.toml b/baking/pyproject.toml index 2da8bf8c8..9db63611c 100644 --- a/baking/pyproject.toml +++ b/baking/pyproject.toml @@ -14,7 +14,7 @@ description = "Package that provides systemd services that orchestrate other ser license = { text = "LicenseRef-MIT-OA" } requires-python = ">=3.8" readme = "README.md" -version = "v18.0-rc1" +version = "v17.3a" [tool.setuptools.packages.find] where= ["src"] diff --git a/baking/src/tezos_baking/tezos_setup_wizard.py b/baking/src/tezos_baking/tezos_setup_wizard.py index 7a1753c46..eda1d1d1b 100644 --- a/baking/src/tezos_baking/tezos_setup_wizard.py +++ b/baking/src/tezos_baking/tezos_setup_wizard.py @@ -182,7 +182,7 @@ def get_node_version_hash(): id="network", prompt="Which Tezos network would you like to use?\nCurrently supported:", help="The selected network will be used to set up all required services.\n" - "The currently supported protocol is `PtNairob` (used on `nairobinet`, `ghostnet` and `mainnet`) and Proxford (used on `oxfordnet`).\n" + "The currently supported protocol is `PtMumbai` (used on `mumbainet`, `ghostnet` and `mainnet`) and `PtNairob` (used on `nairobinet`).\n" "Keep in mind that you must select the test network (e.g. ghostnet)\n" "if you plan on baking with a faucet JSON file.\n", options=networks, diff --git a/baking/src/tezos_baking/wizard_structure.py b/baking/src/tezos_baking/wizard_structure.py index c2ea5347f..c7953d506 100644 --- a/baking/src/tezos_baking/wizard_structure.py +++ b/baking/src/tezos_baking/wizard_structure.py @@ -303,9 +303,9 @@ def url_is_reachable(url): networks = { "mainnet": "Main Tezos network", - "ghostnet": "Long running test network, currently using the Nairobi Tezos protocol", - "nairobinet": "Test network using the Nairobi Tezos protocol", - "oxfordnet": "Test network using the Oxford Tezos protocol", + "ghostnet": "Long running test network, currently using the mumbai Tezos protocol", + "mumbainet": "Test network using the mumbai Tezos protocol", + "nairobinet": "Test network using the nairobi Tezos protocol", } http_request_headers = {"User-Agent": "Mozilla/5.0"} diff --git a/docker/build/build-rust.sh b/docker/build/build-rust.sh index 6419060e1..5e44cf251 100755 --- a/docker/build/build-rust.sh +++ b/docker/build/build-rust.sh @@ -7,4 +7,4 @@ set -euo pipefail wget https://sh.rustup.rs/rustup-init.sh chmod +x rustup-init.sh -./rustup-init.sh --profile minimal --default-toolchain 1.64.0 -y +./rustup-init.sh --profile minimal --default-toolchain 1.60.0 -y diff --git a/docker/docker-static-build.sh b/docker/docker-static-build.sh index 650eadf99..2957934fc 100755 --- a/docker/docker-static-build.sh +++ b/docker/docker-static-build.sh @@ -8,7 +8,7 @@ set -euo pipefail -binaries=("octez-admin-client" "octez-dac-client" "octez-dac-node" "octez-client" "octez-node" "octez-signer" "octez-codec") +binaries=("octez-admin-client" "octez-client" "octez-node" "octez-signer" "octez-codec") for proto in $(jq -r ".active | .[]" ../protocols.json); do binaries+=("octez-accuser-$proto" "octez-baker-$proto" "octez-smart-rollup-client-$proto" "octez-smart-rollup-node-$proto") diff --git a/docker/package/model.py b/docker/package/model.py index 4fd7b8c59..4c2b64de9 100644 --- a/docker/package/model.py +++ b/docker/package/model.py @@ -585,7 +585,7 @@ class TezosBakingServicesPackage(AbstractPackage): # native releases, so we append an extra letter to the version of # the package. # This should be reset to "" whenever the native version is bumped. - letter_version = "" + letter_version = "a" buildfile = "setup.py" diff --git a/docker/package/packages.py b/docker/package/packages.py index 508573df9..ab24eaa42 100644 --- a/docker/package/packages.py +++ b/docker/package/packages.py @@ -19,19 +19,19 @@ networks = { "mainnet": "mainnet", "ghostnet": "ghostnet", + "mumbainet": "mumbainet", "nairobinet": "https://teztnets.xyz/nairobinet", - "oxfordnet": "https://teztnets.xyz/oxfordnet", } networks_protos = { - "mainnet": ["PtNairob"], - "ghostnet": ["PtNairob"], + "mainnet": ["PtMumbai", "PtNairob"], + "ghostnet": ["PtMumbai", "PtNairob"], + "mumbainet": ["PtMumbai"], "nairobinet": ["PtNairob"], - "oxfordnet": ["Proxford"], } protocol_numbers = { + "PtMumbai": "016", "PtNairob": "017", - "Proxford": "018", } signer_units = [ @@ -176,22 +176,6 @@ dune_filepath="src/bin_codec/codec.exe", ) }, - { - "tezos-dac-client": TezosBinaryPackage( - "tezos-dac-client", - "A Data Availability Committee Tezos client", - meta=packages_meta, - dune_filepath="src/bin_dac_client/main_dac_client.exe", - ) - }, - { - "tezos-dac-node": TezosBinaryPackage( - "tezos-dac-node", - "A Data Availability Committee Tezos node", - meta=packages_meta, - dune_filepath="src/bin_dac_node/main_dac.exe", - ) - }, ] @@ -556,6 +540,6 @@ def mk_rollup_package(name, proto): ] -packages.extend(mk_rollup_packages("PtNairob", "Proxford")) +packages.extend(mk_rollup_packages("PtMumbai", "PtNairob")) packages = dict(ChainMap(*packages)) diff --git a/docker/package/scripts/build-binary.sh b/docker/package/scripts/build-binary.sh index bb66264d7..1681c144f 100755 --- a/docker/package/scripts/build-binary.sh +++ b/docker/package/scripts/build-binary.sh @@ -14,14 +14,18 @@ binary_name="$2" cd tezos opam init local ../opam-repository --bare --disable-sandboxing opam switch create . --repositories=local --no-install - eval "$(opam env)" -OPAMASSUMEDEPEXTS=true opam install conf-rust conf-rust-2021 - +opams=() +while IFS= read -r -d $'\0'; do + # we exclude optional development packages + if [ "$REPLY" != "./opam/virtual/octez-dev-deps.opam" ]; then + opams+=("$REPLY") + fi +done < <(find ./vendors ./src ./tezt ./opam -name \*.opam -print0) export CFLAGS="-fPIC ${CFLAGS:-}" -opam install opam/virtual/octez-deps.opam --deps-only --criteria="-notuptodate,-changed,-removed" - +opam install "${opams[@]}" --deps-only --criteria="-notuptodate,-changed,-removed" eval "$(opam env)" + dune build "$dune_filepath" cp "./_build/default/$dune_filepath" "../$binary_name" cd .. diff --git a/docs/baking.md b/docs/baking.md index 9ffd85e60..cb569da4c 100644 --- a/docs/baking.md +++ b/docs/baking.md @@ -30,7 +30,7 @@ that you can use by following the [installation instructions](https://www.raspbe In order to run a baking instance, you'll need the following Tezos binaries: `tezos-client`, `tezos-node`, `tezos-baker-`. -The currently supported protocol is `PtNairob` (used on `nairobinet`, `ghostnet` and `mainnet`) and `Proxford` (used on `oxfordnet`). +The currently supported protocol is `PtMumbai` (used on `mumbainet`, `ghostnet` and `mainnet`) and `PtNairob` (used on `nairobinet`). Also, note that the corresponding packages have protocol suffix in lowercase, e.g. the list of available baker packages can be found [here](https://launchpad.net/~serokell/+archive/ubuntu/tezos/+packages?field.name_filter=tezos-baker&field.status_filter=published). diff --git a/docs/fedora.md b/docs/fedora.md index 581e64e59..dddb56a16 100644 --- a/docs/fedora.md +++ b/docs/fedora.md @@ -12,11 +12,11 @@ following commands: # use dnf sudo dnf copr enable @Serokell/Tezos sudo dnf install tezos-client -sudo dnf install tezos-baker-PtNairob +sudo dnf install tezos-baker-PtMumbai # or use yum sudo yum copr enable @Serokell/Tezos -sudo yum install tezos-baker-PtNairob +sudo yum install tezos-baker-PtMumbai ``` Once you install these packages, the commands `tezos-*` and `octez-*` will be available. diff --git a/docs/systemd.md b/docs/systemd.md index cf8f3d3ef..c64f520ea 100644 --- a/docs/systemd.md +++ b/docs/systemd.md @@ -44,7 +44,7 @@ Then you can use the script, specifying the binary name as an argument, e.g.: ``` ./gen_systemd_service_file.py tezos-node # or -./gen_systemd_service_file.py tezos-baker-PtNairob +./gen_systemd_service_file.py tezos-baker-PtMumbai ``` After that you'll have `.service` files in the current directory. @@ -62,8 +62,8 @@ It's possible to run multiple similar services, e.g. two `tezos-node`s that run networks. `tezos-node` packages provide multiple services out of the box: +- `tezos-node-mumbainet` - `tezos-node-nairobinet` -- `tezos-node-oxfordnet` - `tezos-node-ghostnet` - `tezos-node-mainnet` @@ -78,7 +78,7 @@ Also, there are `tezos-node-` binary aliases that are equivalent to running `tezos-node` with [the service options](./configuration.md) given. In addition to node services where the config is predefined to a specific network -(e.g. `tezos-node-mainnet` or `tezos-node-nairobinet`), it's possible to run +(e.g. `tezos-node-mainnet` or `tezos-node-mumbainet`), it's possible to run `tezos-node-custom` service. Another case for running multiple similar systemd services is when one wants to have diff --git a/docs/voting.md b/docs/voting.md index 4e48a65ea..f8c4b2e27 100644 --- a/docs/voting.md +++ b/docs/voting.md @@ -52,5 +52,5 @@ tezos-vote --network voting `tezos-vote` also supports voting on currently running testnets, for example: ```bash -tezos-vote --network nairobinet +tezos-vote --network mumbainet ``` diff --git a/flake.lock b/flake.lock index 9c69b961c..94f536fe3 100644 --- a/flake.lock +++ b/flake.lock @@ -1,192 +1,13 @@ { "nodes": { - "HTTP": { - "flake": false, - "locked": { - "lastModified": 1451647621, - "narHash": "sha256-oHIyw3x0iKBexEo49YeUDV1k74ZtyYKGR2gNJXXRxts=", - "owner": "phadej", - "repo": "HTTP", - "rev": "9bc0996d412fef1787449d841277ef663ad9a915", - "type": "github" - }, - "original": { - "owner": "phadej", - "repo": "HTTP", - "type": "github" - } - }, - "blank": { - "locked": { - "lastModified": 1625557891, - "narHash": "sha256-O8/MWsPBGhhyPoPLHZAuoZiiHo9q6FLlEeIDEXuj6T4=", - "owner": "divnix", - "repo": "blank", - "rev": "5a5d2684073d9f563072ed07c871d577a6c614a8", - "type": "github" - }, - "original": { - "owner": "divnix", - "repo": "blank", - "type": "github" - } - }, - "cabal-32": { - "flake": false, - "locked": { - "lastModified": 1603716527, - "narHash": "sha256-X0TFfdD4KZpwl0Zr6x+PLxUt/VyKQfX7ylXHdmZIL+w=", - "owner": "haskell", - "repo": "cabal", - "rev": "48bf10787e27364730dd37a42b603cee8d6af7ee", - "type": "github" - }, - "original": { - "owner": "haskell", - "ref": "3.2", - "repo": "cabal", - "type": "github" - } - }, - "cabal-34": { - "flake": false, - "locked": { - "lastModified": 1645834128, - "narHash": "sha256-wG3d+dOt14z8+ydz4SL7pwGfe7SiimxcD/LOuPCV6xM=", - "owner": "haskell", - "repo": "cabal", - "rev": "5ff598c67f53f7c4f48e31d722ba37172230c462", - "type": "github" - }, - "original": { - "owner": "haskell", - "ref": "3.4", - "repo": "cabal", - "type": "github" - } - }, - "cabal-36": { - "flake": false, - "locked": { - "lastModified": 1669081697, - "narHash": "sha256-I5or+V7LZvMxfbYgZATU4awzkicBwwok4mVoje+sGmU=", - "owner": "haskell", - "repo": "cabal", - "rev": "8fd619e33d34924a94e691c5fea2c42f0fc7f144", - "type": "github" - }, - "original": { - "owner": "haskell", - "ref": "3.6", - "repo": "cabal", - "type": "github" - } - }, - "cardano-shell": { - "flake": false, - "locked": { - "lastModified": 1608537748, - "narHash": "sha256-PulY1GfiMgKVnBci3ex4ptk2UNYMXqGjJOxcPy2KYT4=", - "owner": "input-output-hk", - "repo": "cardano-shell", - "rev": "9392c75087cb9a3d453998f4230930dea3a95725", - "type": "github" - }, - "original": { - "owner": "input-output-hk", - "repo": "cardano-shell", - "type": "github" - } - }, - "deploy-rs": { - "inputs": { - "flake-compat": "flake-compat_3", - "nixpkgs": "nixpkgs_4", - "utils": "utils" - }, - "locked": { - "lastModified": 1648475189, - "narHash": "sha256-gAGAS6IagwoUr1B0ohE3iR6sZ8hP4LSqzYLC8Mq3WGU=", - "owner": "serokell", - "repo": "deploy-rs", - "rev": "83e0c78291cd08cb827ba0d553ad9158ae5a95c3", - "type": "github" - }, - "original": { - "id": "deploy-rs", - "type": "indirect" - } - }, - "devshell": { - "inputs": { - "flake-utils": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "flake-utils" - ], - "nixpkgs": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1663445644, - "narHash": "sha256-+xVlcK60x7VY1vRJbNUEAHi17ZuoQxAIH4S4iUFUGBA=", - "owner": "numtide", - "repo": "devshell", - "rev": "e3dc3e21594fe07bdb24bdf1c8657acaa4cb8f66", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "devshell", - "type": "github" - } - }, - "dmerge": { - "inputs": { - "nixlib": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "nixpkgs" - ], - "yants": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "yants" - ] - }, - "locked": { - "lastModified": 1659548052, - "narHash": "sha256-fzI2gp1skGA8mQo/FBFrUAtY0GQkAIAaV/V127TJPyY=", - "owner": "divnix", - "repo": "data-merge", - "rev": "d160d18ce7b1a45b88344aa3f13ed1163954b497", - "type": "github" - }, - "original": { - "owner": "divnix", - "repo": "data-merge", - "type": "github" - } - }, "flake-compat": { "flake": false, "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "lastModified": 1650374568, + "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", "owner": "edolstra", "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "rev": "b4a34015c698c7793d592d66adbab377907a2be8", "type": "github" }, "original": { @@ -211,54 +32,6 @@ } }, "flake-compat_3": { - "flake": false, - "locked": { - "lastModified": 1648199409, - "narHash": "sha256-JwPKdC2PoVBkG6E+eWw3j6BMR6sL3COpYWfif7RVb8Y=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "64a525ee38886ab9028e6f61790de0832aa3ef03", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_4": { - "flake": false, - "locked": { - "lastModified": 1627913399, - "narHash": "sha256-hY8g6H2KFL8ownSiFeMOjwPC8P0ueXpCVEbxgda3pko=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "12c64ca55c1014cdc1b16ed5a804aa8576601ff2", - "type": "github" - }, - "original": { - "id": "flake-compat", - "type": "indirect" - } - }, - "flake-compat_5": { - "flake": false, - "locked": { - "lastModified": 1672831974, - "narHash": "sha256-z9k3MfslLjWQfnjBtEtJZdq3H7kyi2kQtUThfTgdRk0=", - "owner": "input-output-hk", - "repo": "flake-compat", - "rev": "45f2638735f8cdc40fe302742b79f248d23eb368", - "type": "github" - }, - "original": { - "owner": "input-output-hk", - "ref": "hkm/gitlab-fix", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-compat_6": { "flake": false, "locked": { "lastModified": 1650374568, @@ -275,15 +48,12 @@ } }, "flake-utils": { - "inputs": { - "systems": "systems" - }, "locked": { - "lastModified": 1689068808, - "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", + "lastModified": 1656928814, + "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=", "owner": "numtide", "repo": "flake-utils", - "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", + "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249", "type": "github" }, "original": { @@ -308,612 +78,135 @@ }, "flake-utils_3": { "locked": { - "lastModified": 1631561581, - "narHash": "sha256-3VQMV5zvxaVLvqqUrNz3iJelLw30mIVSfZmAaauM3dA=", + "lastModified": 1656928814, + "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=", "owner": "numtide", "repo": "flake-utils", - "rev": "7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19", + "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249", "type": "github" }, "original": { - "id": "flake-utils", - "type": "indirect" - } - }, - "flake-utils_4": { - "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_5": { - "locked": { - "lastModified": 1653893745, - "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_6": { - "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", "owner": "numtide", "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "get-tested-src": { - "flake": false, - "locked": { - "lastModified": 1687355864, - "narHash": "sha256-yQ4coxfnp2Jsw1kvwf2/Zn72Kltze2WrfHN54eLR070=", - "owner": "Sereja313", - "repo": "get-tested", - "rev": "455bbd047374ed907900b49641a4ea7f0a905709", - "type": "github" - }, - "original": { - "owner": "Sereja313", - "ref": "issue-8-emit-ghc-versions", - "repo": "get-tested", - "type": "github" - } - }, - "ghc-8.6.5-iohk": { - "flake": false, - "locked": { - "lastModified": 1600920045, - "narHash": "sha256-DO6kxJz248djebZLpSzTGD6s8WRpNI9BTwUeOf5RwY8=", - "owner": "input-output-hk", - "repo": "ghc", - "rev": "95713a6ecce4551240da7c96b6176f980af75cae", - "type": "github" - }, - "original": { - "owner": "input-output-hk", - "ref": "release/8.6.5-iohk", - "repo": "ghc", - "type": "github" - } - }, - "gitignore-nix": { - "flake": false, - "locked": { - "lastModified": 1611672876, - "narHash": "sha256-qHu3uZ/o9jBHiA3MEKHJ06k7w4heOhA+4HCSIvflRxo=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "211907489e9f198594c0eb0ca9256a1949c9d412", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "gomod2nix": { - "inputs": { - "nixpkgs": "nixpkgs_6", - "utils": "utils_2" - }, - "locked": { - "lastModified": 1655245309, - "narHash": "sha256-d/YPoQ/vFn1+GTmSdvbSBSTOai61FONxB4+Lt6w/IVI=", - "owner": "tweag", - "repo": "gomod2nix", - "rev": "40d32f82fc60d66402eb0972e6e368aeab3faf58", - "type": "github" - }, - "original": { - "owner": "tweag", - "repo": "gomod2nix", - "type": "github" - } - }, - "hackage": { - "flake": false, - "locked": { - "lastModified": 1678926579, - "narHash": "sha256-5t1QRBTsEM2wREtDf3xrHp9Kphs+AdQZKAEltaylIJQ=", - "owner": "input-output-hk", - "repo": "hackage.nix", - "rev": "fb58b0ba5773c5f0211f284b0fae061426cf8267", - "type": "github" - }, - "original": { - "owner": "input-output-hk", - "repo": "hackage.nix", - "type": "github" - } - }, - "haskell-nix": { - "inputs": { - "HTTP": "HTTP", - "cabal-32": "cabal-32", - "cabal-34": "cabal-34", - "cabal-36": "cabal-36", - "cardano-shell": "cardano-shell", - "flake-compat": "flake-compat_5", - "flake-utils": "flake-utils_4", - "ghc-8.6.5-iohk": "ghc-8.6.5-iohk", - "hackage": "hackage", - "hpc-coveralls": "hpc-coveralls", - "hydra": "hydra", - "iserv-proxy": "iserv-proxy", - "nixpkgs": [ - "serokell-nix", - "haskell-nix", - "nixpkgs-unstable" - ], - "nixpkgs-2003": "nixpkgs-2003", - "nixpkgs-2105": "nixpkgs-2105", - "nixpkgs-2111": "nixpkgs-2111", - "nixpkgs-2205": "nixpkgs-2205", - "nixpkgs-2211": "nixpkgs-2211", - "nixpkgs-unstable": "nixpkgs-unstable_2", - "old-ghc-nix": "old-ghc-nix", - "stackage": "stackage", - "tullia": "tullia" - }, - "locked": { - "lastModified": 1678950661, - "narHash": "sha256-lvL54W90BTvwLVnFjPYmFVmgHyaGcFrt5FBy1F0rro8=", - "owner": "input-output-hk", - "repo": "haskell.nix", - "rev": "fce554bc6a41d12f7a18a0e8290bf43f925d7a29", - "type": "github" - }, - "original": { - "id": "haskell-nix", - "type": "indirect" - } - }, - "hpc-coveralls": { - "flake": false, - "locked": { - "lastModified": 1607498076, - "narHash": "sha256-8uqsEtivphgZWYeUo5RDUhp6bO9j2vaaProQxHBltQk=", - "owner": "sevanspowell", - "repo": "hpc-coveralls", - "rev": "14df0f7d229f4cd2e79f8eabb1a740097fdfa430", - "type": "github" - }, - "original": { - "owner": "sevanspowell", - "repo": "hpc-coveralls", - "type": "github" - } - }, - "hydra": { - "inputs": { - "nix": "nix_2", - "nixpkgs": [ - "serokell-nix", - "haskell-nix", - "hydra", - "nix", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1671755331, - "narHash": "sha256-hXsgJj0Cy0ZiCiYdW2OdBz5WmFyOMKuw4zyxKpgUKm4=", - "owner": "NixOS", - "repo": "hydra", - "rev": "f48f00ee6d5727ae3e488cbf9ce157460853fea8", - "type": "github" - }, - "original": { - "id": "hydra", - "type": "indirect" - } - }, - "incl": { - "inputs": { - "nixlib": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1669263024, - "narHash": "sha256-E/+23NKtxAqYG/0ydYgxlgarKnxmDbg6rCMWnOBqn9Q=", - "owner": "divnix", - "repo": "incl", - "rev": "ce7bebaee048e4cd7ebdb4cee7885e00c4e2abca", - "type": "github" - }, - "original": { - "owner": "divnix", - "repo": "incl", - "type": "github" - } - }, - "iserv-proxy": { - "flake": false, - "locked": { - "lastModified": 1670983692, - "narHash": "sha256-avLo34JnI9HNyOuauK5R69usJm+GfW3MlyGlYxZhTgY=", - "ref": "hkm/remote-iserv", - "rev": "50d0abb3317ac439a4e7495b185a64af9b7b9300", - "revCount": 10, - "type": "git", - "url": "https://gitlab.haskell.org/hamishmack/iserv-proxy.git" - }, - "original": { - "ref": "hkm/remote-iserv", - "type": "git", - "url": "https://gitlab.haskell.org/hamishmack/iserv-proxy.git" - } - }, - "lowdown-src": { - "flake": false, - "locked": { - "lastModified": 1633514407, - "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", - "owner": "kristapsdz", - "repo": "lowdown", - "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", - "type": "github" - }, - "original": { - "owner": "kristapsdz", - "repo": "lowdown", - "type": "github" - } - }, - "lowdown-src_2": { - "flake": false, - "locked": { - "lastModified": 1633514407, - "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", - "owner": "kristapsdz", - "repo": "lowdown", - "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", - "type": "github" - }, - "original": { - "owner": "kristapsdz", - "repo": "lowdown", - "type": "github" - } - }, - "lowdown-src_3": { - "flake": false, - "locked": { - "lastModified": 1632468475, - "narHash": "sha256-NNOm9CbdA8cuwbvaBHslGbPTiU6bh1Ao+MpEPx4rSGo=", - "owner": "kristapsdz", - "repo": "lowdown", - "rev": "6bd668af3fd098bdd07a1bedd399564141e275da", - "type": "github" - }, - "original": { - "owner": "kristapsdz", - "repo": "lowdown", - "type": "github" - } - }, - "mirage-opam-overlays": { - "flake": false, - "locked": { - "lastModified": 1661959605, - "narHash": "sha256-CPTuhYML3F4J58flfp3ZbMNhkRkVFKmBEYBZY5tnQwA=", - "owner": "dune-universe", - "repo": "mirage-opam-overlays", - "rev": "05f1c1823d891ce4d8adab91f5db3ac51d86dc0b", - "type": "github" - }, - "original": { - "owner": "dune-universe", - "repo": "mirage-opam-overlays", - "type": "github" - } - }, - "n2c": { - "inputs": { - "flake-utils": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "flake-utils" - ], - "nixpkgs": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1665039323, - "narHash": "sha256-SAh3ZjFGsaCI8FRzXQyp56qcGdAqgKEfJWPCQ0Sr7tQ=", - "owner": "nlewo", - "repo": "nix2container", - "rev": "b008fe329ffb59b67bf9e7b08ede6ee792f2741a", - "type": "github" - }, - "original": { - "owner": "nlewo", - "repo": "nix2container", - "type": "github" - } - }, - "nix": { - "inputs": { - "lowdown-src": "lowdown-src", - "nixpkgs": "nixpkgs", - "nixpkgs-regression": "nixpkgs-regression" - }, - "locked": { - "lastModified": 1657815848, - "narHash": "sha256-O0zNDRux3Yyplp5MkJ+A+wLzMUWnhbc/l8EnaHskQAI=", - "owner": "nixos", - "repo": "nix", - "rev": "ca4d5bee09df0393dd525b3cd5159a23d4683f2e", - "type": "github" - }, - "original": { - "owner": "nixos", - "repo": "nix", - "type": "github" - } - }, - "nix-nomad": { - "inputs": { - "flake-compat": "flake-compat_6", - "flake-utils": [ - "serokell-nix", - "haskell-nix", - "tullia", - "nix2container", - "flake-utils" - ], - "gomod2nix": "gomod2nix", - "nixpkgs": [ - "serokell-nix", - "haskell-nix", - "tullia", - "nixpkgs" - ], - "nixpkgs-lib": [ - "serokell-nix", - "haskell-nix", - "tullia", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1658277770, - "narHash": "sha256-T/PgG3wUn8Z2rnzfxf2VqlR1CBjInPE0l1yVzXxPnt0=", - "owner": "tristanpemble", - "repo": "nix-nomad", - "rev": "054adcbdd0a836ae1c20951b67ed549131fd2d70", - "type": "github" - }, - "original": { - "owner": "tristanpemble", - "repo": "nix-nomad", - "type": "github" - } - }, - "nix2container": { - "inputs": { - "flake-utils": "flake-utils_5", - "nixpkgs": "nixpkgs_7" - }, - "locked": { - "lastModified": 1658567952, - "narHash": "sha256-XZ4ETYAMU7XcpEeAFP3NOl9yDXNuZAen/aIJ84G+VgA=", - "owner": "nlewo", - "repo": "nix2container", - "rev": "60bb43d405991c1378baf15a40b5811a53e32ffa", - "type": "github" - }, - "original": { - "owner": "nlewo", - "repo": "nix2container", - "type": "github" - } - }, - "nix_2": { - "inputs": { - "lowdown-src": "lowdown-src_2", - "nixpkgs": "nixpkgs_5", - "nixpkgs-regression": "nixpkgs-regression_2" - }, - "locked": { - "lastModified": 1661606874, - "narHash": "sha256-9+rpYzI+SmxJn+EbYxjGv68Ucp22bdFUSy/4LkHkkDQ=", - "owner": "NixOS", - "repo": "nix", - "rev": "11e45768b34fdafdcf019ddbd337afa16127ff0f", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "2.11.0", - "repo": "nix", - "type": "github" - } - }, - "nix_3": { - "inputs": { - "lowdown-src": "lowdown-src_3", - "nixpkgs": "nixpkgs_9" - }, - "locked": { - "lastModified": 1633098935, - "narHash": "sha256-UtuBczommNLwUNEnfRI7822z4vPA7OoRKsgAZ8zsHQI=", - "owner": "nixos", - "repo": "nix", - "rev": "4f496150eb4e0012914c11f0a3ff4df2412b1d09", - "type": "github" - }, - "original": { - "id": "nix", - "type": "indirect" - } - }, - "nixago": { - "inputs": { - "flake-utils": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "flake-utils" - ], - "nixago-exts": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "blank" - ], - "nixpkgs": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "nixpkgs" - ] - }, + } + }, + "gitignore-nix": { + "flake": false, "locked": { - "lastModified": 1661824785, - "narHash": "sha256-/PnwdWoO/JugJZHtDUioQp3uRiWeXHUdgvoyNbXesz8=", - "owner": "nix-community", - "repo": "nixago", - "rev": "8c1f9e5f1578d4b2ea989f618588d62a335083c3", + "lastModified": 1611672876, + "narHash": "sha256-qHu3uZ/o9jBHiA3MEKHJ06k7w4heOhA+4HCSIvflRxo=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "211907489e9f198594c0eb0ca9256a1949c9d412", "type": "github" }, "original": { - "owner": "nix-community", - "repo": "nixago", + "owner": "hercules-ci", + "repo": "gitignore.nix", "type": "github" } }, - "nixpkgs": { + "lowdown-src": { + "flake": false, "locked": { - "lastModified": 1653988320, - "narHash": "sha256-ZaqFFsSDipZ6KVqriwM34T739+KLYJvNmCWzErjAg7c=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "2fa57ed190fd6c7c746319444f34b5917666e5c1", + "lastModified": 1633514407, + "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", + "owner": "kristapsdz", + "repo": "lowdown", + "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixos-22.05-small", - "repo": "nixpkgs", + "owner": "kristapsdz", + "repo": "lowdown", "type": "github" } }, - "nixpkgs-2003": { + "lowdown-src_2": { + "flake": false, "locked": { - "lastModified": 1620055814, - "narHash": "sha256-8LEHoYSJiL901bTMVatq+rf8y7QtWuZhwwpKE2fyaRY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "1db42b7fe3878f3f5f7a4f2dc210772fd080e205", + "lastModified": 1633514407, + "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", + "owner": "kristapsdz", + "repo": "lowdown", + "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixpkgs-20.03-darwin", - "repo": "nixpkgs", + "owner": "kristapsdz", + "repo": "lowdown", "type": "github" } }, - "nixpkgs-2105": { + "mirage-opam-overlays": { + "flake": false, "locked": { - "lastModified": 1659914493, - "narHash": "sha256-lkA5X3VNMKirvA+SUzvEhfA7XquWLci+CGi505YFAIs=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "022caabb5f2265ad4006c1fa5b1ebe69fb0c3faf", + "lastModified": 1661959605, + "narHash": "sha256-CPTuhYML3F4J58flfp3ZbMNhkRkVFKmBEYBZY5tnQwA=", + "owner": "dune-universe", + "repo": "mirage-opam-overlays", + "rev": "05f1c1823d891ce4d8adab91f5db3ac51d86dc0b", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixpkgs-21.05-darwin", - "repo": "nixpkgs", + "owner": "dune-universe", + "repo": "mirage-opam-overlays", "type": "github" } }, - "nixpkgs-2111": { + "nix": { + "inputs": { + "lowdown-src": "lowdown-src", + "nixpkgs": "nixpkgs", + "nixpkgs-regression": "nixpkgs-regression" + }, "locked": { - "lastModified": 1659446231, - "narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "eabc38219184cc3e04a974fe31857d8e0eac098d", + "lastModified": 1657815848, + "narHash": "sha256-O0zNDRux3Yyplp5MkJ+A+wLzMUWnhbc/l8EnaHskQAI=", + "owner": "nixos", + "repo": "nix", + "rev": "ca4d5bee09df0393dd525b3cd5159a23d4683f2e", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixpkgs-21.11-darwin", - "repo": "nixpkgs", + "owner": "nixos", + "repo": "nix", "type": "github" } }, - "nixpkgs-2205": { + "nix-unstable": { + "inputs": { + "lowdown-src": "lowdown-src_2", + "nixpkgs": "nixpkgs_4", + "nixpkgs-regression": "nixpkgs-regression_2" + }, "locked": { - "lastModified": 1672580127, - "narHash": "sha256-3lW3xZslREhJogoOkjeZtlBtvFMyxHku7I/9IVehhT8=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "0874168639713f547c05947c76124f78441ea46c", + "lastModified": 1657815848, + "narHash": "sha256-O0zNDRux3Yyplp5MkJ+A+wLzMUWnhbc/l8EnaHskQAI=", + "owner": "nixos", + "repo": "nix", + "rev": "ca4d5bee09df0393dd525b3cd5159a23d4683f2e", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixpkgs-22.05-darwin", - "repo": "nixpkgs", + "owner": "nixos", + "repo": "nix", "type": "github" } }, - "nixpkgs-2211": { + "nixpkgs": { "locked": { - "lastModified": 1675730325, - "narHash": "sha256-uNvD7fzO5hNlltNQUAFBPlcEjNG5Gkbhl/ROiX+GZU4=", + "lastModified": 1653988320, + "narHash": "sha256-ZaqFFsSDipZ6KVqriwM34T739+KLYJvNmCWzErjAg7c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b7ce17b1ebf600a72178f6302c77b6382d09323f", + "rev": "2fa57ed190fd6c7c746319444f34b5917666e5c1", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixpkgs-22.11-darwin", + "ref": "nixos-22.05-small", "repo": "nixpkgs", "type": "github" } @@ -966,36 +259,6 @@ "type": "github" } }, - "nixpkgs-unstable_2": { - "locked": { - "lastModified": 1675758091, - "narHash": "sha256-7gFSQbSVAFUHtGCNHPF7mPc5CcqDk9M2+inlVPZSneg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "747927516efcb5e31ba03b7ff32f61f6d47e7d87", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_10": { - "locked": { - "lastModified": 1674736538, - "narHash": "sha256-/DszFMkAgYyB9dTWKkoZa9i0zcrA6Z4hYrOr/u/FSxY=", - "owner": "serokell", - "repo": "nixpkgs", - "rev": "1dfdbb65d77430fc0935e8592d0abc4addcce711", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, "nixpkgs_2": { "locked": { "lastModified": 1674736538, @@ -1013,11 +276,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1682362401, - "narHash": "sha256-/UMUHtF2CyYNl4b60Z2y4wwTTdIWGKhj9H301EDcT9M=", + "lastModified": 1657802959, + "narHash": "sha256-9+JWARSdlL8KiH3ymnKDXltE1vM+/WEJ78F5B1kjXys=", "owner": "nixos", "repo": "nixpkgs", - "rev": "884ac294018409e0d1adc0cae185439a44bd6b0b", + "rev": "4a01ca36d6bfc133bc617e661916a81327c9bbc8", "type": "github" }, "original": { @@ -1029,27 +292,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1648219316, - "narHash": "sha256-Ctij+dOi0ZZIfX5eMhgwugfvB+WZSrvVNAyAuANOsnQ=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "30d3d79b7d3607d56546dd2a6b49e156ba0ec634", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_5": { - "locked": { - "lastModified": 1657693803, - "narHash": "sha256-G++2CJ9u0E7NNTAi9n5G8TdDmGJXcIjkJ3NF8cetQB8=", + "lastModified": 1653988320, + "narHash": "sha256-ZaqFFsSDipZ6KVqriwM34T739+KLYJvNmCWzErjAg7c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "365e1b3a859281cf11b94f87231adeabbdd878a2", + "rev": "2fa57ed190fd6c7c746319444f34b5917666e5c1", "type": "github" }, "original": { @@ -1059,97 +306,18 @@ "type": "github" } }, - "nixpkgs_6": { - "locked": { - "lastModified": 1653581809, - "narHash": "sha256-Uvka0V5MTGbeOfWte25+tfRL3moECDh1VwokWSZUdoY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "83658b28fe638a170a19b8933aa008b30640fbd1", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_7": { - "locked": { - "lastModified": 1654807842, - "narHash": "sha256-ADymZpr6LuTEBXcy6RtFHcUZdjKTBRTMYwu19WOx17E=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "fc909087cc3386955f21b4665731dbdaceefb1d8", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_8": { + "nixpkgs_5": { "locked": { - "lastModified": 1665087388, - "narHash": "sha256-FZFPuW9NWHJteATOf79rZfwfRn5fE0wi9kRzvGfDHPA=", - "owner": "nixos", + "lastModified": 1655108282, + "narHash": "sha256-snIu1rBgc+IwoG+mjvp2Thq9C5L+RYvV/DEdfYVzp2s=", + "owner": "serokell", "repo": "nixpkgs", - "rev": "95fda953f6db2e9496d2682c4fc7b82f959878f7", + "rev": "7887e272ab2ad8376d54ca5f58df0ed7f67676e6", "type": "github" }, "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_9": { - "locked": { - "lastModified": 1632864508, - "narHash": "sha256-d127FIvGR41XbVRDPVvozUPQ/uRHbHwvfyKHwEt5xFM=", - "owner": "NixOS", + "owner": "serokell", "repo": "nixpkgs", - "rev": "82891b5e2c2359d7e58d08849e4c89511ab94234", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-21.05-small", - "type": "indirect" - } - }, - "nosys": { - "locked": { - "lastModified": 1667881534, - "narHash": "sha256-FhwJ15uPLRsvaxtt/bNuqE/ykMpNAPF0upozFKhTtXM=", - "owner": "divnix", - "repo": "nosys", - "rev": "2d0d5207f6a230e9d0f660903f8db9807b54814f", - "type": "github" - }, - "original": { - "owner": "divnix", - "repo": "nosys", - "type": "github" - } - }, - "old-ghc-nix": { - "flake": false, - "locked": { - "lastModified": 1631092763, - "narHash": "sha256-sIKgO+z7tj4lw3u6oBZxqIhDrzSkvpHtv0Kki+lh9Fg=", - "owner": "angerman", - "repo": "old-ghc-nix", - "rev": "af48a7a7353e418119b6dfe3cd1463a657f342b8", - "type": "github" - }, - "original": { - "owner": "angerman", - "ref": "master", - "repo": "old-ghc-nix", "type": "github" } }, @@ -1164,11 +332,11 @@ "opam2json": "opam2json" }, "locked": { - "lastModified": 1692284409, - "narHash": "sha256-Cql9CKy/k+LmSab3Rd2ZkuoEpmWVDb5oRhE/UHM4fT8=", + "lastModified": 1670004517, + "narHash": "sha256-7SffiN2S9pVfOoBCcEdY/iJe28p/eiRqVLXG7/8Jb3I=", "owner": "tweag", "repo": "opam-nix", - "rev": "e83bd1d949c5e330a49f89d394b51b744248e3ca", + "rev": "b12b7fcd6f9ea0a8a939c05c68a95525f0d80af6", "type": "github" }, "original": { @@ -1196,11 +364,11 @@ "opam-repository": { "flake": false, "locked": { - "lastModified": 1682021363, - "narHash": "sha256-nDUDFwyOTZDALeqqEDnF2PTPIHT4sVYdQXUbRt03oNs=", + "lastModified": 1661161626, + "narHash": "sha256-J3P+mXLwE2oEKTlMnx8sYRxwD/uNGSKM0AkAB7BNTxA=", "owner": "ocaml", "repo": "opam-repository", - "rev": "786c55fa77c37f07eceea7d6a9bec04d2225e302", + "rev": "54e69ff0949a3aaec0d5e3d67898bb7f279ab09f", "type": "github" }, "original": { @@ -1212,11 +380,11 @@ "opam-repository_2": { "flake": false, "locked": { - "lastModified": 1690375350, - "narHash": "sha256-blbuXgC68vvccQGs2LQv6TBITXbYOobWf/d4CU3rrnc=", + "lastModified": 1686322648, + "narHash": "sha256-aH90yIb0oy2ssL+rBGHbu7GlNrJPH1aSV5ih4FUSpn8=", "owner": "tezos", "repo": "opam-repository", - "rev": "14e619168449e86a5a8ff4029ab57174464e18bd", + "rev": "cf7920c4fe635f92bc703fe7ae6fd38c9b4ba8a3", "type": "gitlab" }, "original": { @@ -1233,11 +401,11 @@ ] }, "locked": { - "lastModified": 1671540003, - "narHash": "sha256-5pXfbUfpVABtKbii6aaI2EdAZTjHJ2QntEf0QD2O5AM=", + "lastModified": 1665671715, + "narHash": "sha256-7f75C6fIkiLzfkwLpJxlQIKf+YORGsXGV8Dr2LDDi+A=", "owner": "tweag", "repo": "opam2json", - "rev": "819d291ea95e271b0e6027679de6abb4d4f7f680", + "rev": "32fa2dcd993a27f9e75ee46fb8b78a7cd5d05113", "type": "github" }, "original": { @@ -1261,21 +429,18 @@ }, "serokell-nix": { "inputs": { - "deploy-rs": "deploy-rs", - "flake-compat": "flake-compat_4", + "flake-compat": "flake-compat_3", "flake-utils": "flake-utils_3", - "get-tested-src": "get-tested-src", "gitignore-nix": "gitignore-nix", - "haskell-nix": "haskell-nix", - "nix": "nix_3", - "nixpkgs": "nixpkgs_10" + "nix-unstable": "nix-unstable", + "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1691752608, - "narHash": "sha256-5rACo9LXUgvkp7MLqMVV7FOQSLsFoyqAXLwFvJ0BG/g=", + "lastModified": 1629443741, + "narHash": "sha256-7bZGo9qXYxYD2FMZWlWoQbp3/NNG1YSHLEjEOHI4YRM=", "owner": "serokell", "repo": "serokell.nix", - "rev": "54e230e895e44049d45cca16433ddc9fa5ab6c6a", + "rev": "46d762e5107d10ad409295a7f668939c21cc048d", "type": "github" }, "original": { @@ -1283,93 +448,14 @@ "type": "indirect" } }, - "stackage": { - "flake": false, - "locked": { - "lastModified": 1678925630, - "narHash": "sha256-rl8qnpAUJl4tRZpaZ5DpgSueNfreArW09t4zTnOaoYA=", - "owner": "input-output-hk", - "repo": "stackage.nix", - "rev": "bf29b23fb77017e78c6e7b199b2c7bfb5079c4cd", - "type": "github" - }, - "original": { - "owner": "input-output-hk", - "repo": "stackage.nix", - "type": "github" - } - }, - "std": { - "inputs": { - "arion": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "blank" - ], - "blank": "blank", - "devshell": "devshell", - "dmerge": "dmerge", - "flake-utils": "flake-utils_6", - "incl": "incl", - "makes": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "blank" - ], - "microvm": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "blank" - ], - "n2c": "n2c", - "nixago": "nixago", - "nixpkgs": "nixpkgs_8", - "nosys": "nosys", - "yants": "yants" - }, - "locked": { - "lastModified": 1674526466, - "narHash": "sha256-tMTaS0bqLx6VJ+K+ZT6xqsXNpzvSXJTmogkraBGzymg=", - "owner": "divnix", - "repo": "std", - "rev": "516387e3d8d059b50e742a2ff1909ed3c8f82826", - "type": "github" - }, - "original": { - "owner": "divnix", - "repo": "std", - "type": "github" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "tezos": { "flake": false, "locked": { - "lastModified": 1692197267, - "narHash": "sha256-DFan2Z2OVwxxK7s2TT+2GI6zy9/NWhVa13D89JjscZg=", + "lastModified": 1692263564, + "narHash": "sha256-CYL3SlwsXhUbNfu5hQdWNGgNCgxnAnsAV4oQQ3iSZ94=", "owner": "tezos", "repo": "tezos", - "rev": "f59e1b0eaa26e97a23824dc4fbd4af2bd8fcf8af", + "rev": "b2bc6d7f56171a259bd08732f008e7ffa1c9a120", "type": "gitlab" }, "original": { @@ -1377,85 +463,6 @@ "repo": "tezos", "type": "gitlab" } - }, - "tullia": { - "inputs": { - "nix-nomad": "nix-nomad", - "nix2container": "nix2container", - "nixpkgs": [ - "serokell-nix", - "haskell-nix", - "nixpkgs" - ], - "std": "std" - }, - "locked": { - "lastModified": 1675695930, - "narHash": "sha256-B7rEZ/DBUMlK1AcJ9ajnAPPxqXY6zW2SBX+51bZV0Ac=", - "owner": "input-output-hk", - "repo": "tullia", - "rev": "621365f2c725608f381b3ad5b57afef389fd4c31", - "type": "github" - }, - "original": { - "owner": "input-output-hk", - "repo": "tullia", - "type": "github" - } - }, - "utils": { - "locked": { - "lastModified": 1648297722, - "narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "utils_2": { - "locked": { - "lastModified": 1653893745, - "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "yants": { - "inputs": { - "nixpkgs": [ - "serokell-nix", - "haskell-nix", - "tullia", - "std", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1667096281, - "narHash": "sha256-wRRec6ze0gJHmGn6m57/zhz/Kdvp9HS4Nl5fkQ+uIuA=", - "owner": "divnix", - "repo": "yants", - "rev": "d18f356ec25cb94dc9c275870c3a7927a10f8c3c", - "type": "github" - }, - "original": { - "owner": "divnix", - "repo": "yants", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 71c900e8a..d4f995f11 100644 --- a/flake.nix +++ b/flake.nix @@ -35,7 +35,7 @@ path = inputs.tezos; name = "tezos"; # we exclude optional development packages - filter = path: _: !(builtins.elem (baseNameOf path) [ "octez-dev-deps.opam" "tezos-time-measurement.opam" ]); + filter = path: _: baseNameOf path != "octez-dev-deps.opam"; }; sources = { inherit tezos; inherit (inputs) opam-repository; }; diff --git a/meta.json b/meta.json index b79b0d8f0..1ebdaaa81 100644 --- a/meta.json +++ b/meta.json @@ -1,5 +1,5 @@ { - "release": "1", + "release": "2", "maintainer": "Serokell ", - "tezos_ref": "v18.0-rc1" + "tezos_ref": "v17.3" } diff --git a/nix/build/hacks.nix b/nix/build/hacks.nix index 43434eaf9..9ada8b657 100644 --- a/nix/build/hacks.nix +++ b/nix/build/hacks.nix @@ -3,20 +3,19 @@ # This file needs to become empty. self: super: rec { - # For some reason octez-protocol-compiler wants some docs to be present in octez-libs - octez-libs = super.octez-libs.overrideAttrs (o: { + octez-protocol-compiler = super.octez-protocol-compiler.overrideAttrs (_: { + postFixup = '' + ln -s $OCAMLFIND_DESTDIR/octez-protocol-compiler/* $OCAMLFIND_DESTDIR + ''; + }); + # For some reason octez-protocol-compiler wants some docs to be present in tezos-protocol-environment + tezos-protocol-environment = super.tezos-protocol-environment.overrideAttrs (o: { postFixup = '' DUMMY_DOCS_DIR="$OCAMLFIND_DESTDIR/../doc/${o.pname}" mkdir -p "$DUMMY_DOCS_DIR" for doc in "README.md" "CHANGES.rst" "LICENSE"; do touch "$DUMMY_DOCS_DIR/$doc" done - - DUMMY_ODOC_PAGES_DIR="$DUMMY_DOCS_DIR/odoc-pages" - mkdir -p "$DUMMY_ODOC_PAGES_DIR" - for doc in "tezos_workers.mld" "tezos_lwt_result_stdlib.mld" "index.mld"; do - touch "$DUMMY_ODOC_PAGES_DIR/$doc" - done ''; }); octez-admin-client = super.octez-client.overrideAttrs (_ : { diff --git a/nix/build/ocaml-overlay.nix b/nix/build/ocaml-overlay.nix index 97c5a732c..2a00af05d 100644 --- a/nix/build/ocaml-overlay.nix +++ b/nix/build/ocaml-overlay.nix @@ -11,11 +11,9 @@ with opam-nix.lib.${self.system}; let zcash-overlay = import ./zcash-overlay.nix; hacks = import ./hacks.nix; octezSourcesResolved = - self.runCommand "resolve-octez-sources" {} '' - cp --no-preserve=all -Lr ${sources.tezos} $out - ''; + self.runCommand "resolve-octez-sources" {} "cp --no-preserve=all -Lr ${sources.tezos} $out"; octezScope = buildOpamProject' { - repos = with sources; [opam-repository]; + repos = [sources.opam-repository]; recursive = true; resolveArgs = { }; } octezSourcesResolved { }; diff --git a/nix/build/release-binaries.nix b/nix/build/release-binaries.nix index b05df935e..f2cb71dfd 100644 --- a/nix/build/release-binaries.nix +++ b/nix/build/release-binaries.nix @@ -11,11 +11,6 @@ in [ description = "CLI client for interacting with octez blockchain"; supports = protocolsFormatted; } - { - name = "octez-dac-client"; - description = "A Data Availability Committee Tezos client"; - supports = protocolsFormatted; - } { name = "octez-admin-client"; description = "Administration tool for the node"; @@ -27,12 +22,6 @@ in [ "Entry point for initializing, configuring and running a Octez node"; supports = protocolsFormatted; } - { - name = "octez-dac-node"; - description = - "A Data Availability Committee Tezos node"; - supports = protocolsFormatted; - } { name = "octez-signer"; description = "A client to remotely sign operations or blocks"; diff --git a/nix/modules/common.nix b/nix/modules/common.nix index 20bb38529..76b6f2585 100644 --- a/nix/modules/common.nix +++ b/nix/modules/common.nix @@ -21,11 +21,11 @@ rec { daemonOptions = sharedOptions // { baseProtocols = mkOption { - type = types.listOf (types.enum [ "PtNairob" "Proxford" ]); + type = types.listOf (types.enum [ "PtMumbai" "PtNairob" ]); description = '' List of protocols for which daemons will be run. ''; - example = ["PtNairob"]; + example = ["PtMumbai"]; }; rpcPort = mkOption { diff --git a/nix/modules/tezos-accuser.nix b/nix/modules/tezos-accuser.nix index e40f1817e..c65777848 100644 --- a/nix/modules/tezos-accuser.nix +++ b/nix/modules/tezos-accuser.nix @@ -7,10 +7,10 @@ with lib; let octez-accuser-pkgs = { + "PtMumbai" = + "${pkgs.octezPackages.octez-accuser-PtMumbai}/bin/octez-accuser-PtMumbai"; "PtNairob" = - "${pkgs.octezPackages.octez-accuser-PtNairob}/bin/octez-accuser-PtNairob"; - "Proxford" = - "${pkgs.octezPackages.octez-accuser-Proxford}/bin/octez-accuser-Proxford"; + "${pkgs.octezPackages.octez-baker-PtNairob}/bin/octez-baker-PtNairob"; }; cfg = config.services.octez-accuser; common = import ./common.nix { inherit lib; inherit pkgs; }; diff --git a/nix/modules/tezos-baker.nix b/nix/modules/tezos-baker.nix index db51a5e1a..bfd490a45 100644 --- a/nix/modules/tezos-baker.nix +++ b/nix/modules/tezos-baker.nix @@ -7,10 +7,10 @@ with lib; let octez-baker-pkgs = { + "PtMumbai" = + "${pkgs.octezPackages.octez-baker-PtMumbai}/bin/octez-baker-PtMumbai"; "PtNairob" = "${pkgs.octezPackages.octez-baker-PtNairob}/bin/octez-baker-PtNairob"; - "Proxford" = - "${pkgs.octezPackages.octez-baker-Proxford}/bin/octez-baker-Proxford"; }; octez-client = "${pkgs.octezPackages.octez-client}/bin/octez-client"; cfg = config.services.octez-baker; diff --git a/nix/modules/tezos-node.nix b/nix/modules/tezos-node.nix index 2cf91ce6e..7870ef511 100644 --- a/nix/modules/tezos-node.nix +++ b/nix/modules/tezos-node.nix @@ -45,7 +45,7 @@ let network = mkOption { type = types.str; - default = "ghostnet"; + default = "mumbainet"; description = '' Network which node will be running on. Can be either a predefined network name or a URL to the network config. diff --git a/protocols.json b/protocols.json index d2b26ca41..cc924323b 100644 --- a/protocols.json +++ b/protocols.json @@ -23,11 +23,10 @@ "012-Psithaca", "013-PtJakart", "PtKathma", - "PtLimaPt", - "PtMumbai" + "PtLimaPt" ], "active": [ - "PtNairob", - "Proxford" + "PtMumbai", + "PtNairob" ] } diff --git a/scripts/build-all-bottles.sh b/scripts/build-all-bottles.sh index 122deb93f..746dcdc69 100755 --- a/scripts/build-all-bottles.sh +++ b/scripts/build-all-bottles.sh @@ -19,7 +19,7 @@ set -euo pipefail retval="0" # we don't bottle meta-formulas that contain only services -formulae=("tezos-accuser-PtNairob" "tezos-accuser-Proxford" "tezos-admin-client" "tezos-baker-PtNairob" "tezos-baker-Proxford" "tezos-client" "tezos-codec" "tezos-node" "tezos-signer" "tezos-smart-rollup-client-PtNairob" "tezos-smart-rollup-client-Proxford" "tezos-smart-rollup-node-PtNairob" "tezos-smart-rollup-node-Proxford" "tezos-dac-client" "tezos-dac-node") +formulae=("tezos-accuser-PtMumbai" "tezos-accuser-PtNairob" "tezos-admin-client" "tezos-baker-PtMumbai" "tezos-baker-PtNairob" "tezos-client" "tezos-codec" "tezos-node" "tezos-signer" "tezos-smart-rollup-client-PtMumbai" "tezos-smart-rollup-client-PtNairob" "tezos-smart-rollup-node-PtMumbai" "tezos-smart-rollup-node-PtNairob") # tezos-sapling-params is used as a dependency for some of the formulas # so we handle it separately. diff --git a/tests/systemd/services_tests.py b/tests/systemd/services_tests.py index d124ffca3..92da84f3b 100644 --- a/tests/systemd/services_tests.py +++ b/tests/systemd/services_tests.py @@ -128,16 +128,16 @@ def test_node_mainnet_service(): node_service_test("mainnet") -def test_node_nairobinet_service(): - node_service_test("nairobinet") +def test_node_mumbainet_service(): + node_service_test("mumbainet") -def test_baking_nairobinet_service(): - baking_service_test("nairobinet", ["PtNairob"]) +def test_baking_mumbainet_service(): + baking_service_test("mumbainet", ["PtMumbai"]) def test_baking_mainnet_service(): - baking_service_test("mainnet", ["PtNairob"]) + baking_service_test("mainnet", ["PtMumbai"]) def test_http_signer_service(): @@ -149,9 +149,9 @@ def test_tcp_signer_service(): def test_standalone_accuser_service(): - with unit(f"tezos-node-nairobinet.service") as _: - with unit(f"tezos-accuser-ptnairob.service") as _: - assert check_running_process(f"octez-accuser-PtNairob") + with unit(f"tezos-node-mumbainet.service") as _: + with unit(f"tezos-accuser-ptmumbai.service") as _: + assert check_running_process(f"octez-accuser-PtMumbai") def test_unix_signer_service(): @@ -161,34 +161,34 @@ def test_unix_signer_service(): def test_standalone_baker_service(): replace_systemd_service_env( - "tezos-baker-ptnairob", + "tezos-baker-ptmumbai", "TEZOS_NODE_DIR", - "/var/lib/tezos/node-nairobinet", + "/var/lib/tezos/node-mumbainet", ) with account("baker") as _: - with unit(f"tezos-node-nairobinet.service") as _: - with unit(f"tezos-baker-ptnairob.service") as _: - assert check_active_service(f"tezos-baker-ptnairob.service") - assert check_running_process(f"octez-baker-PtNairob") + with unit(f"tezos-node-mumbainet.service") as _: + with unit(f"tezos-baker-ptmumbai.service") as _: + assert check_active_service(f"tezos-baker-ptmumbai.service") + assert check_running_process(f"octez-baker-PtMumbai") def test_nondefault_node_rpc_endpoint(): rpc_addr = "127.0.0.1:8735" - replace_systemd_service_env("tezos-node-nairobinet", "NODE_RPC_ADDR", rpc_addr) - proc_call("cat /etc/default/tezos-node-nairobinet") + replace_systemd_service_env("tezos-node-mumbainet", "NODE_RPC_ADDR", rpc_addr) + proc_call("cat /etc/default/tezos-node-mumbainet") try: - node_service_test("nairobinet", f"http://{rpc_addr}") + node_service_test("mumbainet", f"http://{rpc_addr}") finally: replace_systemd_service_env( - "tezos-node-nairobinet", "NODE_RPC_ADDR", "127.0.0.1:8732" + "tezos-node-mumbainet", "NODE_RPC_ADDR", "127.0.0.1:8732" ) def test_nondefault_baking_config(): replace_systemd_service_env( - "tezos-baking-nairobinet", "BAKER_ADDRESS_ALIAS", "another_baker" + "tezos-baking-mumbainet", "BAKER_ADDRESS_ALIAS", "another_baker" ) replace_systemd_service_env( - "tezos-baking-nairobinet", "LIQUIDITY_BAKING_TOGGLE_VOTE", "on" + "tezos-baking-mumbainet", "LIQUIDITY_BAKING_TOGGLE_VOTE", "on" ) - baking_service_test("nairobinet", ["PtNairob"], "another_baker") + baking_service_test("mumbainet", ["PtMumbai"], "another_baker") diff --git a/tests/test_script.py b/tests/test_script.py index 7c90d86b5..058d99b37 100644 --- a/tests/test_script.py +++ b/tests/test_script.py @@ -77,8 +77,8 @@ def test_node_with_daemons_scenario(network, use_tls=False): kill_node_with_daemons() -with subtest("run node with daemons on ghostnet"): - test_node_with_daemons_scenario("ghostnet") +with subtest("run node with daemons on mumbainet"): + test_node_with_daemons_scenario("mumbainet") with subtest("run node with daemons on mainnet"): test_node_with_daemons_scenario("mainnet") diff --git a/tests/tezos-binaries.nix b/tests/tezos-binaries.nix index f1b1295bd..8269d55bd 100644 --- a/tests/tezos-binaries.nix +++ b/tests/tezos-binaries.nix @@ -1,23 +1,24 @@ # SPDX-FileCopyrightText: 2021 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -{ nixpkgs, pkgs, ... }: -{ path-to-binaries }@args: +{ nixpkgs, pkgs, ... }: { path-to-binaries } @ args: let -in import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: { +in import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: +{ name = "tezos-binaries-test"; nodes.machine = { ... }: { virtualisation.memorySize = 2048; virtualisation.diskSize = 1024; - environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.zcash-params}" ]; + environment.sessionVariables.XDG_DATA_DIRS = + [ "${pkgs.zcash-params}" ]; security.pki.certificateFiles = [ ./ca.cert ]; }; testScript = '' path_to_binaries = "${path-to-binaries}" - octez_accuser = f"{path_to_binaries}/octez-accuser-PtNairob" + octez_accuser = f"{path_to_binaries}/octez-accuser-PtMumbai" octez_admin_client = f"{path_to_binaries}/octez-admin-client" - octez_baker = f"{path_to_binaries}/octez-baker-PtNairob" + octez_baker = f"{path_to_binaries}/octez-baker-PtMumbai" octez_client = f"{path_to_binaries}/octez-client" octez_node = f"{path_to_binaries}/octez-node" octez_signer = f"{path_to_binaries}/octez-signer" diff --git a/tests/tezos-modules.nix b/tests/tezos-modules.nix index 1ef99b800..633bcda2d 100644 --- a/tests/tezos-modules.nix +++ b/tests/tezos-modules.nix @@ -19,12 +19,12 @@ let octez-accuser = { enable = true; - baseProtocols = ["PtNairob"]; + baseProtocols = ["PtMumbai"]; }; octez-baker = { enable = true; - baseProtocols = ["PtNairob"]; + baseProtocols = ["PtMumbai"]; bakerAccountAlias = "baker"; bakerSecretKey = "unencrypted:edsk3KaTNj1d8Xd3kMBrZkJrfkqsz4XwwiBXatuuVgTdPye2KpE98o"; }; @@ -44,10 +44,10 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: ]; services = { - octez-node.instances.ghostnet = octez-node; - octez-signer.instances.ghostnet = octez-signer; - octez-accuser.instances.ghostnet = octez-accuser; - octez-baker.instances.ghostnet = octez-baker; + octez-node.instances.mumbainet = octez-node; + octez-signer.instances.mumbainet = octez-signer; + octez-accuser.instances.mumbainet = octez-accuser; + octez-baker.instances.mumbainet = octez-baker; }; }; @@ -65,7 +65,7 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: ] for s in services: - machine.wait_for_unit(f"tezos-ghostnet-{s}.service") + machine.wait_for_unit(f"tezos-mumbainet-{s}.service") ${if octez-node.enable then '' with subtest("check octez-node rpc response"): @@ -78,6 +78,6 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: with subtest("service status sanity check"): for s in services: - machine.succeed(f"systemctl status tezos-ghostnet-{s}.service") + machine.succeed(f"systemctl status tezos-mumbainet-{s}.service") ''; }) { inherit pkgs system; } diff --git a/tests/tezos-nix-binaries.nix b/tests/tezos-nix-binaries.nix index b474f30c5..df0a75f16 100644 --- a/tests/tezos-nix-binaries.nix +++ b/tests/tezos-nix-binaries.nix @@ -3,25 +3,26 @@ { nixpkgs, pkgs, ... }: let inherit (pkgs) system; - inherit (pkgs.octezPackages) - octez-client octez-admin-client octez-node octez-signer octez-codec - octez-accuser-PtNairob octez-baker-PtNairob; -in import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: { + inherit (pkgs.octezPackages) octez-client octez-admin-client octez-node octez-signer octez-codec + octez-accuser-PtMumbai octez-baker-PtMumbai; +in import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: +{ name = "tezos-nix-binaries-test"; nodes.machine = { ... }: { virtualisation.memorySize = 1024; virtualisation.diskSize = 1024; - environment.systemPackages = with pkgs; [ libev ]; - security.pki.certificateFiles = [ ./ca.cert ]; - environment.sessionVariables.LD_LIBRARY_PATH = [ - "${pkgs.ocamlPackages.hacl-star-raw}/lib/ocaml/4.12.0/site-lib/hacl-star-raw" + environment.systemPackages = with pkgs; [ + libev ]; + security.pki.certificateFiles = [ ./ca.cert ]; + environment.sessionVariables.LD_LIBRARY_PATH = + [ "${pkgs.ocamlPackages.hacl-star-raw}/lib/ocaml/4.12.0/site-lib/hacl-star-raw" ]; }; testScript = '' - octez_accuser = "${octez-accuser-PtNairob}/bin/octez-accuser-PtNairob" + octez_accuser = "${octez-accuser-PtMumbai}/bin/octez-accuser-PtMumbai" octez_admin_client = "${octez-admin-client}/bin/octez-admin-client" - octez_baker = "${octez-baker-PtNairob}/bin/octez-baker-PtNairob" + octez_baker = "${octez-baker-PtMumbai}/bin/octez-baker-PtMumbai" octez_client = ( "${octez-client}/bin/octez-client" ) From 78d6ab16e4eaf392588f74a42dcbec1f2c52917d Mon Sep 17 00:00:00 2001 From: Savely Krendelhoff Date: Tue, 5 Sep 2023 11:06:09 +0300 Subject: [PATCH 3/5] [Chore] Bump release version for v17.3 Problem: New stable release have to be made, thus release number should be bumped. Solution: Bump it. --- baking/pyproject.toml | 2 +- docker/package/model.py | 2 +- meta.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/baking/pyproject.toml b/baking/pyproject.toml index 9db63611c..f44df87e6 100644 --- a/baking/pyproject.toml +++ b/baking/pyproject.toml @@ -14,7 +14,7 @@ description = "Package that provides systemd services that orchestrate other ser license = { text = "LicenseRef-MIT-OA" } requires-python = ">=3.8" readme = "README.md" -version = "v17.3a" +version = "v17.3b" [tool.setuptools.packages.find] where= ["src"] diff --git a/docker/package/model.py b/docker/package/model.py index 4c2b64de9..4e86754c7 100644 --- a/docker/package/model.py +++ b/docker/package/model.py @@ -585,7 +585,7 @@ class TezosBakingServicesPackage(AbstractPackage): # native releases, so we append an extra letter to the version of # the package. # This should be reset to "" whenever the native version is bumped. - letter_version = "a" + letter_version = "b" buildfile = "setup.py" diff --git a/meta.json b/meta.json index 1ebdaaa81..422e46196 100644 --- a/meta.json +++ b/meta.json @@ -1,5 +1,5 @@ { - "release": "2", + "release": "3", "maintainer": "Serokell ", "tezos_ref": "v17.3" } From 00d7f06849da039ebc0fcb4578e16bd79424e951 Mon Sep 17 00:00:00 2001 From: Savely Krendelhoff Date: Tue, 5 Sep 2023 11:50:15 +0300 Subject: [PATCH 4/5] [Chore] Revert changes made for v17.3-3 Problem: New stable release was prepared, thus we should return to the previuos state. Solution: Revert changes made for v17.3-3. --- .buildkite/pipeline-raw.yml | 4 +- .github/workflows/build-bottles.yml | 2 +- ...-PtMumbai.rb => tezos-accuser-Proxford.rb} | 36 +- Formula/tezos-accuser-PtNairob.rb | 12 +- Formula/tezos-admin-client.rb | 12 +- ...er-PtMumbai.rb => tezos-baker-Proxford.rb} | 36 +- Formula/tezos-baker-PtNairob.rb | 12 +- Formula/tezos-client.rb | 12 +- Formula/tezos-codec.rb | 12 +- Formula/tezos-dac-client.rb | 64 + Formula/tezos-dac-node.rb | 64 + Formula/tezos-node-ghostnet.rb | 2 +- Formula/tezos-node-mainnet.rb | 2 +- Formula/tezos-node-nairobinet.rb | 2 +- ...e-mumbainet.rb => tezos-node-oxfordnet.rb} | 26 +- Formula/tezos-node.rb | 12 +- Formula/tezos-signer-http.rb | 2 +- Formula/tezos-signer-https.rb | 2 +- Formula/tezos-signer-tcp.rb | 2 +- Formula/tezos-signer-unix.rb | 2 +- Formula/tezos-signer.rb | 12 +- ... => tezos-smart-rollup-client-Proxford.rb} | 24 +- Formula/tezos-smart-rollup-client-PtNairob.rb | 12 +- ...rb => tezos-smart-rollup-node-Proxford.rb} | 36 +- Formula/tezos-smart-rollup-node-PtNairob.rb | 12 +- baking/pyproject.toml | 2 +- baking/src/tezos_baking/tezos_setup_wizard.py | 2 +- baking/src/tezos_baking/wizard_structure.py | 6 +- docker/build/build-rust.sh | 2 +- docker/docker-static-build.sh | 2 +- docker/package/model.py | 2 +- docker/package/packages.py | 28 +- docker/package/scripts/build-binary.sh | 14 +- docs/baking.md | 2 +- docs/fedora.md | 4 +- docs/systemd.md | 6 +- docs/voting.md | 2 +- flake.lock | 1207 +++++++++++++++-- flake.nix | 2 +- meta.json | 4 +- nix/build/hacks.nix | 15 +- nix/build/ocaml-overlay.nix | 6 +- nix/build/release-binaries.nix | 11 + nix/modules/common.nix | 4 +- nix/modules/tezos-accuser.nix | 6 +- nix/modules/tezos-baker.nix | 4 +- nix/modules/tezos-node.nix | 2 +- protocols.json | 7 +- scripts/build-all-bottles.sh | 2 +- tests/systemd/services_tests.py | 42 +- tests/test_script.py | 4 +- tests/tezos-binaries.nix | 13 +- tests/tezos-modules.nix | 16 +- tests/tezos-nix-binaries.nix | 21 +- 54 files changed, 1499 insertions(+), 353 deletions(-) rename Formula/{tezos-accuser-PtMumbai.rb => tezos-accuser-Proxford.rb} (69%) rename Formula/{tezos-baker-PtMumbai.rb => tezos-baker-Proxford.rb} (71%) create mode 100644 Formula/tezos-dac-client.rb create mode 100644 Formula/tezos-dac-node.rb rename Formula/{tezos-node-mumbainet.rb => tezos-node-oxfordnet.rb} (69%) rename Formula/{tezos-smart-rollup-client-PtMumbai.rb => tezos-smart-rollup-client-Proxford.rb} (66%) rename Formula/{tezos-smart-rollup-node-PtMumbai.rb => tezos-smart-rollup-node-Proxford.rb} (66%) diff --git a/.buildkite/pipeline-raw.yml b/.buildkite/pipeline-raw.yml index 44cbe821d..1ee2c7bb3 100644 --- a/.buildkite/pipeline-raw.yml +++ b/.buildkite/pipeline-raw.yml @@ -117,7 +117,7 @@ steps: - eval "$SET_VERSION" # Building all binary packages will take significant amount of time, so we build only one # in order to ensure package generation sanity - - nix develop .#docker-tezos-packages -c ./docker/build/ubuntu/build.py --type binary -p tezos-baker-PtMumbai + - nix develop .#docker-tezos-packages -c ./docker/build/ubuntu/build.py --type binary -p tezos-baker-PtNairob - rm -rf out # It takes much time to build binary package, so we do it only on master branches: "master" @@ -141,7 +141,7 @@ steps: - eval "$SET_VERSION" # Building all binary packages will take significant amount of time, so we build only one # in order to ensure package generation sanity - - nix develop .#docker-tezos-packages -c ./docker/build/fedora/build.py --type binary -p tezos-baker-PtMumbai + - nix develop .#docker-tezos-packages -c ./docker/build/fedora/build.py --type binary -p tezos-baker-PtNairob - rm -rf out # It takes much time to build binary package, so we do it only on master branches: "master" diff --git a/.github/workflows/build-bottles.yml b/.github/workflows/build-bottles.yml index 63fffe136..288659918 100644 --- a/.github/workflows/build-bottles.yml +++ b/.github/workflows/build-bottles.yml @@ -17,7 +17,7 @@ jobs: matrix: os: [ { id: macos-12, name: "monterey" } ] # we don't bottle meta-formulas that contain only services - formula: [tezos-accuser-PtMumbai, tezos-accuser-PtNairob, tezos-admin-client, tezos-baker-PtMumbai, tezos-baker-PtNairob, tezos-client, tezos-codec, tezos-node, tezos-signer, tezos-smart-rollup-client-PtMumbai, tezos-smart-rollup-client-PtNairob, tezos-smart-rollup-node-PtMumbai, tezos-smart-rollup-node-PtNairob] + formula: [tezos-accuser-PtNairob, tezos-accuser-Proxford, tezos-admin-client, tezos-baker-PtNairob, tezos-baker-Proxford, tezos-client, tezos-codec, tezos-node, tezos-signer, tezos-smart-rollup-client-PtNairob, tezos-smart-rollup-client-Proxford, tezos-smart-rollup-node-PtNairob, tezos-smart-rollup-node-Proxford, tezos-dac-client, tezos-dac-node] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/Formula/tezos-accuser-PtMumbai.rb b/Formula/tezos-accuser-Proxford.rb similarity index 69% rename from Formula/tezos-accuser-PtMumbai.rb rename to Formula/tezos-accuser-Proxford.rb index 820d187ec..243369723 100644 --- a/Formula/tezos-accuser-PtMumbai.rb +++ b/Formula/tezos-accuser-Proxford.rb @@ -1,7 +1,7 @@ -# SPDX-FileCopyrightText: 2022 Oxhead Alpha +# SPDX-FileCopyrightText: 2023 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosAccuserPtmumbai < Formula +class TezosAccuserProxford < Formula @all_bins = [] class << self @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -25,10 +25,10 @@ class << self desc "Daemon for accusing" bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuserPtmumbai.version}/" - sha256 cellar: :any, monterey: "d99450586bb48016307ffdf7d76e7eb0555c31ab1ccde19b3dffd6c36642bcc5" - sha256 cellar: :any, big_sur: "98de4a2dff6201ee2d6435ec8f83a4a943868ec030567809a437a19b1988e9e7" - sha256 cellar: :any, arm64_big_sur: "52c01ff7b363dc1c61426817688fa32946e8bf4f1d3227f24ba1b0aabf6cfa88" + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuserProxford.version}/" + sha256 cellar: :any, arm64_big_sur: "bc0441c5c881287a2fcca74ceb92d98e45d17032fe755f67dec8cce30ac5f53a" + sha256 cellar: :any, big_sur: "7ef8600cabf0fac5da4b6a039d2d64e822fbb647f626ba15c60321a8ba746769" + sha256 cellar: :any, monterey: "18afc3bd1220735856ef95996721867c6c540f29bfbbf4e4c896c09e82357780" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end @@ -62,7 +62,7 @@ def install set -euo pipefail - accuser="#{bin}/octez-accuser-PtMumbai" + accuser="#{bin}/octez-accuser-Proxford" accuser_config="$TEZOS_CLIENT_DIR/config" mkdir -p "$TEZOS_CLIENT_DIR" @@ -77,21 +77,21 @@ def install exec "$accuser" --endpoint "$NODE_RPC_SCHEME://$NODE_RPC_ADDR" run EOS - File.write("tezos-accuser-PtMumbai-start", startup_contents) - bin.install "tezos-accuser-PtMumbai-start" + File.write("tezos-accuser-Proxford-start", startup_contents) + bin.install "tezos-accuser-Proxford-start" make_deps - install_template "src/proto_016_PtMumbai/bin_accuser/main_accuser_016_PtMumbai.exe", - "_build/default/src/proto_016_PtMumbai/bin_accuser/main_accuser_016_PtMumbai.exe", - "octez-accuser-PtMumbai" + install_template "src/proto_018_Proxford/bin_accuser/main_accuser_018_Proxford.exe", + "_build/default/src/proto_018_Proxford/bin_accuser/main_accuser_018_Proxford.exe", + "octez-accuser-Proxford" end service do - run opt_bin/"tezos-accuser-PtMumbai-start" + run opt_bin/"tezos-accuser-Proxford-start" require_root true environment_variables TEZOS_CLIENT_DIR: var/"lib/tezos/client", NODE_RPC_SCHEME: "http", NODE_RPC_ADDR: "localhost:8732" keep_alive true - log_path var/"log/tezos-accuser-PtMumbai.log" - error_log_path var/"log/tezos-accuser-PtMumbai.log" + log_path var/"log/tezos-accuser-Proxford.log" + error_log_path var/"log/tezos-accuser-Proxford.log" end def post_install diff --git a/Formula/tezos-accuser-PtNairob.rb b/Formula/tezos-accuser-PtNairob.rb index 1691ef4c7..0b8132f1f 100644 --- a/Formula/tezos-accuser-PtNairob.rb +++ b/Formula/tezos-accuser-PtNairob.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuserPtnairob.version}/" - sha256 cellar: :any, monterey: "8119294feaa1d2df9194f9ac214534ce4b9f0a17939a516c59861ab21b9d15ac" - sha256 cellar: :any, big_sur: "f6b5687d13de47e31f561d897c30137656f2cd873a671cfbf8fd7cc17b406d7a" - sha256 cellar: :any, arm64_big_sur: "3af1de2db0d10370828f5ae6a40576eba9ae0152574b16e70f2b4c3b66effcc5" + sha256 cellar: :any, arm64_big_sur: "ee18dd0c95321329f7652dc3933d521ef8c03d419a0bff7483820ea96d224a60" + sha256 cellar: :any, big_sur: "d361befe303c87690952680aa3563984ab3ff7d2bd991158884aa7242c9b78a5" + sha256 cellar: :any, monterey: "e772cfe143b971c10e77fe39414884d224a5557de6ebec9b6cefb90d7ae10a31" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-admin-client.rb b/Formula/tezos-admin-client.rb index c28887701..f3dd91898 100644 --- a/Formula/tezos-admin-client.rb +++ b/Formula/tezos-admin-client.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAdminClient.version}/" - sha256 cellar: :any, monterey: "ea8d94c9d06ccd9832923e3915e12a1e35256e719b254de89341a1772a80b62b" - sha256 cellar: :any, big_sur: "89b86b6f9ebdec27d9dcff19c6262a0e54f16917b244083f63581d042f1ad57f" - sha256 cellar: :any, arm64_big_sur: "b0a7aebaaf2b6c60a6f1748ab82c2ebe456cb948deda13830f72c18917786bbb" + sha256 cellar: :any, arm64_big_sur: "002cddcdf4661c88d586efd6e04349c77fc45f2ba47d51259699b576a7368b47" + sha256 cellar: :any, big_sur: "212103ff0b6df15e79a10b2e260b9c0a01988a7a6a01954536951e549bdf4e15" + sha256 cellar: :any, monterey: "6b8598435cfb751c9a7a595c69cc17bddde6a5913486f6aa29a3987acc0b5b29" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-baker-PtMumbai.rb b/Formula/tezos-baker-Proxford.rb similarity index 71% rename from Formula/tezos-baker-PtMumbai.rb rename to Formula/tezos-baker-Proxford.rb index 33d817d98..c8893e993 100644 --- a/Formula/tezos-baker-PtMumbai.rb +++ b/Formula/tezos-baker-Proxford.rb @@ -1,7 +1,7 @@ -# SPDX-FileCopyrightText: 2022 Oxhead Alpha +# SPDX-FileCopyrightText: 2023 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosBakerPtmumbai < Formula +class TezosBakerProxford < Formula @all_bins = [] class << self @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -25,10 +25,10 @@ class << self desc "Daemon for baking" bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBakerPtmumbai.version}/" - sha256 cellar: :any, monterey: "697990bac2a711f4f535008b6453980882cd7686e6db7f14c3670730535a7197" - sha256 cellar: :any, big_sur: "66facd7620ac17308a96b2cf69888f6de5101577b257b267d2ffd3ccecfb2050" - sha256 cellar: :any, arm64_big_sur: "3ffcfb3985b202a62efd09c8855b4c39e485ad4c7e30da64dd210d54cbdec904" + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBakerProxford.version}/" + sha256 cellar: :any, arm64_big_sur: "4130d6fde0bd567595b614fe873d4e279d9c0968038487302e5efb4716654e21" + sha256 cellar: :any, big_sur: "c8ba59f374b1d9f4f9f4740124220e8f7f81d05d6f649571f8f3cd98d4de4340" + sha256 cellar: :any, monterey: "79962f86efe8320920fcdc8ff3a1734ffce83fc1fb74fc6807a770db6fd690af" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end @@ -62,7 +62,7 @@ def install set -euo pipefail - baker="#{bin}/octez-baker-PtMumbai" + baker="#{bin}/octez-baker-Proxford" baker_config="$TEZOS_CLIENT_DIR/config" mkdir -p "$TEZOS_CLIENT_DIR" @@ -87,21 +87,21 @@ def install launch_baker "$BAKER_ACCOUNT" fi EOS - File.write("tezos-baker-PtMumbai-start", startup_contents) - bin.install "tezos-baker-PtMumbai-start" + File.write("tezos-baker-Proxford-start", startup_contents) + bin.install "tezos-baker-Proxford-start" make_deps - install_template "src/proto_016_PtMumbai/bin_baker/main_baker_016_PtMumbai.exe", - "_build/default/src/proto_016_PtMumbai/bin_baker/main_baker_016_PtMumbai.exe", - "octez-baker-PtMumbai" + install_template "src/proto_018_Proxford/bin_baker/main_baker_018_Proxford.exe", + "_build/default/src/proto_018_Proxford/bin_baker/main_baker_018_Proxford.exe", + "octez-baker-Proxford" end service do - run opt_bin/"tezos-baker-PtMumbai-start" + run opt_bin/"tezos-baker-Proxford-start" require_root true environment_variables TEZOS_CLIENT_DIR: var/"lib/tezos/client", TEZOS_NODE_DIR: "", NODE_RPC_SCHEME: "http", NODE_RPC_ADDR: "localhost:8732", BAKER_ACCOUNT: "" keep_alive true - log_path var/"log/tezos-baker-PtMumbai.log" - error_log_path var/"log/tezos-baker-PtMumbai.log" + log_path var/"log/tezos-baker-Proxford.log" + error_log_path var/"log/tezos-baker-Proxford.log" end def post_install diff --git a/Formula/tezos-baker-PtNairob.rb b/Formula/tezos-baker-PtNairob.rb index cd4719375..ec48a8452 100644 --- a/Formula/tezos-baker-PtNairob.rb +++ b/Formula/tezos-baker-PtNairob.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBakerPtnairob.version}/" - sha256 cellar: :any, monterey: "b0a2b5e165f14b15292f9dc2b8f1ddb3941f94dcce76ef91dd174b883e53674b" - sha256 cellar: :any, big_sur: "536e0645af7de6373c2c0116cffbdd3a510369457fc23b00a0cfcc2452df5203" - sha256 cellar: :any, arm64_big_sur: "4314adb34e9e8f2733b8e9e9d9b9fcfc983f4480d8233a8c66e25adbe819d8cc" + sha256 cellar: :any, arm64_big_sur: "7297607bbe2b907a1d1c6b9deb3dc4c160a68162b47fdbbc30ae25b2a4ed04c8" + sha256 cellar: :any, big_sur: "0f06234ad073d83f7a79ae26a1abd6cfd595d0e37b7bdb493afc9c9a6e7ef907" + sha256 cellar: :any, monterey: "3a549bc7a2bd6f106e695913698291474873ce3c7cf9ee7f1496b603472c4460" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-client.rb b/Formula/tezos-client.rb index 69a2a3ddc..6e0c03588 100644 --- a/Formula/tezos-client.rb +++ b/Formula/tezos-client.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosClient.version}/" - sha256 cellar: :any, monterey: "b1a940683048debcc1daf873503d6aa95dab71050a9db003f32435c28c7e9694" - sha256 cellar: :any, big_sur: "61ed45838dc649bd5264e3f1520ca9af5c37e152b07d6255987de7d58e15a325" - sha256 cellar: :any, arm64_big_sur: "8af7c78c67ed61f3d16b3ffd08dc82d4914172ee3eecb8811568d044eb661b9f" + sha256 cellar: :any, arm64_big_sur: "af41dbe0e2f883def6a847739d1373db81b0764875c1dde1cb9632cacdf61a3a" + sha256 cellar: :any, big_sur: "4053fe7ee229657c58ea5264f3841a9f83d3b3b4adda1f16c40570ee94312383" + sha256 cellar: :any, monterey: "670eff38578026547bbb2a0887c6b41fb10cddcfea1d40138b3d8940248239ee" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-codec.rb b/Formula/tezos-codec.rb index cb4c4e4f6..81f2c153c 100644 --- a/Formula/tezos-codec.rb +++ b/Formula/tezos-codec.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosCodec.version}/" - sha256 cellar: :any, monterey: "a69309b6ecae9573faea0bd24e86d70d3981430831d81898760a17121f0e0546" - sha256 cellar: :any, big_sur: "e5c3da00b2b0afc9f417112002f6711e3eb5ff273bff1906dca3bfcd7038e4b0" - sha256 cellar: :any, arm64_big_sur: "2b61313c57008a420d9968f6b8713a3a54e1bb700e53cabdf91fa7b529c28c72" + sha256 cellar: :any, arm64_big_sur: "c1d84067a64c2445e3f2f0d9b4f030f73b6c653c8dd0db76119700b84d5a171d" + sha256 cellar: :any, big_sur: "c58e0c9ae3a888d72a8fc2a27b13a7bdf25eb1d3db5cfbee4b82d4d0bf2c6131" + sha256 cellar: :any, monterey: "33dcffae438e3897d9e003205ba3ed3e75d3a4cd1e4560844fd1e821d073a7a3" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-dac-client.rb b/Formula/tezos-dac-client.rb new file mode 100644 index 000000000..7c823c79d --- /dev/null +++ b/Formula/tezos-dac-client.rb @@ -0,0 +1,64 @@ +# SPDX-FileCopyrightText: 2021 Oxhead Alpha +# SPDX-License-Identifier: LicenseRef-MIT-OA + +class TezosDacClient < Formula + @all_bins = [] + + class << self + attr_accessor :all_bins + end + homepage "https://gitlab.com/tezos/tezos" + + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + + version "v18.0-rc1-1" + + build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] + build_dependencies.each do |dependency| + depends_on dependency => :build + end + + dependencies = %w[gmp hidapi libev libffi tezos-sapling-params] + dependencies.each do |dependency| + depends_on dependency + end + desc "A Data Availability Committee Tezos client" + + bottle do + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosDacClient.version}/" + sha256 cellar: :any, arm64_big_sur: "11621253b53e75235a8557b6fc5f763b7b4ddb6dd76276221d0ef7d98c9a84ed" + sha256 cellar: :any, big_sur: "285406c3a521f4dc10f3ba2dc7bf5d5d59c1ec622ec4e255135a778222c1ec5e" + sha256 cellar: :any, monterey: "12cf98c63842cca83b34348d7aad09ec908d819707364d2ac909388cd9c84e84" + end + + def make_deps + ENV.deparallelize + ENV["CARGO_HOME"]="./.cargo" + # Disable usage of instructions from the ADX extension to avoid incompatibility + # with old CPUs, see https://gitlab.com/dannywillems/ocaml-bls12-381/-/merge_requests/135/ + ENV["BLST_PORTABLE"]="yes" + # Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer + arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64" + system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" + system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" + ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" + system ["source .cargo/env", "make build-deps"].join(" && ") + end + + def install_template(dune_path, exec_path, name) + bin.mkpath + self.class.all_bins << name + system ["eval $(opam env)", "dune build #{dune_path}", "cp #{exec_path} #{name}"].join(" && ") + bin.install name + ln_sf "#{bin}/#{name}", "#{bin}/#{name.gsub("octez", "tezos")}" + end + + def install + make_deps + install_template "src/bin_dac_client/main_dac_client.exe", + "_build/default/src/bin_dac_client/main_dac_client.exe", + "octez-dac-client" + end +end diff --git a/Formula/tezos-dac-node.rb b/Formula/tezos-dac-node.rb new file mode 100644 index 000000000..971fb5370 --- /dev/null +++ b/Formula/tezos-dac-node.rb @@ -0,0 +1,64 @@ +# SPDX-FileCopyrightText: 2021 Oxhead Alpha +# SPDX-License-Identifier: LicenseRef-MIT-OA + +class TezosDacNode < Formula + @all_bins = [] + + class << self + attr_accessor :all_bins + end + homepage "https://gitlab.com/tezos/tezos" + + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false + + version "v18.0-rc1-1" + + build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] + build_dependencies.each do |dependency| + depends_on dependency => :build + end + + dependencies = %w[gmp hidapi libev libffi tezos-sapling-params] + dependencies.each do |dependency| + depends_on dependency + end + desc "A Data Availability Committee Tezos node" + + bottle do + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosDacNode.version}/" + sha256 cellar: :any, arm64_big_sur: "e7d00c64f7c523628ba381d0859700a11725405ce35e977bf7d81e49587b7f16" + sha256 cellar: :any, big_sur: "f15d9bd9a5b61e96f4af2a097dac3bc6c531d8229aa729f56163a9bdc1c979e3" + sha256 cellar: :any, monterey: "5ff06281f0f4b62b97b64bd79c79986cd28541a6f426a98df4078ebcd518324a" + end + + def make_deps + ENV.deparallelize + ENV["CARGO_HOME"]="./.cargo" + # Disable usage of instructions from the ADX extension to avoid incompatibility + # with old CPUs, see https://gitlab.com/dannywillems/ocaml-bls12-381/-/merge_requests/135/ + ENV["BLST_PORTABLE"]="yes" + # Here is the workaround to use opam 2.0.9 because Tezos is currently not compatible with opam 2.1.0 and newer + arch = RUBY_PLATFORM.include?("arm64") ? "arm64" : "x86_64" + system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" + system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" + ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" + system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" + system ["source .cargo/env", "make build-deps"].join(" && ") + end + + def install_template(dune_path, exec_path, name) + bin.mkpath + self.class.all_bins << name + system ["eval $(opam env)", "dune build #{dune_path}", "cp #{exec_path} #{name}"].join(" && ") + bin.install name + ln_sf "#{bin}/#{name}", "#{bin}/#{name.gsub("octez", "tezos")}" + end + + def install + make_deps + install_template "src/bin_dac_node/main_dac.exe", + "_build/default/src/bin_dac_node/main_dac.exe", + "octez-dac-node" + end +end diff --git a/Formula/tezos-node-ghostnet.rb b/Formula/tezos-node-ghostnet.rb index d656d6bfb..b3972ed00 100644 --- a/Formula/tezos-node-ghostnet.rb +++ b/Formula/tezos-node-ghostnet.rb @@ -3,7 +3,7 @@ class TezosNodeGhostnet < Formula url "file:///dev/null" - version "v17.3-1" + version "v18.0-rc1-1" depends_on "tezos-node" diff --git a/Formula/tezos-node-mainnet.rb b/Formula/tezos-node-mainnet.rb index 85d6ad097..e9bfb9fd2 100644 --- a/Formula/tezos-node-mainnet.rb +++ b/Formula/tezos-node-mainnet.rb @@ -3,7 +3,7 @@ class TezosNodeMainnet < Formula url "file:///dev/null" - version "v17.3-1" + version "v18.0-rc1-1" depends_on "tezos-node" diff --git a/Formula/tezos-node-nairobinet.rb b/Formula/tezos-node-nairobinet.rb index ed8f7c990..543a2816f 100644 --- a/Formula/tezos-node-nairobinet.rb +++ b/Formula/tezos-node-nairobinet.rb @@ -5,7 +5,7 @@ class TezosNodeNairobinet < Formula url "file:///dev/null" - version "v17.3-1" + version "v18.0-rc1-1" depends_on "tezos-node" diff --git a/Formula/tezos-node-mumbainet.rb b/Formula/tezos-node-oxfordnet.rb similarity index 69% rename from Formula/tezos-node-mumbainet.rb rename to Formula/tezos-node-oxfordnet.rb index 28a568cb1..888ad510e 100644 --- a/Formula/tezos-node-mumbainet.rb +++ b/Formula/tezos-node-oxfordnet.rb @@ -3,13 +3,13 @@ # SPDX-FileCopyrightText: 2023 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosNodeMumbainet < Formula +class TezosNodeOxfordnet < Formula url "file:///dev/null" - version "v17.3-1" + version "v18.0-rc1-1" depends_on "tezos-node" - desc "Meta formula that provides background tezos-node service that runs on mumbainet" + desc "Meta formula that provides background tezos-node service that runs on oxfordnet" def install startup_contents = @@ -27,13 +27,13 @@ def install echo "Configuring the node..." "$node" config init \ --rpc-addr "$NODE_RPC_ADDR" \ - --network=mumbainet\ + --network=https://teztnets.xyz/oxfordnet\ "$@" else echo "Updating the node configuration..." "$node" config update \ --rpc-addr "$NODE_RPC_ADDR" \ - --network=mumbainet\ + --network=https://teztnets.xyz/oxfordnet\ "$@" fi @@ -45,22 +45,22 @@ def install --rpc-tls="$CERT_PATH","$KEY_PATH" fi EOS - File.write("tezos-node-mumbainet-start", startup_contents) - bin.install "tezos-node-mumbainet-start" - print "Installing tezos-node-mumbainet service" + File.write("tezos-node-oxfordnet-start", startup_contents) + bin.install "tezos-node-oxfordnet-start" + print "Installing tezos-node-oxfordnet service" end service do - run opt_bin/"tezos-node-mumbainet-start" + run opt_bin/"tezos-node-oxfordnet-start" require_root true environment_variables TEZOS_CLIENT_DIR: var/"lib/tezos/client", NODE_RPC_ADDR: "127.0.0.1:8732", CERT_PATH: "", KEY_PATH: "" keep_alive true - log_path var/"log/tezos-node-mumbainet.log" - error_log_path var/"log/tezos-node-mumbainet.log" + log_path var/"log/tezos-node-oxfordnet.log" + error_log_path var/"log/tezos-node-oxfordnet.log" end def post_install - mkdir_p "#{var}/lib/tezos/node-mumbainet" - system "octez-node", "config", "init", "--data-dir" "#{var}/lib/tezos/node-mumbainet", "--network", "mumbainet" + mkdir_p "#{var}/lib/tezos/node-oxfordnet" + system "octez-node", "config", "init", "--data-dir" "#{var}/lib/tezos/node-oxfordnet", "--network", "https://teztnets.xyz/oxfordnet" end end diff --git a/Formula/tezos-node.rb b/Formula/tezos-node.rb index c9ba663c0..6f5e24dd6 100644 --- a/Formula/tezos-node.rb +++ b/Formula/tezos-node.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosNode.version}/" - sha256 cellar: :any, monterey: "f0a985b169577c3a11bb667697f56c3db97cd3fe7294de34a5ead4f7d00d67a0" - sha256 cellar: :any, big_sur: "663bc0853bdb526c206906847c3211f27bf00c75c4e098b20ae003fca0858a18" - sha256 cellar: :any, arm64_big_sur: "bf858a60ad8ff4bd81bd779f23d58b1899fb2d3b74d8996246e2fad88afad300" + sha256 cellar: :any, arm64_big_sur: "c71f5657427cd035b82dc6b0a8c820846d9fbc157021f831432482f7f158f2b3" + sha256 cellar: :any, big_sur: "bf8eed699d5df92f702e7cfc27a3e63720076c4b9414c6ca348ae5b6a6521bb3" + sha256 cellar: :any, monterey: "d1e281c0ae9cb1dcca76252345ea0be1dd909f9c5dcb74f20528d80966679698" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-signer-http.rb b/Formula/tezos-signer-http.rb index 9cee592c4..def1526d5 100644 --- a/Formula/tezos-signer-http.rb +++ b/Formula/tezos-signer-http.rb @@ -3,7 +3,7 @@ class TezosSignerHttp < Formula url "file:///dev/null" - version "v17.3-1" + version "v18.0-rc1-1" depends_on "tezos-signer" diff --git a/Formula/tezos-signer-https.rb b/Formula/tezos-signer-https.rb index 0aa697e7f..66e630952 100644 --- a/Formula/tezos-signer-https.rb +++ b/Formula/tezos-signer-https.rb @@ -3,7 +3,7 @@ class TezosSignerHttps < Formula url "file:///dev/null" - version "v17.3-1" + version "v18.0-rc1-1" depends_on "tezos-signer" diff --git a/Formula/tezos-signer-tcp.rb b/Formula/tezos-signer-tcp.rb index b23420893..3525f1c89 100644 --- a/Formula/tezos-signer-tcp.rb +++ b/Formula/tezos-signer-tcp.rb @@ -3,7 +3,7 @@ class TezosSignerTcp < Formula url "file:///dev/null" - version "v17.3-1" + version "v18.0-rc1-1" depends_on "tezos-signer" diff --git a/Formula/tezos-signer-unix.rb b/Formula/tezos-signer-unix.rb index 42105f0b1..5e96e1e60 100644 --- a/Formula/tezos-signer-unix.rb +++ b/Formula/tezos-signer-unix.rb @@ -3,7 +3,7 @@ class TezosSignerUnix < Formula url "file:///dev/null" - version "v17.3-1" + version "v18.0-rc1-1" depends_on "tezos-signer" diff --git a/Formula/tezos-signer.rb b/Formula/tezos-signer.rb index 197f58fde..f76f0cc47 100644 --- a/Formula/tezos-signer.rb +++ b/Formula/tezos-signer.rb @@ -9,9 +9,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -26,9 +26,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSigner.version}/" - sha256 cellar: :any, monterey: "7459d361f7c3210980fcbb9c922efeb4a7976c9d4e4238ddb8319aebbbd73925" - sha256 cellar: :any, big_sur: "6755d624dbce5366c0e407ab50ce8345bc431f6a204dd354108eddf9d1839d4e" - sha256 cellar: :any, arm64_big_sur: "903bc14077b0ff00b6924938542af1094031888440f32a8919a57843ffee4516" + sha256 cellar: :any, arm64_big_sur: "4af9252ea4e22eb678f7b3eaad71e343e11b39e3ebb1d015bebf333b8a4a723f" + sha256 cellar: :any, big_sur: "709bd0df4af94e228a975843d69c2825b996233dad55f0be77e9bbf0e4454ad9" + sha256 cellar: :any, monterey: "cd1592983e06de32000694a12fb4380aa58042e18709b8e799580bc724697e22" end def make_deps @@ -42,7 +42,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-smart-rollup-client-PtMumbai.rb b/Formula/tezos-smart-rollup-client-Proxford.rb similarity index 66% rename from Formula/tezos-smart-rollup-client-PtMumbai.rb rename to Formula/tezos-smart-rollup-client-Proxford.rb index bb9f125e3..3838dda78 100644 --- a/Formula/tezos-smart-rollup-client-PtMumbai.rb +++ b/Formula/tezos-smart-rollup-client-Proxford.rb @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: 2023 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosSmartRollupClientPtmumbai < Formula +class TezosSmartRollupClientProxford < Formula @all_bins = [] class << self @@ -10,9 +10,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -23,13 +23,13 @@ class << self dependencies.each do |dependency| depends_on dependency end - desc "Smart contract rollup CLI client for PtMumbai" + desc "Smart contract rollup CLI client for Proxford" bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupClientPtmumbai.version}/" - sha256 cellar: :any, monterey: "dc56fe19714bcc58e9bde18bdefe1a7b9cbbfd5f239578a3fac99f76aa907de5" - sha256 cellar: :any, big_sur: "e9c60fe4bfb85c4199901458075ba54a28134994c3a1c306c4c8b8b2cf591727" - sha256 cellar: :any, arm64_big_sur: "1e423db1d4dd43e4a0fe431440c7a1dd3773fc02486b732f15a5200c59bb3216" + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupClientProxford.version}/" + sha256 cellar: :any, arm64_big_sur: "e9004b0cb53c5bf1571e6cc32518154853295c4a583535ce3b18cd62f893fcc3" + sha256 cellar: :any, big_sur: "eac7ff33ea326424efb297068014f894e716a72dfb6c06f656a142f090142d34" + sha256 cellar: :any, monterey: "3168234eeb049ddcabb88abcdd0c189bcaef4819b434fb7c729422d88ed1a36c" end def make_deps @@ -43,7 +43,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end @@ -58,8 +58,8 @@ def install_template(dune_path, exec_path, name) def install make_deps - install_template "src/proto_016_PtMumbai/bin_sc_rollup_client/main_sc_rollup_client_016_PtMumbai.exe", - "_build/default/src/proto_016_PtMumbai/bin_sc_rollup_client/main_sc_rollup_client_016_PtMumbai.exe", - "octez-smart-rollup-client-PtMumbai" + install_template "src/proto_018_Proxford/bin_sc_rollup_client/main_sc_rollup_client_018_Proxford.exe", + "_build/default/src/proto_018_Proxford/bin_sc_rollup_client/main_sc_rollup_client_018_Proxford.exe", + "octez-smart-rollup-client-Proxford" end end diff --git a/Formula/tezos-smart-rollup-client-PtNairob.rb b/Formula/tezos-smart-rollup-client-PtNairob.rb index deaa782e9..43443528e 100644 --- a/Formula/tezos-smart-rollup-client-PtNairob.rb +++ b/Formula/tezos-smart-rollup-client-PtNairob.rb @@ -10,9 +10,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -27,9 +27,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupClientPtnairob.version}/" - sha256 cellar: :any, monterey: "e3ec6b3abef855cc8ea1ed93b2c49bfff65c9b7dd12385c10cdd99182a585458" - sha256 cellar: :any, big_sur: "4ce7ac2c1c03eabb8dce4aa1afa2ea975c5c87d48875e53cfce99c8ee39fa7d3" - sha256 cellar: :any, arm64_big_sur: "3470927ae77f8bcf25715e8f0529fa401d08ef7fb442af588c48011cd6ee7c75" + sha256 cellar: :any, arm64_big_sur: "4f6273c00de3610b68666fbeee659b191011679fca9b84d0a6125f32fd05a027" + sha256 cellar: :any, big_sur: "f4f85a8f3df9e28399deca0076be3c15b474e86df1c74ca2470e263818ada225" + sha256 cellar: :any, monterey: "07ce62ba3d2285e30dec4336a8f5a4ad9a1bc38644982b0826252dfc43140eab" end def make_deps @@ -43,7 +43,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/Formula/tezos-smart-rollup-node-PtMumbai.rb b/Formula/tezos-smart-rollup-node-Proxford.rb similarity index 66% rename from Formula/tezos-smart-rollup-node-PtMumbai.rb rename to Formula/tezos-smart-rollup-node-Proxford.rb index d6de2739b..d2c69000e 100644 --- a/Formula/tezos-smart-rollup-node-PtMumbai.rb +++ b/Formula/tezos-smart-rollup-node-Proxford.rb @@ -3,7 +3,7 @@ # SPDX-FileCopyrightText: 2023 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -class TezosSmartRollupNodePtmumbai < Formula +class TezosSmartRollupNodeProxford < Formula @all_bins = [] class << self @@ -11,9 +11,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -24,13 +24,13 @@ class << self dependencies.each do |dependency| depends_on dependency end - desc "Tezos smart contract rollup node for PtMumbai" + desc "Tezos smart contract rollup node for Proxford" bottle do - root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupNodePtmumbai.version}/" - sha256 cellar: :any, monterey: "1d78ad8bce8ce313e34d4ee52e265fa5f683efe8fcd5c76698ee850ff170b798" - sha256 cellar: :any, big_sur: "2c629ed60b7902dd6adeacf1b46324682d66292f7aaf16909329d2df7bd90f3d" - sha256 cellar: :any, arm64_big_sur: "31df9fb1d365aa14f8025c484050a04185354b28b9456cb4428aa7d9b2a36f43" + root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupNodeProxford.version}/" + sha256 cellar: :any, arm64_big_sur: "6e4cb3b4ede45d13f8d558544316fd2b1e9c4f985e02b05ec8863edc1e390757" + sha256 cellar: :any, big_sur: "420467457b304ffc8056212a0ea0627088adb18053e135a876c4890ae0454f3f" + sha256 cellar: :any, monterey: "bbe5f5dff795a63681b3ce0e5fedc47795010c1d021e4dca3e930a853cab01fb" end def make_deps @@ -44,7 +44,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end @@ -64,7 +64,7 @@ def install set -euo pipefail - node="#{bin}/octez-smart-rollup-node-PtMumbai" + node="#{bin}/octez-smart-rollup-node-Proxford" "$node" init "$ROLLUP_MODE" config \ for "$ROLLUP_ALIAS" \ @@ -74,21 +74,21 @@ def install "$node" --endpoint "$NODE_RPC_SCHEME://$NODE_RPC_ADDR" \ run "$ROLLUP_MODE" for "$ROLLUP_ALIAS" EOS - File.write("tezos-smart-rollup-node-PtMumbai-start", startup_contents) - bin.install "tezos-smart-rollup-node-PtMumbai-start" + File.write("tezos-smart-rollup-node-Proxford-start", startup_contents) + bin.install "tezos-smart-rollup-node-Proxford-start" make_deps - install_template "src/proto_016_PtMumbai/bin_sc_rollup_node/main_sc_rollup_node_016_PtMumbai.exe", - "_build/default/src/proto_016_PtMumbai/bin_sc_rollup_node/main_sc_rollup_node_016_PtMumbai.exe", - "octez-smart-rollup-node-PtMumbai" + install_template "src/proto_018_Proxford/bin_sc_rollup_node/main_sc_rollup_node_018_Proxford.exe", + "_build/default/src/proto_018_Proxford/bin_sc_rollup_node/main_sc_rollup_node_018_Proxford.exe", + "octez-smart-rollup-node-Proxford" end service do - run opt_bin/"tezos-smart-rollup-node-PtMumbai-start" + run opt_bin/"tezos-smart-rollup-node-Proxford-start" require_root true environment_variables TEZOS_CLIENT_DIR: var/"lib/tezos/client", NODE_RPC_ENDPOINT: "http://localhost:8732", ROLLUP_NODE_RPC_ENDPOINT: "127.0.0.1:8472", ROLLUP_MODE: "observer", ROLLUP_ALIAS: "rollup" keep_alive true - log_path var/"log/tezos-smart-rollup-node-PtMumbai.log" - error_log_path var/"log/tezos-smart-rollup-node-PtMumbai.log" + log_path var/"log/tezos-smart-rollup-node-Proxford.log" + error_log_path var/"log/tezos-smart-rollup-node-Proxford.log" end def post_install diff --git a/Formula/tezos-smart-rollup-node-PtNairob.rb b/Formula/tezos-smart-rollup-node-PtNairob.rb index ccae69195..3448e484a 100644 --- a/Formula/tezos-smart-rollup-node-PtNairob.rb +++ b/Formula/tezos-smart-rollup-node-PtNairob.rb @@ -11,9 +11,9 @@ class << self end homepage "https://gitlab.com/tezos/tezos" - url "https://gitlab.com/tezos/tezos.git", :tag => "v17.3", :shallow => false + url "https://gitlab.com/tezos/tezos.git", :tag => "v18.0-rc1", :shallow => false - version "v17.3-1" + version "v18.0-rc1-1" build_dependencies = %w[pkg-config coreutils autoconf rsync wget rustup-init cmake] build_dependencies.each do |dependency| @@ -28,9 +28,9 @@ class << self bottle do root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosSmartRollupNodePtnairob.version}/" - sha256 cellar: :any, monterey: "1a6bf892de65b2ea354da02f3c633033ead8b014efafa9fb475ef4588ba6d32f" - sha256 cellar: :any, big_sur: "dbbe954b7cfee4c010a633cfcb70a1835cf4acfdc521f8196ce45b42b779d519" - sha256 cellar: :any, arm64_big_sur: "33bb3146915095b4d190c1a9f7739dfc4f6b5c077a9f3b6a94a7c946ce916957" + sha256 cellar: :any, arm64_big_sur: "0264f3275f3bcd9725ade8d09bc130a10121f946436c52f43263b8137b7cb49c" + sha256 cellar: :any, big_sur: "0be328c657b19fab2e33b4d61a4cd832407a284fe83248149021c789a7e82fe4" + sha256 cellar: :any, monterey: "c3c148d671540495ee290b7fd0d980ffc8619beb6f3d2b5182d14a89709d11af" end def make_deps @@ -44,7 +44,7 @@ def make_deps system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam" system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam" ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}" - system "rustup-init", "--default-toolchain", "1.60.0", "-y" + system "rustup-init", "--default-toolchain", "1.64.0", "-y" system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing" system ["source .cargo/env", "make build-deps"].join(" && ") end diff --git a/baking/pyproject.toml b/baking/pyproject.toml index f44df87e6..2da8bf8c8 100644 --- a/baking/pyproject.toml +++ b/baking/pyproject.toml @@ -14,7 +14,7 @@ description = "Package that provides systemd services that orchestrate other ser license = { text = "LicenseRef-MIT-OA" } requires-python = ">=3.8" readme = "README.md" -version = "v17.3b" +version = "v18.0-rc1" [tool.setuptools.packages.find] where= ["src"] diff --git a/baking/src/tezos_baking/tezos_setup_wizard.py b/baking/src/tezos_baking/tezos_setup_wizard.py index eda1d1d1b..7a1753c46 100644 --- a/baking/src/tezos_baking/tezos_setup_wizard.py +++ b/baking/src/tezos_baking/tezos_setup_wizard.py @@ -182,7 +182,7 @@ def get_node_version_hash(): id="network", prompt="Which Tezos network would you like to use?\nCurrently supported:", help="The selected network will be used to set up all required services.\n" - "The currently supported protocol is `PtMumbai` (used on `mumbainet`, `ghostnet` and `mainnet`) and `PtNairob` (used on `nairobinet`).\n" + "The currently supported protocol is `PtNairob` (used on `nairobinet`, `ghostnet` and `mainnet`) and Proxford (used on `oxfordnet`).\n" "Keep in mind that you must select the test network (e.g. ghostnet)\n" "if you plan on baking with a faucet JSON file.\n", options=networks, diff --git a/baking/src/tezos_baking/wizard_structure.py b/baking/src/tezos_baking/wizard_structure.py index c7953d506..c2ea5347f 100644 --- a/baking/src/tezos_baking/wizard_structure.py +++ b/baking/src/tezos_baking/wizard_structure.py @@ -303,9 +303,9 @@ def url_is_reachable(url): networks = { "mainnet": "Main Tezos network", - "ghostnet": "Long running test network, currently using the mumbai Tezos protocol", - "mumbainet": "Test network using the mumbai Tezos protocol", - "nairobinet": "Test network using the nairobi Tezos protocol", + "ghostnet": "Long running test network, currently using the Nairobi Tezos protocol", + "nairobinet": "Test network using the Nairobi Tezos protocol", + "oxfordnet": "Test network using the Oxford Tezos protocol", } http_request_headers = {"User-Agent": "Mozilla/5.0"} diff --git a/docker/build/build-rust.sh b/docker/build/build-rust.sh index 5e44cf251..6419060e1 100755 --- a/docker/build/build-rust.sh +++ b/docker/build/build-rust.sh @@ -7,4 +7,4 @@ set -euo pipefail wget https://sh.rustup.rs/rustup-init.sh chmod +x rustup-init.sh -./rustup-init.sh --profile minimal --default-toolchain 1.60.0 -y +./rustup-init.sh --profile minimal --default-toolchain 1.64.0 -y diff --git a/docker/docker-static-build.sh b/docker/docker-static-build.sh index 2957934fc..650eadf99 100755 --- a/docker/docker-static-build.sh +++ b/docker/docker-static-build.sh @@ -8,7 +8,7 @@ set -euo pipefail -binaries=("octez-admin-client" "octez-client" "octez-node" "octez-signer" "octez-codec") +binaries=("octez-admin-client" "octez-dac-client" "octez-dac-node" "octez-client" "octez-node" "octez-signer" "octez-codec") for proto in $(jq -r ".active | .[]" ../protocols.json); do binaries+=("octez-accuser-$proto" "octez-baker-$proto" "octez-smart-rollup-client-$proto" "octez-smart-rollup-node-$proto") diff --git a/docker/package/model.py b/docker/package/model.py index 4e86754c7..4fd7b8c59 100644 --- a/docker/package/model.py +++ b/docker/package/model.py @@ -585,7 +585,7 @@ class TezosBakingServicesPackage(AbstractPackage): # native releases, so we append an extra letter to the version of # the package. # This should be reset to "" whenever the native version is bumped. - letter_version = "b" + letter_version = "" buildfile = "setup.py" diff --git a/docker/package/packages.py b/docker/package/packages.py index ab24eaa42..508573df9 100644 --- a/docker/package/packages.py +++ b/docker/package/packages.py @@ -19,19 +19,19 @@ networks = { "mainnet": "mainnet", "ghostnet": "ghostnet", - "mumbainet": "mumbainet", "nairobinet": "https://teztnets.xyz/nairobinet", + "oxfordnet": "https://teztnets.xyz/oxfordnet", } networks_protos = { - "mainnet": ["PtMumbai", "PtNairob"], - "ghostnet": ["PtMumbai", "PtNairob"], - "mumbainet": ["PtMumbai"], + "mainnet": ["PtNairob"], + "ghostnet": ["PtNairob"], "nairobinet": ["PtNairob"], + "oxfordnet": ["Proxford"], } protocol_numbers = { - "PtMumbai": "016", "PtNairob": "017", + "Proxford": "018", } signer_units = [ @@ -176,6 +176,22 @@ dune_filepath="src/bin_codec/codec.exe", ) }, + { + "tezos-dac-client": TezosBinaryPackage( + "tezos-dac-client", + "A Data Availability Committee Tezos client", + meta=packages_meta, + dune_filepath="src/bin_dac_client/main_dac_client.exe", + ) + }, + { + "tezos-dac-node": TezosBinaryPackage( + "tezos-dac-node", + "A Data Availability Committee Tezos node", + meta=packages_meta, + dune_filepath="src/bin_dac_node/main_dac.exe", + ) + }, ] @@ -540,6 +556,6 @@ def mk_rollup_package(name, proto): ] -packages.extend(mk_rollup_packages("PtMumbai", "PtNairob")) +packages.extend(mk_rollup_packages("PtNairob", "Proxford")) packages = dict(ChainMap(*packages)) diff --git a/docker/package/scripts/build-binary.sh b/docker/package/scripts/build-binary.sh index 1681c144f..bb66264d7 100755 --- a/docker/package/scripts/build-binary.sh +++ b/docker/package/scripts/build-binary.sh @@ -14,18 +14,14 @@ binary_name="$2" cd tezos opam init local ../opam-repository --bare --disable-sandboxing opam switch create . --repositories=local --no-install + eval "$(opam env)" -opams=() -while IFS= read -r -d $'\0'; do - # we exclude optional development packages - if [ "$REPLY" != "./opam/virtual/octez-dev-deps.opam" ]; then - opams+=("$REPLY") - fi -done < <(find ./vendors ./src ./tezt ./opam -name \*.opam -print0) +OPAMASSUMEDEPEXTS=true opam install conf-rust conf-rust-2021 + export CFLAGS="-fPIC ${CFLAGS:-}" -opam install "${opams[@]}" --deps-only --criteria="-notuptodate,-changed,-removed" -eval "$(opam env)" +opam install opam/virtual/octez-deps.opam --deps-only --criteria="-notuptodate,-changed,-removed" +eval "$(opam env)" dune build "$dune_filepath" cp "./_build/default/$dune_filepath" "../$binary_name" cd .. diff --git a/docs/baking.md b/docs/baking.md index cb569da4c..9ffd85e60 100644 --- a/docs/baking.md +++ b/docs/baking.md @@ -30,7 +30,7 @@ that you can use by following the [installation instructions](https://www.raspbe In order to run a baking instance, you'll need the following Tezos binaries: `tezos-client`, `tezos-node`, `tezos-baker-`. -The currently supported protocol is `PtMumbai` (used on `mumbainet`, `ghostnet` and `mainnet`) and `PtNairob` (used on `nairobinet`). +The currently supported protocol is `PtNairob` (used on `nairobinet`, `ghostnet` and `mainnet`) and `Proxford` (used on `oxfordnet`). Also, note that the corresponding packages have protocol suffix in lowercase, e.g. the list of available baker packages can be found [here](https://launchpad.net/~serokell/+archive/ubuntu/tezos/+packages?field.name_filter=tezos-baker&field.status_filter=published). diff --git a/docs/fedora.md b/docs/fedora.md index dddb56a16..581e64e59 100644 --- a/docs/fedora.md +++ b/docs/fedora.md @@ -12,11 +12,11 @@ following commands: # use dnf sudo dnf copr enable @Serokell/Tezos sudo dnf install tezos-client -sudo dnf install tezos-baker-PtMumbai +sudo dnf install tezos-baker-PtNairob # or use yum sudo yum copr enable @Serokell/Tezos -sudo yum install tezos-baker-PtMumbai +sudo yum install tezos-baker-PtNairob ``` Once you install these packages, the commands `tezos-*` and `octez-*` will be available. diff --git a/docs/systemd.md b/docs/systemd.md index c64f520ea..cf8f3d3ef 100644 --- a/docs/systemd.md +++ b/docs/systemd.md @@ -44,7 +44,7 @@ Then you can use the script, specifying the binary name as an argument, e.g.: ``` ./gen_systemd_service_file.py tezos-node # or -./gen_systemd_service_file.py tezos-baker-PtMumbai +./gen_systemd_service_file.py tezos-baker-PtNairob ``` After that you'll have `.service` files in the current directory. @@ -62,8 +62,8 @@ It's possible to run multiple similar services, e.g. two `tezos-node`s that run networks. `tezos-node` packages provide multiple services out of the box: -- `tezos-node-mumbainet` - `tezos-node-nairobinet` +- `tezos-node-oxfordnet` - `tezos-node-ghostnet` - `tezos-node-mainnet` @@ -78,7 +78,7 @@ Also, there are `tezos-node-` binary aliases that are equivalent to running `tezos-node` with [the service options](./configuration.md) given. In addition to node services where the config is predefined to a specific network -(e.g. `tezos-node-mainnet` or `tezos-node-mumbainet`), it's possible to run +(e.g. `tezos-node-mainnet` or `tezos-node-nairobinet`), it's possible to run `tezos-node-custom` service. Another case for running multiple similar systemd services is when one wants to have diff --git a/docs/voting.md b/docs/voting.md index f8c4b2e27..4e48a65ea 100644 --- a/docs/voting.md +++ b/docs/voting.md @@ -52,5 +52,5 @@ tezos-vote --network voting `tezos-vote` also supports voting on currently running testnets, for example: ```bash -tezos-vote --network mumbainet +tezos-vote --network nairobinet ``` diff --git a/flake.lock b/flake.lock index 94f536fe3..9c69b961c 100644 --- a/flake.lock +++ b/flake.lock @@ -1,13 +1,192 @@ { "nodes": { + "HTTP": { + "flake": false, + "locked": { + "lastModified": 1451647621, + "narHash": "sha256-oHIyw3x0iKBexEo49YeUDV1k74ZtyYKGR2gNJXXRxts=", + "owner": "phadej", + "repo": "HTTP", + "rev": "9bc0996d412fef1787449d841277ef663ad9a915", + "type": "github" + }, + "original": { + "owner": "phadej", + "repo": "HTTP", + "type": "github" + } + }, + "blank": { + "locked": { + "lastModified": 1625557891, + "narHash": "sha256-O8/MWsPBGhhyPoPLHZAuoZiiHo9q6FLlEeIDEXuj6T4=", + "owner": "divnix", + "repo": "blank", + "rev": "5a5d2684073d9f563072ed07c871d577a6c614a8", + "type": "github" + }, + "original": { + "owner": "divnix", + "repo": "blank", + "type": "github" + } + }, + "cabal-32": { + "flake": false, + "locked": { + "lastModified": 1603716527, + "narHash": "sha256-X0TFfdD4KZpwl0Zr6x+PLxUt/VyKQfX7ylXHdmZIL+w=", + "owner": "haskell", + "repo": "cabal", + "rev": "48bf10787e27364730dd37a42b603cee8d6af7ee", + "type": "github" + }, + "original": { + "owner": "haskell", + "ref": "3.2", + "repo": "cabal", + "type": "github" + } + }, + "cabal-34": { + "flake": false, + "locked": { + "lastModified": 1645834128, + "narHash": "sha256-wG3d+dOt14z8+ydz4SL7pwGfe7SiimxcD/LOuPCV6xM=", + "owner": "haskell", + "repo": "cabal", + "rev": "5ff598c67f53f7c4f48e31d722ba37172230c462", + "type": "github" + }, + "original": { + "owner": "haskell", + "ref": "3.4", + "repo": "cabal", + "type": "github" + } + }, + "cabal-36": { + "flake": false, + "locked": { + "lastModified": 1669081697, + "narHash": "sha256-I5or+V7LZvMxfbYgZATU4awzkicBwwok4mVoje+sGmU=", + "owner": "haskell", + "repo": "cabal", + "rev": "8fd619e33d34924a94e691c5fea2c42f0fc7f144", + "type": "github" + }, + "original": { + "owner": "haskell", + "ref": "3.6", + "repo": "cabal", + "type": "github" + } + }, + "cardano-shell": { + "flake": false, + "locked": { + "lastModified": 1608537748, + "narHash": "sha256-PulY1GfiMgKVnBci3ex4ptk2UNYMXqGjJOxcPy2KYT4=", + "owner": "input-output-hk", + "repo": "cardano-shell", + "rev": "9392c75087cb9a3d453998f4230930dea3a95725", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "cardano-shell", + "type": "github" + } + }, + "deploy-rs": { + "inputs": { + "flake-compat": "flake-compat_3", + "nixpkgs": "nixpkgs_4", + "utils": "utils" + }, + "locked": { + "lastModified": 1648475189, + "narHash": "sha256-gAGAS6IagwoUr1B0ohE3iR6sZ8hP4LSqzYLC8Mq3WGU=", + "owner": "serokell", + "repo": "deploy-rs", + "rev": "83e0c78291cd08cb827ba0d553ad9158ae5a95c3", + "type": "github" + }, + "original": { + "id": "deploy-rs", + "type": "indirect" + } + }, + "devshell": { + "inputs": { + "flake-utils": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "flake-utils" + ], + "nixpkgs": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1663445644, + "narHash": "sha256-+xVlcK60x7VY1vRJbNUEAHi17ZuoQxAIH4S4iUFUGBA=", + "owner": "numtide", + "repo": "devshell", + "rev": "e3dc3e21594fe07bdb24bdf1c8657acaa4cb8f66", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "devshell", + "type": "github" + } + }, + "dmerge": { + "inputs": { + "nixlib": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "nixpkgs" + ], + "yants": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "yants" + ] + }, + "locked": { + "lastModified": 1659548052, + "narHash": "sha256-fzI2gp1skGA8mQo/FBFrUAtY0GQkAIAaV/V127TJPyY=", + "owner": "divnix", + "repo": "data-merge", + "rev": "d160d18ce7b1a45b88344aa3f13ed1163954b497", + "type": "github" + }, + "original": { + "owner": "divnix", + "repo": "data-merge", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { - "lastModified": 1650374568, - "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", "owner": "edolstra", "repo": "flake-compat", - "rev": "b4a34015c698c7793d592d66adbab377907a2be8", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", "type": "github" }, "original": { @@ -32,6 +211,54 @@ } }, "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1648199409, + "narHash": "sha256-JwPKdC2PoVBkG6E+eWw3j6BMR6sL3COpYWfif7RVb8Y=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "64a525ee38886ab9028e6f61790de0832aa3ef03", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { + "flake": false, + "locked": { + "lastModified": 1627913399, + "narHash": "sha256-hY8g6H2KFL8ownSiFeMOjwPC8P0ueXpCVEbxgda3pko=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "12c64ca55c1014cdc1b16ed5a804aa8576601ff2", + "type": "github" + }, + "original": { + "id": "flake-compat", + "type": "indirect" + } + }, + "flake-compat_5": { + "flake": false, + "locked": { + "lastModified": 1672831974, + "narHash": "sha256-z9k3MfslLjWQfnjBtEtJZdq3H7kyi2kQtUThfTgdRk0=", + "owner": "input-output-hk", + "repo": "flake-compat", + "rev": "45f2638735f8cdc40fe302742b79f248d23eb368", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "ref": "hkm/gitlab-fix", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_6": { "flake": false, "locked": { "lastModified": 1650374568, @@ -48,12 +275,15 @@ } }, "flake-utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1656928814, - "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=", + "lastModified": 1689068808, + "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", "owner": "numtide", "repo": "flake-utils", - "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249", + "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", "type": "github" }, "original": { @@ -78,11 +308,25 @@ }, "flake-utils_3": { "locked": { - "lastModified": 1656928814, - "narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=", + "lastModified": 1631561581, + "narHash": "sha256-3VQMV5zvxaVLvqqUrNz3iJelLw30mIVSfZmAaauM3dA=", "owner": "numtide", "repo": "flake-utils", - "rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249", + "rev": "7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19", + "type": "github" + }, + "original": { + "id": "flake-utils", + "type": "indirect" + } + }, + "flake-utils_4": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "type": "github" }, "original": { @@ -91,122 +335,585 @@ "type": "github" } }, + "flake-utils_5": { + "locked": { + "lastModified": 1653893745, + "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_6": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "get-tested-src": { + "flake": false, + "locked": { + "lastModified": 1687355864, + "narHash": "sha256-yQ4coxfnp2Jsw1kvwf2/Zn72Kltze2WrfHN54eLR070=", + "owner": "Sereja313", + "repo": "get-tested", + "rev": "455bbd047374ed907900b49641a4ea7f0a905709", + "type": "github" + }, + "original": { + "owner": "Sereja313", + "ref": "issue-8-emit-ghc-versions", + "repo": "get-tested", + "type": "github" + } + }, + "ghc-8.6.5-iohk": { + "flake": false, + "locked": { + "lastModified": 1600920045, + "narHash": "sha256-DO6kxJz248djebZLpSzTGD6s8WRpNI9BTwUeOf5RwY8=", + "owner": "input-output-hk", + "repo": "ghc", + "rev": "95713a6ecce4551240da7c96b6176f980af75cae", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "ref": "release/8.6.5-iohk", + "repo": "ghc", + "type": "github" + } + }, "gitignore-nix": { "flake": false, "locked": { - "lastModified": 1611672876, - "narHash": "sha256-qHu3uZ/o9jBHiA3MEKHJ06k7w4heOhA+4HCSIvflRxo=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "211907489e9f198594c0eb0ca9256a1949c9d412", + "lastModified": 1611672876, + "narHash": "sha256-qHu3uZ/o9jBHiA3MEKHJ06k7w4heOhA+4HCSIvflRxo=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "211907489e9f198594c0eb0ca9256a1949c9d412", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gomod2nix": { + "inputs": { + "nixpkgs": "nixpkgs_6", + "utils": "utils_2" + }, + "locked": { + "lastModified": 1655245309, + "narHash": "sha256-d/YPoQ/vFn1+GTmSdvbSBSTOai61FONxB4+Lt6w/IVI=", + "owner": "tweag", + "repo": "gomod2nix", + "rev": "40d32f82fc60d66402eb0972e6e368aeab3faf58", + "type": "github" + }, + "original": { + "owner": "tweag", + "repo": "gomod2nix", + "type": "github" + } + }, + "hackage": { + "flake": false, + "locked": { + "lastModified": 1678926579, + "narHash": "sha256-5t1QRBTsEM2wREtDf3xrHp9Kphs+AdQZKAEltaylIJQ=", + "owner": "input-output-hk", + "repo": "hackage.nix", + "rev": "fb58b0ba5773c5f0211f284b0fae061426cf8267", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "hackage.nix", + "type": "github" + } + }, + "haskell-nix": { + "inputs": { + "HTTP": "HTTP", + "cabal-32": "cabal-32", + "cabal-34": "cabal-34", + "cabal-36": "cabal-36", + "cardano-shell": "cardano-shell", + "flake-compat": "flake-compat_5", + "flake-utils": "flake-utils_4", + "ghc-8.6.5-iohk": "ghc-8.6.5-iohk", + "hackage": "hackage", + "hpc-coveralls": "hpc-coveralls", + "hydra": "hydra", + "iserv-proxy": "iserv-proxy", + "nixpkgs": [ + "serokell-nix", + "haskell-nix", + "nixpkgs-unstable" + ], + "nixpkgs-2003": "nixpkgs-2003", + "nixpkgs-2105": "nixpkgs-2105", + "nixpkgs-2111": "nixpkgs-2111", + "nixpkgs-2205": "nixpkgs-2205", + "nixpkgs-2211": "nixpkgs-2211", + "nixpkgs-unstable": "nixpkgs-unstable_2", + "old-ghc-nix": "old-ghc-nix", + "stackage": "stackage", + "tullia": "tullia" + }, + "locked": { + "lastModified": 1678950661, + "narHash": "sha256-lvL54W90BTvwLVnFjPYmFVmgHyaGcFrt5FBy1F0rro8=", + "owner": "input-output-hk", + "repo": "haskell.nix", + "rev": "fce554bc6a41d12f7a18a0e8290bf43f925d7a29", + "type": "github" + }, + "original": { + "id": "haskell-nix", + "type": "indirect" + } + }, + "hpc-coveralls": { + "flake": false, + "locked": { + "lastModified": 1607498076, + "narHash": "sha256-8uqsEtivphgZWYeUo5RDUhp6bO9j2vaaProQxHBltQk=", + "owner": "sevanspowell", + "repo": "hpc-coveralls", + "rev": "14df0f7d229f4cd2e79f8eabb1a740097fdfa430", + "type": "github" + }, + "original": { + "owner": "sevanspowell", + "repo": "hpc-coveralls", + "type": "github" + } + }, + "hydra": { + "inputs": { + "nix": "nix_2", + "nixpkgs": [ + "serokell-nix", + "haskell-nix", + "hydra", + "nix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1671755331, + "narHash": "sha256-hXsgJj0Cy0ZiCiYdW2OdBz5WmFyOMKuw4zyxKpgUKm4=", + "owner": "NixOS", + "repo": "hydra", + "rev": "f48f00ee6d5727ae3e488cbf9ce157460853fea8", + "type": "github" + }, + "original": { + "id": "hydra", + "type": "indirect" + } + }, + "incl": { + "inputs": { + "nixlib": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1669263024, + "narHash": "sha256-E/+23NKtxAqYG/0ydYgxlgarKnxmDbg6rCMWnOBqn9Q=", + "owner": "divnix", + "repo": "incl", + "rev": "ce7bebaee048e4cd7ebdb4cee7885e00c4e2abca", + "type": "github" + }, + "original": { + "owner": "divnix", + "repo": "incl", + "type": "github" + } + }, + "iserv-proxy": { + "flake": false, + "locked": { + "lastModified": 1670983692, + "narHash": "sha256-avLo34JnI9HNyOuauK5R69usJm+GfW3MlyGlYxZhTgY=", + "ref": "hkm/remote-iserv", + "rev": "50d0abb3317ac439a4e7495b185a64af9b7b9300", + "revCount": 10, + "type": "git", + "url": "https://gitlab.haskell.org/hamishmack/iserv-proxy.git" + }, + "original": { + "ref": "hkm/remote-iserv", + "type": "git", + "url": "https://gitlab.haskell.org/hamishmack/iserv-proxy.git" + } + }, + "lowdown-src": { + "flake": false, + "locked": { + "lastModified": 1633514407, + "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", + "owner": "kristapsdz", + "repo": "lowdown", + "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", + "type": "github" + }, + "original": { + "owner": "kristapsdz", + "repo": "lowdown", + "type": "github" + } + }, + "lowdown-src_2": { + "flake": false, + "locked": { + "lastModified": 1633514407, + "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", + "owner": "kristapsdz", + "repo": "lowdown", + "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", + "type": "github" + }, + "original": { + "owner": "kristapsdz", + "repo": "lowdown", + "type": "github" + } + }, + "lowdown-src_3": { + "flake": false, + "locked": { + "lastModified": 1632468475, + "narHash": "sha256-NNOm9CbdA8cuwbvaBHslGbPTiU6bh1Ao+MpEPx4rSGo=", + "owner": "kristapsdz", + "repo": "lowdown", + "rev": "6bd668af3fd098bdd07a1bedd399564141e275da", + "type": "github" + }, + "original": { + "owner": "kristapsdz", + "repo": "lowdown", + "type": "github" + } + }, + "mirage-opam-overlays": { + "flake": false, + "locked": { + "lastModified": 1661959605, + "narHash": "sha256-CPTuhYML3F4J58flfp3ZbMNhkRkVFKmBEYBZY5tnQwA=", + "owner": "dune-universe", + "repo": "mirage-opam-overlays", + "rev": "05f1c1823d891ce4d8adab91f5db3ac51d86dc0b", + "type": "github" + }, + "original": { + "owner": "dune-universe", + "repo": "mirage-opam-overlays", + "type": "github" + } + }, + "n2c": { + "inputs": { + "flake-utils": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "flake-utils" + ], + "nixpkgs": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1665039323, + "narHash": "sha256-SAh3ZjFGsaCI8FRzXQyp56qcGdAqgKEfJWPCQ0Sr7tQ=", + "owner": "nlewo", + "repo": "nix2container", + "rev": "b008fe329ffb59b67bf9e7b08ede6ee792f2741a", + "type": "github" + }, + "original": { + "owner": "nlewo", + "repo": "nix2container", + "type": "github" + } + }, + "nix": { + "inputs": { + "lowdown-src": "lowdown-src", + "nixpkgs": "nixpkgs", + "nixpkgs-regression": "nixpkgs-regression" + }, + "locked": { + "lastModified": 1657815848, + "narHash": "sha256-O0zNDRux3Yyplp5MkJ+A+wLzMUWnhbc/l8EnaHskQAI=", + "owner": "nixos", + "repo": "nix", + "rev": "ca4d5bee09df0393dd525b3cd5159a23d4683f2e", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nix", + "type": "github" + } + }, + "nix-nomad": { + "inputs": { + "flake-compat": "flake-compat_6", + "flake-utils": [ + "serokell-nix", + "haskell-nix", + "tullia", + "nix2container", + "flake-utils" + ], + "gomod2nix": "gomod2nix", + "nixpkgs": [ + "serokell-nix", + "haskell-nix", + "tullia", + "nixpkgs" + ], + "nixpkgs-lib": [ + "serokell-nix", + "haskell-nix", + "tullia", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1658277770, + "narHash": "sha256-T/PgG3wUn8Z2rnzfxf2VqlR1CBjInPE0l1yVzXxPnt0=", + "owner": "tristanpemble", + "repo": "nix-nomad", + "rev": "054adcbdd0a836ae1c20951b67ed549131fd2d70", + "type": "github" + }, + "original": { + "owner": "tristanpemble", + "repo": "nix-nomad", + "type": "github" + } + }, + "nix2container": { + "inputs": { + "flake-utils": "flake-utils_5", + "nixpkgs": "nixpkgs_7" + }, + "locked": { + "lastModified": 1658567952, + "narHash": "sha256-XZ4ETYAMU7XcpEeAFP3NOl9yDXNuZAen/aIJ84G+VgA=", + "owner": "nlewo", + "repo": "nix2container", + "rev": "60bb43d405991c1378baf15a40b5811a53e32ffa", + "type": "github" + }, + "original": { + "owner": "nlewo", + "repo": "nix2container", + "type": "github" + } + }, + "nix_2": { + "inputs": { + "lowdown-src": "lowdown-src_2", + "nixpkgs": "nixpkgs_5", + "nixpkgs-regression": "nixpkgs-regression_2" + }, + "locked": { + "lastModified": 1661606874, + "narHash": "sha256-9+rpYzI+SmxJn+EbYxjGv68Ucp22bdFUSy/4LkHkkDQ=", + "owner": "NixOS", + "repo": "nix", + "rev": "11e45768b34fdafdcf019ddbd337afa16127ff0f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "2.11.0", + "repo": "nix", + "type": "github" + } + }, + "nix_3": { + "inputs": { + "lowdown-src": "lowdown-src_3", + "nixpkgs": "nixpkgs_9" + }, + "locked": { + "lastModified": 1633098935, + "narHash": "sha256-UtuBczommNLwUNEnfRI7822z4vPA7OoRKsgAZ8zsHQI=", + "owner": "nixos", + "repo": "nix", + "rev": "4f496150eb4e0012914c11f0a3ff4df2412b1d09", + "type": "github" + }, + "original": { + "id": "nix", + "type": "indirect" + } + }, + "nixago": { + "inputs": { + "flake-utils": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "flake-utils" + ], + "nixago-exts": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "blank" + ], + "nixpkgs": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1661824785, + "narHash": "sha256-/PnwdWoO/JugJZHtDUioQp3uRiWeXHUdgvoyNbXesz8=", + "owner": "nix-community", + "repo": "nixago", + "rev": "8c1f9e5f1578d4b2ea989f618588d62a335083c3", "type": "github" }, "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", + "owner": "nix-community", + "repo": "nixago", "type": "github" } }, - "lowdown-src": { - "flake": false, + "nixpkgs": { "locked": { - "lastModified": 1633514407, - "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", - "owner": "kristapsdz", - "repo": "lowdown", - "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", + "lastModified": 1653988320, + "narHash": "sha256-ZaqFFsSDipZ6KVqriwM34T739+KLYJvNmCWzErjAg7c=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "2fa57ed190fd6c7c746319444f34b5917666e5c1", "type": "github" }, "original": { - "owner": "kristapsdz", - "repo": "lowdown", + "owner": "NixOS", + "ref": "nixos-22.05-small", + "repo": "nixpkgs", "type": "github" } }, - "lowdown-src_2": { - "flake": false, + "nixpkgs-2003": { "locked": { - "lastModified": 1633514407, - "narHash": "sha256-Dw32tiMjdK9t3ETl5fzGrutQTzh2rufgZV4A/BbxuD4=", - "owner": "kristapsdz", - "repo": "lowdown", - "rev": "d2c2b44ff6c27b936ec27358a2653caaef8f73b8", + "lastModified": 1620055814, + "narHash": "sha256-8LEHoYSJiL901bTMVatq+rf8y7QtWuZhwwpKE2fyaRY=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "1db42b7fe3878f3f5f7a4f2dc210772fd080e205", "type": "github" }, "original": { - "owner": "kristapsdz", - "repo": "lowdown", + "owner": "NixOS", + "ref": "nixpkgs-20.03-darwin", + "repo": "nixpkgs", "type": "github" } }, - "mirage-opam-overlays": { - "flake": false, + "nixpkgs-2105": { "locked": { - "lastModified": 1661959605, - "narHash": "sha256-CPTuhYML3F4J58flfp3ZbMNhkRkVFKmBEYBZY5tnQwA=", - "owner": "dune-universe", - "repo": "mirage-opam-overlays", - "rev": "05f1c1823d891ce4d8adab91f5db3ac51d86dc0b", + "lastModified": 1659914493, + "narHash": "sha256-lkA5X3VNMKirvA+SUzvEhfA7XquWLci+CGi505YFAIs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "022caabb5f2265ad4006c1fa5b1ebe69fb0c3faf", "type": "github" }, "original": { - "owner": "dune-universe", - "repo": "mirage-opam-overlays", + "owner": "NixOS", + "ref": "nixpkgs-21.05-darwin", + "repo": "nixpkgs", "type": "github" } }, - "nix": { - "inputs": { - "lowdown-src": "lowdown-src", - "nixpkgs": "nixpkgs", - "nixpkgs-regression": "nixpkgs-regression" - }, + "nixpkgs-2111": { "locked": { - "lastModified": 1657815848, - "narHash": "sha256-O0zNDRux3Yyplp5MkJ+A+wLzMUWnhbc/l8EnaHskQAI=", - "owner": "nixos", - "repo": "nix", - "rev": "ca4d5bee09df0393dd525b3cd5159a23d4683f2e", + "lastModified": 1659446231, + "narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "eabc38219184cc3e04a974fe31857d8e0eac098d", "type": "github" }, "original": { - "owner": "nixos", - "repo": "nix", + "owner": "NixOS", + "ref": "nixpkgs-21.11-darwin", + "repo": "nixpkgs", "type": "github" } }, - "nix-unstable": { - "inputs": { - "lowdown-src": "lowdown-src_2", - "nixpkgs": "nixpkgs_4", - "nixpkgs-regression": "nixpkgs-regression_2" - }, + "nixpkgs-2205": { "locked": { - "lastModified": 1657815848, - "narHash": "sha256-O0zNDRux3Yyplp5MkJ+A+wLzMUWnhbc/l8EnaHskQAI=", - "owner": "nixos", - "repo": "nix", - "rev": "ca4d5bee09df0393dd525b3cd5159a23d4683f2e", + "lastModified": 1672580127, + "narHash": "sha256-3lW3xZslREhJogoOkjeZtlBtvFMyxHku7I/9IVehhT8=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0874168639713f547c05947c76124f78441ea46c", "type": "github" }, "original": { - "owner": "nixos", - "repo": "nix", + "owner": "NixOS", + "ref": "nixpkgs-22.05-darwin", + "repo": "nixpkgs", "type": "github" } }, - "nixpkgs": { + "nixpkgs-2211": { "locked": { - "lastModified": 1653988320, - "narHash": "sha256-ZaqFFsSDipZ6KVqriwM34T739+KLYJvNmCWzErjAg7c=", + "lastModified": 1675730325, + "narHash": "sha256-uNvD7fzO5hNlltNQUAFBPlcEjNG5Gkbhl/ROiX+GZU4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2fa57ed190fd6c7c746319444f34b5917666e5c1", + "rev": "b7ce17b1ebf600a72178f6302c77b6382d09323f", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-22.05-small", + "ref": "nixpkgs-22.11-darwin", "repo": "nixpkgs", "type": "github" } @@ -259,6 +966,36 @@ "type": "github" } }, + "nixpkgs-unstable_2": { + "locked": { + "lastModified": 1675758091, + "narHash": "sha256-7gFSQbSVAFUHtGCNHPF7mPc5CcqDk9M2+inlVPZSneg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "747927516efcb5e31ba03b7ff32f61f6d47e7d87", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_10": { + "locked": { + "lastModified": 1674736538, + "narHash": "sha256-/DszFMkAgYyB9dTWKkoZa9i0zcrA6Z4hYrOr/u/FSxY=", + "owner": "serokell", + "repo": "nixpkgs", + "rev": "1dfdbb65d77430fc0935e8592d0abc4addcce711", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1674736538, @@ -276,11 +1013,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1657802959, - "narHash": "sha256-9+JWARSdlL8KiH3ymnKDXltE1vM+/WEJ78F5B1kjXys=", + "lastModified": 1682362401, + "narHash": "sha256-/UMUHtF2CyYNl4b60Z2y4wwTTdIWGKhj9H301EDcT9M=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4a01ca36d6bfc133bc617e661916a81327c9bbc8", + "rev": "884ac294018409e0d1adc0cae185439a44bd6b0b", "type": "github" }, "original": { @@ -292,35 +1029,130 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1653988320, - "narHash": "sha256-ZaqFFsSDipZ6KVqriwM34T739+KLYJvNmCWzErjAg7c=", + "lastModified": 1648219316, + "narHash": "sha256-Ctij+dOi0ZZIfX5eMhgwugfvB+WZSrvVNAyAuANOsnQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2fa57ed190fd6c7c746319444f34b5917666e5c1", + "rev": "30d3d79b7d3607d56546dd2a6b49e156ba0ec634", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-22.05-small", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } }, "nixpkgs_5": { "locked": { - "lastModified": 1655108282, - "narHash": "sha256-snIu1rBgc+IwoG+mjvp2Thq9C5L+RYvV/DEdfYVzp2s=", - "owner": "serokell", + "lastModified": 1657693803, + "narHash": "sha256-G++2CJ9u0E7NNTAi9n5G8TdDmGJXcIjkJ3NF8cetQB8=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "7887e272ab2ad8376d54ca5f58df0ed7f67676e6", + "rev": "365e1b3a859281cf11b94f87231adeabbdd878a2", "type": "github" }, "original": { - "owner": "serokell", + "owner": "NixOS", + "ref": "nixos-22.05-small", "repo": "nixpkgs", "type": "github" } }, + "nixpkgs_6": { + "locked": { + "lastModified": 1653581809, + "narHash": "sha256-Uvka0V5MTGbeOfWte25+tfRL3moECDh1VwokWSZUdoY=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "83658b28fe638a170a19b8933aa008b30640fbd1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { + "locked": { + "lastModified": 1654807842, + "narHash": "sha256-ADymZpr6LuTEBXcy6RtFHcUZdjKTBRTMYwu19WOx17E=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "fc909087cc3386955f21b4665731dbdaceefb1d8", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_8": { + "locked": { + "lastModified": 1665087388, + "narHash": "sha256-FZFPuW9NWHJteATOf79rZfwfRn5fE0wi9kRzvGfDHPA=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "95fda953f6db2e9496d2682c4fc7b82f959878f7", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_9": { + "locked": { + "lastModified": 1632864508, + "narHash": "sha256-d127FIvGR41XbVRDPVvozUPQ/uRHbHwvfyKHwEt5xFM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "82891b5e2c2359d7e58d08849e4c89511ab94234", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-21.05-small", + "type": "indirect" + } + }, + "nosys": { + "locked": { + "lastModified": 1667881534, + "narHash": "sha256-FhwJ15uPLRsvaxtt/bNuqE/ykMpNAPF0upozFKhTtXM=", + "owner": "divnix", + "repo": "nosys", + "rev": "2d0d5207f6a230e9d0f660903f8db9807b54814f", + "type": "github" + }, + "original": { + "owner": "divnix", + "repo": "nosys", + "type": "github" + } + }, + "old-ghc-nix": { + "flake": false, + "locked": { + "lastModified": 1631092763, + "narHash": "sha256-sIKgO+z7tj4lw3u6oBZxqIhDrzSkvpHtv0Kki+lh9Fg=", + "owner": "angerman", + "repo": "old-ghc-nix", + "rev": "af48a7a7353e418119b6dfe3cd1463a657f342b8", + "type": "github" + }, + "original": { + "owner": "angerman", + "ref": "master", + "repo": "old-ghc-nix", + "type": "github" + } + }, "opam-nix": { "inputs": { "flake-compat": "flake-compat_2", @@ -332,11 +1164,11 @@ "opam2json": "opam2json" }, "locked": { - "lastModified": 1670004517, - "narHash": "sha256-7SffiN2S9pVfOoBCcEdY/iJe28p/eiRqVLXG7/8Jb3I=", + "lastModified": 1692284409, + "narHash": "sha256-Cql9CKy/k+LmSab3Rd2ZkuoEpmWVDb5oRhE/UHM4fT8=", "owner": "tweag", "repo": "opam-nix", - "rev": "b12b7fcd6f9ea0a8a939c05c68a95525f0d80af6", + "rev": "e83bd1d949c5e330a49f89d394b51b744248e3ca", "type": "github" }, "original": { @@ -364,11 +1196,11 @@ "opam-repository": { "flake": false, "locked": { - "lastModified": 1661161626, - "narHash": "sha256-J3P+mXLwE2oEKTlMnx8sYRxwD/uNGSKM0AkAB7BNTxA=", + "lastModified": 1682021363, + "narHash": "sha256-nDUDFwyOTZDALeqqEDnF2PTPIHT4sVYdQXUbRt03oNs=", "owner": "ocaml", "repo": "opam-repository", - "rev": "54e69ff0949a3aaec0d5e3d67898bb7f279ab09f", + "rev": "786c55fa77c37f07eceea7d6a9bec04d2225e302", "type": "github" }, "original": { @@ -380,11 +1212,11 @@ "opam-repository_2": { "flake": false, "locked": { - "lastModified": 1686322648, - "narHash": "sha256-aH90yIb0oy2ssL+rBGHbu7GlNrJPH1aSV5ih4FUSpn8=", + "lastModified": 1690375350, + "narHash": "sha256-blbuXgC68vvccQGs2LQv6TBITXbYOobWf/d4CU3rrnc=", "owner": "tezos", "repo": "opam-repository", - "rev": "cf7920c4fe635f92bc703fe7ae6fd38c9b4ba8a3", + "rev": "14e619168449e86a5a8ff4029ab57174464e18bd", "type": "gitlab" }, "original": { @@ -401,11 +1233,11 @@ ] }, "locked": { - "lastModified": 1665671715, - "narHash": "sha256-7f75C6fIkiLzfkwLpJxlQIKf+YORGsXGV8Dr2LDDi+A=", + "lastModified": 1671540003, + "narHash": "sha256-5pXfbUfpVABtKbii6aaI2EdAZTjHJ2QntEf0QD2O5AM=", "owner": "tweag", "repo": "opam2json", - "rev": "32fa2dcd993a27f9e75ee46fb8b78a7cd5d05113", + "rev": "819d291ea95e271b0e6027679de6abb4d4f7f680", "type": "github" }, "original": { @@ -429,18 +1261,21 @@ }, "serokell-nix": { "inputs": { - "flake-compat": "flake-compat_3", + "deploy-rs": "deploy-rs", + "flake-compat": "flake-compat_4", "flake-utils": "flake-utils_3", + "get-tested-src": "get-tested-src", "gitignore-nix": "gitignore-nix", - "nix-unstable": "nix-unstable", - "nixpkgs": "nixpkgs_5" + "haskell-nix": "haskell-nix", + "nix": "nix_3", + "nixpkgs": "nixpkgs_10" }, "locked": { - "lastModified": 1629443741, - "narHash": "sha256-7bZGo9qXYxYD2FMZWlWoQbp3/NNG1YSHLEjEOHI4YRM=", + "lastModified": 1691752608, + "narHash": "sha256-5rACo9LXUgvkp7MLqMVV7FOQSLsFoyqAXLwFvJ0BG/g=", "owner": "serokell", "repo": "serokell.nix", - "rev": "46d762e5107d10ad409295a7f668939c21cc048d", + "rev": "54e230e895e44049d45cca16433ddc9fa5ab6c6a", "type": "github" }, "original": { @@ -448,14 +1283,93 @@ "type": "indirect" } }, + "stackage": { + "flake": false, + "locked": { + "lastModified": 1678925630, + "narHash": "sha256-rl8qnpAUJl4tRZpaZ5DpgSueNfreArW09t4zTnOaoYA=", + "owner": "input-output-hk", + "repo": "stackage.nix", + "rev": "bf29b23fb77017e78c6e7b199b2c7bfb5079c4cd", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "stackage.nix", + "type": "github" + } + }, + "std": { + "inputs": { + "arion": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "blank" + ], + "blank": "blank", + "devshell": "devshell", + "dmerge": "dmerge", + "flake-utils": "flake-utils_6", + "incl": "incl", + "makes": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "blank" + ], + "microvm": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "blank" + ], + "n2c": "n2c", + "nixago": "nixago", + "nixpkgs": "nixpkgs_8", + "nosys": "nosys", + "yants": "yants" + }, + "locked": { + "lastModified": 1674526466, + "narHash": "sha256-tMTaS0bqLx6VJ+K+ZT6xqsXNpzvSXJTmogkraBGzymg=", + "owner": "divnix", + "repo": "std", + "rev": "516387e3d8d059b50e742a2ff1909ed3c8f82826", + "type": "github" + }, + "original": { + "owner": "divnix", + "repo": "std", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "tezos": { "flake": false, "locked": { - "lastModified": 1692263564, - "narHash": "sha256-CYL3SlwsXhUbNfu5hQdWNGgNCgxnAnsAV4oQQ3iSZ94=", + "lastModified": 1692197267, + "narHash": "sha256-DFan2Z2OVwxxK7s2TT+2GI6zy9/NWhVa13D89JjscZg=", "owner": "tezos", "repo": "tezos", - "rev": "b2bc6d7f56171a259bd08732f008e7ffa1c9a120", + "rev": "f59e1b0eaa26e97a23824dc4fbd4af2bd8fcf8af", "type": "gitlab" }, "original": { @@ -463,6 +1377,85 @@ "repo": "tezos", "type": "gitlab" } + }, + "tullia": { + "inputs": { + "nix-nomad": "nix-nomad", + "nix2container": "nix2container", + "nixpkgs": [ + "serokell-nix", + "haskell-nix", + "nixpkgs" + ], + "std": "std" + }, + "locked": { + "lastModified": 1675695930, + "narHash": "sha256-B7rEZ/DBUMlK1AcJ9ajnAPPxqXY6zW2SBX+51bZV0Ac=", + "owner": "input-output-hk", + "repo": "tullia", + "rev": "621365f2c725608f381b3ad5b57afef389fd4c31", + "type": "github" + }, + "original": { + "owner": "input-output-hk", + "repo": "tullia", + "type": "github" + } + }, + "utils": { + "locked": { + "lastModified": 1648297722, + "narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "utils_2": { + "locked": { + "lastModified": 1653893745, + "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "yants": { + "inputs": { + "nixpkgs": [ + "serokell-nix", + "haskell-nix", + "tullia", + "std", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1667096281, + "narHash": "sha256-wRRec6ze0gJHmGn6m57/zhz/Kdvp9HS4Nl5fkQ+uIuA=", + "owner": "divnix", + "repo": "yants", + "rev": "d18f356ec25cb94dc9c275870c3a7927a10f8c3c", + "type": "github" + }, + "original": { + "owner": "divnix", + "repo": "yants", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index d4f995f11..71c900e8a 100644 --- a/flake.nix +++ b/flake.nix @@ -35,7 +35,7 @@ path = inputs.tezos; name = "tezos"; # we exclude optional development packages - filter = path: _: baseNameOf path != "octez-dev-deps.opam"; + filter = path: _: !(builtins.elem (baseNameOf path) [ "octez-dev-deps.opam" "tezos-time-measurement.opam" ]); }; sources = { inherit tezos; inherit (inputs) opam-repository; }; diff --git a/meta.json b/meta.json index 422e46196..b79b0d8f0 100644 --- a/meta.json +++ b/meta.json @@ -1,5 +1,5 @@ { - "release": "3", + "release": "1", "maintainer": "Serokell ", - "tezos_ref": "v17.3" + "tezos_ref": "v18.0-rc1" } diff --git a/nix/build/hacks.nix b/nix/build/hacks.nix index 9ada8b657..43434eaf9 100644 --- a/nix/build/hacks.nix +++ b/nix/build/hacks.nix @@ -3,19 +3,20 @@ # This file needs to become empty. self: super: rec { - octez-protocol-compiler = super.octez-protocol-compiler.overrideAttrs (_: { - postFixup = '' - ln -s $OCAMLFIND_DESTDIR/octez-protocol-compiler/* $OCAMLFIND_DESTDIR - ''; - }); - # For some reason octez-protocol-compiler wants some docs to be present in tezos-protocol-environment - tezos-protocol-environment = super.tezos-protocol-environment.overrideAttrs (o: { + # For some reason octez-protocol-compiler wants some docs to be present in octez-libs + octez-libs = super.octez-libs.overrideAttrs (o: { postFixup = '' DUMMY_DOCS_DIR="$OCAMLFIND_DESTDIR/../doc/${o.pname}" mkdir -p "$DUMMY_DOCS_DIR" for doc in "README.md" "CHANGES.rst" "LICENSE"; do touch "$DUMMY_DOCS_DIR/$doc" done + + DUMMY_ODOC_PAGES_DIR="$DUMMY_DOCS_DIR/odoc-pages" + mkdir -p "$DUMMY_ODOC_PAGES_DIR" + for doc in "tezos_workers.mld" "tezos_lwt_result_stdlib.mld" "index.mld"; do + touch "$DUMMY_ODOC_PAGES_DIR/$doc" + done ''; }); octez-admin-client = super.octez-client.overrideAttrs (_ : { diff --git a/nix/build/ocaml-overlay.nix b/nix/build/ocaml-overlay.nix index 2a00af05d..97c5a732c 100644 --- a/nix/build/ocaml-overlay.nix +++ b/nix/build/ocaml-overlay.nix @@ -11,9 +11,11 @@ with opam-nix.lib.${self.system}; let zcash-overlay = import ./zcash-overlay.nix; hacks = import ./hacks.nix; octezSourcesResolved = - self.runCommand "resolve-octez-sources" {} "cp --no-preserve=all -Lr ${sources.tezos} $out"; + self.runCommand "resolve-octez-sources" {} '' + cp --no-preserve=all -Lr ${sources.tezos} $out + ''; octezScope = buildOpamProject' { - repos = [sources.opam-repository]; + repos = with sources; [opam-repository]; recursive = true; resolveArgs = { }; } octezSourcesResolved { }; diff --git a/nix/build/release-binaries.nix b/nix/build/release-binaries.nix index f2cb71dfd..b05df935e 100644 --- a/nix/build/release-binaries.nix +++ b/nix/build/release-binaries.nix @@ -11,6 +11,11 @@ in [ description = "CLI client for interacting with octez blockchain"; supports = protocolsFormatted; } + { + name = "octez-dac-client"; + description = "A Data Availability Committee Tezos client"; + supports = protocolsFormatted; + } { name = "octez-admin-client"; description = "Administration tool for the node"; @@ -22,6 +27,12 @@ in [ "Entry point for initializing, configuring and running a Octez node"; supports = protocolsFormatted; } + { + name = "octez-dac-node"; + description = + "A Data Availability Committee Tezos node"; + supports = protocolsFormatted; + } { name = "octez-signer"; description = "A client to remotely sign operations or blocks"; diff --git a/nix/modules/common.nix b/nix/modules/common.nix index 76b6f2585..20bb38529 100644 --- a/nix/modules/common.nix +++ b/nix/modules/common.nix @@ -21,11 +21,11 @@ rec { daemonOptions = sharedOptions // { baseProtocols = mkOption { - type = types.listOf (types.enum [ "PtMumbai" "PtNairob" ]); + type = types.listOf (types.enum [ "PtNairob" "Proxford" ]); description = '' List of protocols for which daemons will be run. ''; - example = ["PtMumbai"]; + example = ["PtNairob"]; }; rpcPort = mkOption { diff --git a/nix/modules/tezos-accuser.nix b/nix/modules/tezos-accuser.nix index c65777848..e40f1817e 100644 --- a/nix/modules/tezos-accuser.nix +++ b/nix/modules/tezos-accuser.nix @@ -7,10 +7,10 @@ with lib; let octez-accuser-pkgs = { - "PtMumbai" = - "${pkgs.octezPackages.octez-accuser-PtMumbai}/bin/octez-accuser-PtMumbai"; "PtNairob" = - "${pkgs.octezPackages.octez-baker-PtNairob}/bin/octez-baker-PtNairob"; + "${pkgs.octezPackages.octez-accuser-PtNairob}/bin/octez-accuser-PtNairob"; + "Proxford" = + "${pkgs.octezPackages.octez-accuser-Proxford}/bin/octez-accuser-Proxford"; }; cfg = config.services.octez-accuser; common = import ./common.nix { inherit lib; inherit pkgs; }; diff --git a/nix/modules/tezos-baker.nix b/nix/modules/tezos-baker.nix index bfd490a45..db51a5e1a 100644 --- a/nix/modules/tezos-baker.nix +++ b/nix/modules/tezos-baker.nix @@ -7,10 +7,10 @@ with lib; let octez-baker-pkgs = { - "PtMumbai" = - "${pkgs.octezPackages.octez-baker-PtMumbai}/bin/octez-baker-PtMumbai"; "PtNairob" = "${pkgs.octezPackages.octez-baker-PtNairob}/bin/octez-baker-PtNairob"; + "Proxford" = + "${pkgs.octezPackages.octez-baker-Proxford}/bin/octez-baker-Proxford"; }; octez-client = "${pkgs.octezPackages.octez-client}/bin/octez-client"; cfg = config.services.octez-baker; diff --git a/nix/modules/tezos-node.nix b/nix/modules/tezos-node.nix index 7870ef511..2cf91ce6e 100644 --- a/nix/modules/tezos-node.nix +++ b/nix/modules/tezos-node.nix @@ -45,7 +45,7 @@ let network = mkOption { type = types.str; - default = "mumbainet"; + default = "ghostnet"; description = '' Network which node will be running on. Can be either a predefined network name or a URL to the network config. diff --git a/protocols.json b/protocols.json index cc924323b..d2b26ca41 100644 --- a/protocols.json +++ b/protocols.json @@ -23,10 +23,11 @@ "012-Psithaca", "013-PtJakart", "PtKathma", - "PtLimaPt" + "PtLimaPt", + "PtMumbai" ], "active": [ - "PtMumbai", - "PtNairob" + "PtNairob", + "Proxford" ] } diff --git a/scripts/build-all-bottles.sh b/scripts/build-all-bottles.sh index 746dcdc69..122deb93f 100755 --- a/scripts/build-all-bottles.sh +++ b/scripts/build-all-bottles.sh @@ -19,7 +19,7 @@ set -euo pipefail retval="0" # we don't bottle meta-formulas that contain only services -formulae=("tezos-accuser-PtMumbai" "tezos-accuser-PtNairob" "tezos-admin-client" "tezos-baker-PtMumbai" "tezos-baker-PtNairob" "tezos-client" "tezos-codec" "tezos-node" "tezos-signer" "tezos-smart-rollup-client-PtMumbai" "tezos-smart-rollup-client-PtNairob" "tezos-smart-rollup-node-PtMumbai" "tezos-smart-rollup-node-PtNairob") +formulae=("tezos-accuser-PtNairob" "tezos-accuser-Proxford" "tezos-admin-client" "tezos-baker-PtNairob" "tezos-baker-Proxford" "tezos-client" "tezos-codec" "tezos-node" "tezos-signer" "tezos-smart-rollup-client-PtNairob" "tezos-smart-rollup-client-Proxford" "tezos-smart-rollup-node-PtNairob" "tezos-smart-rollup-node-Proxford" "tezos-dac-client" "tezos-dac-node") # tezos-sapling-params is used as a dependency for some of the formulas # so we handle it separately. diff --git a/tests/systemd/services_tests.py b/tests/systemd/services_tests.py index 92da84f3b..d124ffca3 100644 --- a/tests/systemd/services_tests.py +++ b/tests/systemd/services_tests.py @@ -128,16 +128,16 @@ def test_node_mainnet_service(): node_service_test("mainnet") -def test_node_mumbainet_service(): - node_service_test("mumbainet") +def test_node_nairobinet_service(): + node_service_test("nairobinet") -def test_baking_mumbainet_service(): - baking_service_test("mumbainet", ["PtMumbai"]) +def test_baking_nairobinet_service(): + baking_service_test("nairobinet", ["PtNairob"]) def test_baking_mainnet_service(): - baking_service_test("mainnet", ["PtMumbai"]) + baking_service_test("mainnet", ["PtNairob"]) def test_http_signer_service(): @@ -149,9 +149,9 @@ def test_tcp_signer_service(): def test_standalone_accuser_service(): - with unit(f"tezos-node-mumbainet.service") as _: - with unit(f"tezos-accuser-ptmumbai.service") as _: - assert check_running_process(f"octez-accuser-PtMumbai") + with unit(f"tezos-node-nairobinet.service") as _: + with unit(f"tezos-accuser-ptnairob.service") as _: + assert check_running_process(f"octez-accuser-PtNairob") def test_unix_signer_service(): @@ -161,34 +161,34 @@ def test_unix_signer_service(): def test_standalone_baker_service(): replace_systemd_service_env( - "tezos-baker-ptmumbai", + "tezos-baker-ptnairob", "TEZOS_NODE_DIR", - "/var/lib/tezos/node-mumbainet", + "/var/lib/tezos/node-nairobinet", ) with account("baker") as _: - with unit(f"tezos-node-mumbainet.service") as _: - with unit(f"tezos-baker-ptmumbai.service") as _: - assert check_active_service(f"tezos-baker-ptmumbai.service") - assert check_running_process(f"octez-baker-PtMumbai") + with unit(f"tezos-node-nairobinet.service") as _: + with unit(f"tezos-baker-ptnairob.service") as _: + assert check_active_service(f"tezos-baker-ptnairob.service") + assert check_running_process(f"octez-baker-PtNairob") def test_nondefault_node_rpc_endpoint(): rpc_addr = "127.0.0.1:8735" - replace_systemd_service_env("tezos-node-mumbainet", "NODE_RPC_ADDR", rpc_addr) - proc_call("cat /etc/default/tezos-node-mumbainet") + replace_systemd_service_env("tezos-node-nairobinet", "NODE_RPC_ADDR", rpc_addr) + proc_call("cat /etc/default/tezos-node-nairobinet") try: - node_service_test("mumbainet", f"http://{rpc_addr}") + node_service_test("nairobinet", f"http://{rpc_addr}") finally: replace_systemd_service_env( - "tezos-node-mumbainet", "NODE_RPC_ADDR", "127.0.0.1:8732" + "tezos-node-nairobinet", "NODE_RPC_ADDR", "127.0.0.1:8732" ) def test_nondefault_baking_config(): replace_systemd_service_env( - "tezos-baking-mumbainet", "BAKER_ADDRESS_ALIAS", "another_baker" + "tezos-baking-nairobinet", "BAKER_ADDRESS_ALIAS", "another_baker" ) replace_systemd_service_env( - "tezos-baking-mumbainet", "LIQUIDITY_BAKING_TOGGLE_VOTE", "on" + "tezos-baking-nairobinet", "LIQUIDITY_BAKING_TOGGLE_VOTE", "on" ) - baking_service_test("mumbainet", ["PtMumbai"], "another_baker") + baking_service_test("nairobinet", ["PtNairob"], "another_baker") diff --git a/tests/test_script.py b/tests/test_script.py index 058d99b37..7c90d86b5 100644 --- a/tests/test_script.py +++ b/tests/test_script.py @@ -77,8 +77,8 @@ def test_node_with_daemons_scenario(network, use_tls=False): kill_node_with_daemons() -with subtest("run node with daemons on mumbainet"): - test_node_with_daemons_scenario("mumbainet") +with subtest("run node with daemons on ghostnet"): + test_node_with_daemons_scenario("ghostnet") with subtest("run node with daemons on mainnet"): test_node_with_daemons_scenario("mainnet") diff --git a/tests/tezos-binaries.nix b/tests/tezos-binaries.nix index 8269d55bd..f1b1295bd 100644 --- a/tests/tezos-binaries.nix +++ b/tests/tezos-binaries.nix @@ -1,24 +1,23 @@ # SPDX-FileCopyrightText: 2021 Oxhead Alpha # SPDX-License-Identifier: LicenseRef-MIT-OA -{ nixpkgs, pkgs, ... }: { path-to-binaries } @ args: +{ nixpkgs, pkgs, ... }: +{ path-to-binaries }@args: let -in import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: -{ +in import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: { name = "tezos-binaries-test"; nodes.machine = { ... }: { virtualisation.memorySize = 2048; virtualisation.diskSize = 1024; - environment.sessionVariables.XDG_DATA_DIRS = - [ "${pkgs.zcash-params}" ]; + environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.zcash-params}" ]; security.pki.certificateFiles = [ ./ca.cert ]; }; testScript = '' path_to_binaries = "${path-to-binaries}" - octez_accuser = f"{path_to_binaries}/octez-accuser-PtMumbai" + octez_accuser = f"{path_to_binaries}/octez-accuser-PtNairob" octez_admin_client = f"{path_to_binaries}/octez-admin-client" - octez_baker = f"{path_to_binaries}/octez-baker-PtMumbai" + octez_baker = f"{path_to_binaries}/octez-baker-PtNairob" octez_client = f"{path_to_binaries}/octez-client" octez_node = f"{path_to_binaries}/octez-node" octez_signer = f"{path_to_binaries}/octez-signer" diff --git a/tests/tezos-modules.nix b/tests/tezos-modules.nix index 633bcda2d..1ef99b800 100644 --- a/tests/tezos-modules.nix +++ b/tests/tezos-modules.nix @@ -19,12 +19,12 @@ let octez-accuser = { enable = true; - baseProtocols = ["PtMumbai"]; + baseProtocols = ["PtNairob"]; }; octez-baker = { enable = true; - baseProtocols = ["PtMumbai"]; + baseProtocols = ["PtNairob"]; bakerAccountAlias = "baker"; bakerSecretKey = "unencrypted:edsk3KaTNj1d8Xd3kMBrZkJrfkqsz4XwwiBXatuuVgTdPye2KpE98o"; }; @@ -44,10 +44,10 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: ]; services = { - octez-node.instances.mumbainet = octez-node; - octez-signer.instances.mumbainet = octez-signer; - octez-accuser.instances.mumbainet = octez-accuser; - octez-baker.instances.mumbainet = octez-baker; + octez-node.instances.ghostnet = octez-node; + octez-signer.instances.ghostnet = octez-signer; + octez-accuser.instances.ghostnet = octez-accuser; + octez-baker.instances.ghostnet = octez-baker; }; }; @@ -65,7 +65,7 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: ] for s in services: - machine.wait_for_unit(f"tezos-mumbainet-{s}.service") + machine.wait_for_unit(f"tezos-ghostnet-{s}.service") ${if octez-node.enable then '' with subtest("check octez-node rpc response"): @@ -78,6 +78,6 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: with subtest("service status sanity check"): for s in services: - machine.succeed(f"systemctl status tezos-mumbainet-{s}.service") + machine.succeed(f"systemctl status tezos-ghostnet-{s}.service") ''; }) { inherit pkgs system; } diff --git a/tests/tezos-nix-binaries.nix b/tests/tezos-nix-binaries.nix index df0a75f16..b474f30c5 100644 --- a/tests/tezos-nix-binaries.nix +++ b/tests/tezos-nix-binaries.nix @@ -3,26 +3,25 @@ { nixpkgs, pkgs, ... }: let inherit (pkgs) system; - inherit (pkgs.octezPackages) octez-client octez-admin-client octez-node octez-signer octez-codec - octez-accuser-PtMumbai octez-baker-PtMumbai; -in import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: -{ + inherit (pkgs.octezPackages) + octez-client octez-admin-client octez-node octez-signer octez-codec + octez-accuser-PtNairob octez-baker-PtNairob; +in import "${nixpkgs}/nixos/tests/make-test-python.nix" ({ ... }: { name = "tezos-nix-binaries-test"; nodes.machine = { ... }: { virtualisation.memorySize = 1024; virtualisation.diskSize = 1024; - environment.systemPackages = with pkgs; [ - libev - ]; + environment.systemPackages = with pkgs; [ libev ]; security.pki.certificateFiles = [ ./ca.cert ]; - environment.sessionVariables.LD_LIBRARY_PATH = - [ "${pkgs.ocamlPackages.hacl-star-raw}/lib/ocaml/4.12.0/site-lib/hacl-star-raw" ]; + environment.sessionVariables.LD_LIBRARY_PATH = [ + "${pkgs.ocamlPackages.hacl-star-raw}/lib/ocaml/4.12.0/site-lib/hacl-star-raw" + ]; }; testScript = '' - octez_accuser = "${octez-accuser-PtMumbai}/bin/octez-accuser-PtMumbai" + octez_accuser = "${octez-accuser-PtNairob}/bin/octez-accuser-PtNairob" octez_admin_client = "${octez-admin-client}/bin/octez-admin-client" - octez_baker = "${octez-baker-PtMumbai}/bin/octez-baker-PtMumbai" + octez_baker = "${octez-baker-PtNairob}/bin/octez-baker-PtNairob" octez_client = ( "${octez-client}/bin/octez-client" ) From 3ef9288b091b6be41f9defa53b5401159f224406 Mon Sep 17 00:00:00 2001 From: Savely Krendelhoff Date: Tue, 5 Sep 2023 11:53:08 +0300 Subject: [PATCH 5/5] [Chore] Bump release version for v18.0-rc1 Problem: We have to make a new release, so release version should be bumped. Solution: Bump it. --- baking/pyproject.toml | 2 +- docker/package/model.py | 2 +- meta.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/baking/pyproject.toml b/baking/pyproject.toml index 2da8bf8c8..fada2bf0d 100644 --- a/baking/pyproject.toml +++ b/baking/pyproject.toml @@ -14,7 +14,7 @@ description = "Package that provides systemd services that orchestrate other ser license = { text = "LicenseRef-MIT-OA" } requires-python = ">=3.8" readme = "README.md" -version = "v18.0-rc1" +version = "v18.0-rc1a" [tool.setuptools.packages.find] where= ["src"] diff --git a/docker/package/model.py b/docker/package/model.py index 4fd7b8c59..4c2b64de9 100644 --- a/docker/package/model.py +++ b/docker/package/model.py @@ -585,7 +585,7 @@ class TezosBakingServicesPackage(AbstractPackage): # native releases, so we append an extra letter to the version of # the package. # This should be reset to "" whenever the native version is bumped. - letter_version = "" + letter_version = "a" buildfile = "setup.py" diff --git a/meta.json b/meta.json index b79b0d8f0..793cf5632 100644 --- a/meta.json +++ b/meta.json @@ -1,5 +1,5 @@ { - "release": "1", + "release": "2", "maintainer": "Serokell ", "tezos_ref": "v18.0-rc1" }