Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang Jiawei committed Oct 18, 2023
1 parent 016d2de commit af967a1
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/zkapp_test_transaction/lib/commands.ml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ let gen_proof ?(zkapp_account = None) (zkapp_command : Zkapp_command.t) =
permissions =
{ Permissions.user_default with
edit_state = Proof
; set_verification_key = Proof
; set_verification_key = (Proof, Protocol_version.current)
; set_zkapp_uri = Proof
; set_token_symbol = Proof
}
Expand Down
1 change: 1 addition & 0 deletions src/app/zkapp_test_transaction/lib/dune
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
ppx_inline_test.config
graphql-async
;;local libraries
protocol_version
pickles
kimchi_backend.pasta
kimchi_backend.pasta.basic
Expand Down
4 changes: 3 additions & 1 deletion src/app/zkapp_test_transaction/zkapp_test_transaction.ml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ let update_permissions =
; access = Util.auth_of_string access
; set_permissions = Util.auth_of_string set_permissions
; set_delegate = Util.auth_of_string set_delegate
; set_verification_key = Util.auth_of_string set_verification_key
; set_verification_key =
( Util.auth_of_string set_verification_key
, Protocol_version.current )
; set_zkapp_uri = Util.auth_of_string set_zkapp_uri
; edit_action_state = Util.auth_of_string edit_action_state
; set_token_symbol = Util.auth_of_string set_token_symbol
Expand Down
2 changes: 1 addition & 1 deletion src/app/zkapps_examples/test/actions/actions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ let%test_module "Actions test" =
; access = None
; set_delegate = Proof
; set_permissions = Proof
; set_verification_key = Proof
; set_verification_key = (Proof, Protocol_version.current)
; set_zkapp_uri = Proof
; edit_action_state = Proof
; set_token_symbol = Proof
Expand Down
1 change: 1 addition & 0 deletions src/app/zkapps_examples/test/actions/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
core_kernel
ppx_inline_test.config
;; local libraries
protocol_version
cache_dir
consensus
currency
Expand Down
2 changes: 1 addition & 1 deletion src/app/zkapps_examples/test/add_events/add_events.ml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ let%test_module "Add events test" =
; access = None
; set_delegate = Proof
; set_permissions = Proof
; set_verification_key = Proof
; set_verification_key = (Proof, Protocol_version.current)
; set_zkapp_uri = Proof
; edit_action_state = Proof
; set_token_symbol = Proof
Expand Down
1 change: 1 addition & 0 deletions src/app/zkapps_examples/test/add_events/dune
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
core_kernel
ppx_inline_test.config
;; local libraries
protocol_version
cache_dir
currency
data_hash_lib
Expand Down
2 changes: 1 addition & 1 deletion src/app/zkapps_examples/test/calls/calls.ml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ let%test_module "Composability test" =
; access = None
; set_delegate = Proof
; set_permissions = Proof
; set_verification_key = Proof
; set_verification_key = (Proof, Protocol_version.current)
; set_zkapp_uri = Proof
; edit_action_state = Proof
; set_token_symbol = Proof
Expand Down
1 change: 1 addition & 0 deletions src/app/zkapps_examples/test/calls/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
ppx_inline_test.config
yojson
;; local libraries
protocol_version
cache_dir
currency
data_hash_lib
Expand Down
1 change: 1 addition & 0 deletions src/app/zkapps_examples/test/initialize_state/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
ppx_inline_test.config
yojson
;; local libraries
protocol_version
cache_dir
currency
data_hash_lib
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ let%test_module "Initialize state test" =
; access = None
; set_delegate = Proof
; set_permissions = Proof
; set_verification_key = Proof
; set_verification_key = (Proof, Protocol_version.current)
; set_zkapp_uri = Proof
; edit_action_state = Proof
; set_token_symbol = Proof
Expand Down

0 comments on commit af967a1

Please sign in to comment.