File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ module Other_impl = Pickles.Impls.Wrap
55module Field = Impl. Field
66module Account_update = Mina_base. Account_update
77module Zkapp_command = Mina_base. Zkapp_command
8+ (* module Signed_command = Mina_base.Signed_command*)
89
910(* Test - functions that have a ts implementation, exposed for ts-ml consistency tests *)
1011
@@ -339,7 +340,8 @@ module Transaction_hash = struct
339340 }
340341 }
341342 in
342- let payment = Signed_command. sign kp payload in
343+ let signature_kind = Mina_signature_kind. t_DEPRECATED in
344+ let payment = Signed_command. sign ~signature_kind kp payload in
343345 (payment :> Signed_command.t )
344346 |> Signed_command. to_yojson |> Yojson.Safe. to_string |> Js. string
345347end
Original file line number Diff line number Diff line change @@ -139,11 +139,13 @@ let check_account_update_signatures zkapp_command =
139139 zkapp_command
140140 in
141141 let tx_commitment = Zkapp_command. commitment zkapp_command in
142+ let signature_kind = Mina_signature_kind. t_DEPRECATED in
142143 let full_tx_commitment =
143144 Zkapp_command.Transaction_commitment. create_complete tx_commitment
144145 ~memo_hash: (Mina_base.Signed_command_memo. hash memo)
145146 ~fee_payer_hash:
146147 (Zkapp_command.Digest.Account_update. create
148+ ~signature_kind
147149 (Account_update. of_fee_payer fee_payer) )
148150 in
149151 let key_to_string = Signature_lib.Public_key.Compressed. to_base58_check in
You can’t perform that action at this time.
0 commit comments