Skip to content

Commit fbad8a2

Browse files
authored
Merge pull request #17860 from MinaProtocol/lyh/bump-opam-export-develop
bump various dependencies to fix nix build test dev
2 parents 0d23b2c + a576a39 commit fbad8a2

File tree

28 files changed

+147
-238
lines changed

28 files changed

+147
-238
lines changed

README-dev.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ A number of C libraries are expected to be available in the system and are also
150150
If you use vim, add this snippet in your `.vimrc` file to use Merlin. (Note:Be sure to change the HOME directory to match yours.)
151151

152152
```bash
153-
let s:ocamlmerlin="/Users/USERNAME/.opam/4.14.0/share/merlin"
153+
let s:ocamlmerlin="/Users/USERNAME/.opam/4.14.2/share/merlin"
154154
execute "set rtp+=".s:ocamlmerlin."/vim"
155155
execute "set rtp+=".s:ocamlmerlin."/vimbufsync"
156156
let g:syntastic_ocaml_checkers=['merlin']
@@ -301,10 +301,10 @@ We use the [Dune](https://github.com/ocaml/dune/) build system for OCaml code.
301301
302302
OCaml dependencies live in the [`opam.export`](./opam.export) file. This file is machine generated and must not be modified.
303303
304-
To add a new dependency, you most likely will need to create a new fresh switch to avoid pushing in any local dependency (like `ocaml-lsp`). The following commands assume that the version of the OCaml compiler used in the codebase is 4.14.0:
304+
To add a new dependency, you most likely will need to create a new fresh switch to avoid pushing in any local dependency (like `ocaml-lsp`). The following commands assume that the version of the OCaml compiler used in the codebase is 4.14.2:
305305
306306
```shell
307-
opam switch create mina_fresh 4.14.0
307+
opam switch create mina_fresh 4.14.2
308308
opam switch import opam.export
309309
```
310310

buildkite/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ check_syntax:
55
find ./src/ -name "*.dhall" -print0 | xargs -I{} -0 -n1 bash -c 'echo "{}" && dhall --file {} > /dev/null || exit 255'
66

77
check_lint:
8+
@echo "Dhall version: $$(dhall --version)"
89
find ./src/ -name "*.dhall" -print0 | xargs -I{} -0 -n1 bash -c 'echo "{}" && dhall --ascii lint --check --inplace {} || exit 255'
910

1011
check_format:
12+
@echo "Dhall version: $$(dhall --version)"
1113
find ./src/ -name "*.dhall" -print0 | xargs -I{} -0 -n1 bash -c 'echo "{} format" && dhall --ascii format --check --inplace {} || exit 255'
1214

1315
lint:

buildkite/src/Constants/ContainerImages.dhall

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
-- NOTE: minaToolchainBookworm is also used for building Ubuntu Jammy packages in CI
55
{ toolchainBase = "codaprotocol/ci-toolchain-base:v3"
66
, minaToolchainBookworm =
7-
{ arm64 =
8-
"gcr.io/o1labs-192920/mina-toolchain@sha256:12a68c1a8024fa5a87f28eedaabf7f5aaa1843d89af2987360796f3c91bb2479"
9-
, amd64 =
10-
"gcr.io/o1labs-192920/mina-toolchain@sha256:8479f26d8cd58f8e663b8e576ba84242217c2b2e272fcd4cd50a13f04f4ac9fa"
7+
{ amd64 =
8+
"gcr.io/o1labs-192920/mina-toolchain@sha256:0c2764790ae18788b97a9c6361d7c4b0a96c515d176226868d929415e24f8251"
9+
, arm64 =
10+
"gcr.io/o1labs-192920/mina-toolchain@sha256:deb63964399029d681e39ac4ff529616b179c72fff3a0ab350e11a7099f6f23d"
1111
}
1212
, minaToolchainBullseye.amd64 =
13-
"gcr.io/o1labs-192920/mina-toolchain@sha256:c9ae80ed80d78080d8d3c5c962dc4480edfcffca2f08eb159fc4caec4959198a"
13+
"gcr.io/o1labs-192920/mina-toolchain@sha256:db00940ea2c778592a520da755388014231db52aa2d89e0c853abfafc4fa5846"
1414
, minaToolchainNoble =
15-
{ arm64 =
16-
"gcr.io/o1labs-192920/mina-toolchain@sha256:4c713087da8cd2159c67ced71d0f1b546a85dabedf48ece6190c5d521fdcebbf"
17-
, amd64 =
18-
"gcr.io/o1labs-192920/mina-toolchain@sha256:1dacf0645b6c6d60abe08cbe1a3a3ef5348fd56bee718bf35cf75f151c7319bf"
15+
{ amd64 =
16+
"gcr.io/o1labs-192920/mina-toolchain@sha256:669c4053d2f3b7ecf5787b9dc0d908b7061c8a8908dcc766c4de57bcd1c67fa1"
17+
, arm64 =
18+
"gcr.io/o1labs-192920/mina-toolchain@sha256:2a71e234ca0cc42a663e42daabef3736207fd91bac414b2d511b30b336529b74"
1919
}
2020
, minaToolchainJammy.amd64 =
21-
"gcr.io/o1labs-192920/mina-toolchain@sha256:cadfb4d932aa88588ce610e14cb374959251cb3639ba5c48777f82260f79d49a"
21+
"gcr.io/o1labs-192920/mina-toolchain@sha256:b16023b65bb90fc2242c83b7c9f3f3c62aca521f316a16a45f5f7cb115e95f15"
2222
, minaToolchain =
23-
"gcr.io/o1labs-192920/mina-toolchain@sha256:c9ae80ed80d78080d8d3c5c962dc4480edfcffca2f08eb159fc4caec4959198a"
23+
"gcr.io/o1labs-192920/mina-toolchain@sha256:db00940ea2c778592a520da755388014231db52aa2d89e0c853abfafc4fa5846"
2424
, postgres = "postgres:12.4-alpine"
2525
, xrefcheck =
2626
"dkhamsing/awesome_bot@sha256:a8adaeb3b3bd5745304743e4d8a6d512127646e420544a6d22d9f58a07f35884"

opam.export

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ roots: [
4848
"qcheck.0.20"
4949
"qcheck-alcotest.0.20"
5050
"re2.v0.14.0"
51-
"rocks.0.1.1"
52-
"rocksdb_stubs.5.17.2"
51+
"rocks.0.2.0"
52+
"rocksdb_stubs.10.2.1"
5353
"rpc_parallel.v0.14.0"
5454
"sexp_diff_kernel.v0.14.0"
5555
"sodium.dev"
@@ -180,7 +180,7 @@ installed: [
180180
"num.1.1"
181181
"ocaml.4.14.2"
182182
"ocaml-base-compiler.4.14.2"
183-
"ocaml-compiler-libs.v0.12.3"
183+
"ocaml-compiler-libs.v0.12.4"
184184
"ocaml-config.2"
185185
"ocaml-migrate-parsetree.2.3.0"
186186
"ocaml-options-vanilla.1"
@@ -249,8 +249,8 @@ installed: [
249249
"react.1.2.1"
250250
"res.5.0.1"
251251
"result.1.5"
252-
"rocks.0.1.1"
253-
"rocksdb_stubs.5.17.2"
252+
"rocks.0.2.0"
253+
"rocksdb_stubs.10.2.1"
254254
"rpc_parallel.v0.14.0"
255255
"rresult.0.6.0"
256256
"seq.base"

src/app/test_executive/hard_fork.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
303303
}
304304
in
305305
Transaction_snark.For_tests.deploy_snapp ~constraint_constants
306-
zkapp_command_spec
306+
~signature_kind zkapp_command_spec
307307
in
308308
let%bind zkapp_command_update_vk_proof, zkapp_command_update_vk_impossible =
309309
let snapp_update =

src/app/test_executive/peers_reliability_test.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
3434
]
3535
}
3636

37-
let run ~config:_ network t =
37+
let run ~config:Test_config.{ signature_kind; _ } network t =
3838
let open Network in
3939
let open Malleable_error.Let_syntax in
4040
let logger = Logger.create () in
@@ -143,7 +143,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
143143
Malleable_error.lift
144144
@@ Transaction_snark.For_tests.deploy_snapp
145145
~constraint_constants:(Network.constraint_constants network)
146-
parties_spec
146+
~signature_kind parties_spec
147147
in
148148
let%bind () =
149149
send_zkapp ~logger

src/app/test_executive/verification_key_update.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
207207
}
208208
in
209209
Malleable_error.lift
210-
@@ Transaction_snark.For_tests.deploy_snapp ~constraint_constants spec
210+
@@ Transaction_snark.For_tests.deploy_snapp ~constraint_constants
211+
~signature_kind spec
211212
in
212213
let call_forest_to_zkapp ~call_forest ~nonce : Zkapp_command.t =
213214
let memo = Signed_command_memo.empty in

src/app/test_executive/zkapps.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
178178
in
179179
Malleable_error.lift
180180
@@ Transaction_snark.For_tests.deploy_snapp ~constraint_constants
181-
zkapp_command_spec
181+
~signature_kind zkapp_command_spec
182182
in
183183
let%bind.Deferred zkapp_command_update_permissions, permissions_updated =
184184
(* construct a Zkapp_command.t, similar to zkapp_test_transaction
@@ -347,7 +347,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
347347
}
348348
in
349349
Transaction_snark.For_tests.single_account_update ~constraint_constants
350-
spec
350+
~signature_kind spec
351351
in
352352
( snapp_update
353353
, zkapp_command_update_all

src/app/test_executive/zkapps_timing.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
3333
; num_archive_nodes = 1
3434
}
3535

36-
let run ~config:_ network t =
36+
let run ~config:Test_config.{ signature_kind; _ } network t =
3737
let open Malleable_error.Let_syntax in
3838
let logger = Logger.create () in
3939
let all_mina_nodes = Network.all_mina_nodes network in
@@ -104,7 +104,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
104104
in
105105
let%map.Async.Deferred deploy_zkapp =
106106
Transaction_snark.For_tests.deploy_snapp ~constraint_constants
107-
zkapp_command_spec
107+
~signature_kind zkapp_command_spec
108108
in
109109
( deploy_zkapp
110110
, timing_account_id
@@ -151,7 +151,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
151151
in
152152
Malleable_error.lift
153153
@@ Transaction_snark.For_tests.deploy_snapp ~constraint_constants
154-
zkapp_command_spec
154+
~signature_kind zkapp_command_spec
155155
in
156156
(* Create a timed account that with initial liquid balance being 0, and vesting 1 mina at each slot.
157157
This account would be used to test the edge case of vesting. See `zkapp_command_transfer_from_third_timed_account`
@@ -202,7 +202,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
202202
in
203203
let%map.Async.Deferred deploy_zkapp =
204204
Transaction_snark.For_tests.deploy_snapp ~constraint_constants
205-
zkapp_command_spec
205+
~signature_kind zkapp_command_spec
206206
in
207207
(deploy_zkapp, timing_account_id, zkapp_keypair)
208208
in
@@ -244,7 +244,7 @@ module Make (Inputs : Intf.Test.Inputs_intf) = struct
244244
}
245245
in
246246
Transaction_snark.For_tests.deploy_snapp ~constraint_constants
247-
zkapp_command_spec
247+
~signature_kind zkapp_command_spec
248248
in
249249
let%bind zkapp_command_transfer_from_timed_account =
250250
let open Mina_base in

src/app/zkapp_test_transaction/lib/commands.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ let create_zkapp_account ~debug ~sender ~sender_nonce ~fee ~fee_payer
368368
in
369369
let%bind zkapp_command =
370370
Transaction_snark.For_tests.deploy_snapp
371-
~permissions:Permissions.user_default ~constraint_constants spec
371+
~permissions:Permissions.user_default ~constraint_constants
372+
~signature_kind:Testnet spec
372373
in
373374
let%map () =
374375
if debug then

0 commit comments

Comments
 (0)