From 0349f78d01043a87de6193d6f208ddadd4aca478 Mon Sep 17 00:00:00 2001 From: Mehdi Bouaziz Date: Mon, 25 Apr 2022 17:54:30 +0200 Subject: [PATCH] Proto/Tests: make claimer mandatory A claimer is an implicit account, a ticketer is an originated contract, they can't be the same --- .../test/integration/operations/test_tx_rollup.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proto_alpha/lib_protocol/test/integration/operations/test_tx_rollup.ml b/src/proto_alpha/lib_protocol/test/integration/operations/test_tx_rollup.ml index 99a82b4964b5..bf1856dc2dec 100644 --- a/src/proto_alpha/lib_protocol/test/integration/operations/test_tx_rollup.ml +++ b/src/proto_alpha/lib_protocol/test/integration/operations/test_tx_rollup.ml @@ -476,8 +476,8 @@ module Nat_ticket = struct ~ticketer tx_rollup - let withdrawal ctxt ~ticketer ?(claimer = ticketer) ?(amount = amount) - tx_rollup : (Tx_rollup_withdraw.t * Tx_rollup_reveal.t) tzresult Lwt.t = + let withdrawal ctxt ~ticketer ~claimer ?(amount = amount) tx_rollup : + (Tx_rollup_withdraw.t * Tx_rollup_reveal.t) tzresult Lwt.t = ticket_hash ctxt ~ticketer ~tx_rollup >|=? fun ticket_hash -> let claimer = Context.Contract.pkh claimer in ( Tx_rollup_withdraw.{claimer; ticket_hash; amount}, -- GitLab