From d48d78018a81960477e3ab1ea15f9e42bac0ee1c Mon Sep 17 00:00:00 2001 From: Valentin Chaboche Date: Tue, 5 Jul 2022 11:08:48 +0200 Subject: [PATCH] Proto,Scoru: Remove useless number_of_messages from commitments We now use [max_number_of_messages_per_commitment_period] to limit the number of messages in an inbox, to limit the inclusion proofs. This was before limited by the number of available messages which we also remove, since it can not be computed without the number of messages in commitments. --- .../bin_sc_rollup_node/commitment.ml | 19 +- .../bin_sc_rollup_node/commitment_event.ml | 45 +- .../lib_client/client_proto_args.ml | 16 - .../lib_client/client_proto_args.mli | 3 - src/proto_alpha/lib_client/mockup.ml | 26 +- .../client_proto_context_commands.ml | 14 +- .../lib_parameters/default_parameters.ml | 6 +- .../lib_protocol/alpha_context.mli | 15 +- .../lib_protocol/constants_parametric_repr.ml | 11 +- .../constants_parametric_repr.mli | 2 +- .../lib_protocol/constants_repr.ml | 7 +- .../lib_protocol/constants_storage.ml | 4 +- .../lib_protocol/constants_storage.mli | 3 +- src/proto_alpha/lib_protocol/raw_context.ml | 6 +- .../lib_protocol/sc_rollup_commitment_repr.ml | 46 +- .../sc_rollup_commitment_repr.mli | 10 +- .../lib_protocol/sc_rollup_errors.ml | 13 - .../lib_protocol/sc_rollup_inbox_repr.ml | 62 +- .../lib_protocol/sc_rollup_inbox_repr.mli | 21 +- .../lib_protocol/sc_rollup_inbox_storage.ml | 24 +- .../lib_protocol/sc_rollup_repr.ml | 16 - .../lib_protocol/sc_rollup_repr.mli | 11 - .../lib_protocol/sc_rollup_stake_storage.ml | 22 +- .../integration/operations/test_sc_rollup.ml | 41 +- .../precheck/manager_operation_helpers.ml | 6 - .../test/integration/test_constants.ml | 3 - .../test/pbt/test_refutation_game.ml | 14 +- .../test/pbt/test_sc_rollup_encoding.ml | 15 +- .../test/unit/test_sc_rollup_game.ml | 9 +- .../test/unit/test_sc_rollup_inbox.ml | 37 +- .../test/unit/test_sc_rollup_storage.ml | 144 +-- tests_python/tests_alpha/test_mockup.py | 2 +- tezt/lib_tezos/client.ml | 8 +- tezt/lib_tezos/client.mli | 4 +- tezt/lib_tezos/sc_rollup_client.ml | 13 +- tezt/lib_tezos/sc_rollup_client.mli | 1 - ...t) RPC regression tests- misc_protocol.out | 2 +- ...t) RPC regression tests- misc_protocol.out | 2 +- ...y) RPC regression tests- misc_protocol.out | 2 +- ...r) RPC regression tests- misc_protocol.out | 2 +- ...c) RPC regression tests- misc_protocol.out | 2 +- ...ctionality (feature_flag_is_disabled).out | 14 +- ...ctionality (rollup_node_dal_subscript.out | 14 +- ... smart contract optimistic rollup node.out | 14 +- .../Alpha- consecutive commitments.out | 40 +- .../Alpha- ensure boot sector is used.out | 38 +- ...Alpha- get genesis info of a sc rollup.out | 14 +- ...nt hash and inbox level of a sc rollup.out | 14 +- ...ract rollup address through the client.out | 14 +- .../Alpha- list originated rollups.out | 140 +-- ... node advances PVM state with messages.out | 64 +- ...pha- node boots into the initial state.out | 14 +- ...ommitments in the rollup node (commitm.out | 176 ++-- ...ommitments in the rollup node (first_p.out | 18 +- ...ommitments in the rollup node (handles.out | 23 +- ...ommitments in the rollup node (message.out | 176 ++-- ...ommitments in the rollup node (no_comm.out | 38 +- ...ommitments in the rollup node (node_us.out | 93 +- ...ommitments in the rollup node (non_fin.out | 172 ++-- ...ce of inbox in the rollup node (basic).out | 24 +- ...f inbox in the rollup node (handles_ch.out | 34 +- ...ce of inbox in the rollup node (stops).out | 34 +- ...f inbox in the rollup node (too_many_m.out | 837 ------------------ .../Alpha- originate with boot sector.out | 14 +- ...tion of a SCORU executes without error.out | 14 +- ...ssages in the inbox - check inbox size.out | 64 +- ...s in the inbox - current messages hash.out | 24 +- tezt/tests/sc_rollup.ml | 90 +- 68 files changed, 730 insertions(+), 2190 deletions(-) delete mode 100644 tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (too_many_m.out diff --git a/src/proto_alpha/bin_sc_rollup_node/commitment.ml b/src/proto_alpha/bin_sc_rollup_node/commitment.ml index bf44e8c5bfb1..bcdb68176cbc 100644 --- a/src/proto_alpha/bin_sc_rollup_node/commitment.ml +++ b/src/proto_alpha/bin_sc_rollup_node/commitment.ml @@ -182,17 +182,6 @@ module Make (PVM : Pvm.S) : Commitment_sig.S with module PVM = PVM = struct "PVM state for block hash not available %s" (Block_hash.to_string block_hash) in - let number_of_messages = Number_of_messages.get () in - let* number_of_messages = - match - Sc_rollup.Number_of_messages.of_int32 @@ Z.to_int32 number_of_messages - with - | Some number_of_messages -> return number_of_messages - | None -> - failwith - "Invalid number of messages %s" - (Z.to_string number_of_messages) - in let number_of_ticks = Number_of_ticks.get () in let+ number_of_ticks = match @@ -208,13 +197,7 @@ module Make (PVM : Pvm.S) : Commitment_sig.S with module PVM = PVM = struct let () = Number_of_messages.reset () in let () = Number_of_ticks.reset () in Sc_rollup.Commitment. - { - predecessor; - inbox_level; - number_of_messages; - number_of_ticks; - compressed_state; - } + {predecessor; inbox_level; number_of_ticks; compressed_state} let store_commitment_if_necessary node_ctxt store current_level block_hash = let open Lwt_result_syntax in diff --git a/src/proto_alpha/bin_sc_rollup_node/commitment_event.ml b/src/proto_alpha/bin_sc_rollup_node/commitment_event.ml index 08eec01be2b7..ee58fe7b6120 100644 --- a/src/proto_alpha/bin_sc_rollup_node/commitment_event.ml +++ b/src/proto_alpha/bin_sc_rollup_node/commitment_event.ml @@ -76,10 +76,10 @@ module Simple = struct let msg = event_msg_prefix ?op_result op_type ^ " - predecessor: {predecessor}, inbox_level: {inbox_level}, \ - compressed_state: {compressed_state}, number_of_messages: \ - {number_of_messages}, number_of_ticks: {number_of_ticks}" + compressed_state: {compressed_state}, number_of_ticks: \ + {number_of_ticks}" in - declare_5 + declare_4 ~section ~name ~msg @@ -87,7 +87,6 @@ module Simple = struct ("predecessor", Sc_rollup.Commitment.Hash.encoding) ("inbox_level", Raw_level.encoding) ("compressed_state", Sc_rollup.State_hash.encoding) - ("number_of_messages", Sc_rollup.Number_of_messages.encoding) ("number_of_ticks", Sc_rollup.Number_of_ticks.encoding) let starting = @@ -107,21 +106,19 @@ module Simple = struct () let commitment_will_not_be_published = - declare_6 + declare_5 ~section ~name:"sc_rollup_node_commitment_will_not_be_published" ~msg: "Commitment will not be published: its inbox level is less or equal \ than the last cemented commitment level {lcc_level} - predecessor: \ {predecessor}, inbox_level: {inbox_level}, compressed_state: \ - {compressed_state}, number_of_messages: {number_of_messages}, \ - number_of_ticks: {number_of_ticks}" + {compressed_state}, number_of_ticks: {number_of_ticks}" ~level:Notice ("lcc_level", Raw_level.encoding) ("predecessor", Sc_rollup.Commitment.Hash.encoding) ("inbox_level", Raw_level.encoding) ("compressed_state", Sc_rollup.State_hash.encoding) - ("number_of_messages", Sc_rollup.Number_of_messages.encoding) ("number_of_ticks", Sc_rollup.Number_of_ticks.encoding) let last_cemented_commitment_updated = @@ -189,39 +186,15 @@ let stopping = Simple.(emit stopping) open Sc_rollup.Commitment let emit_commitment_event f - { - predecessor; - inbox_level; - compressed_state; - number_of_messages; - number_of_ticks; - } = - Simple.( - emit - f - ( predecessor, - inbox_level, - compressed_state, - number_of_messages, - number_of_ticks )) + {predecessor; inbox_level; compressed_state; number_of_ticks} = + Simple.(emit f (predecessor, inbox_level, compressed_state, number_of_ticks)) let commitment_will_not_be_published lcc_level - { - predecessor; - inbox_level; - compressed_state; - number_of_messages; - number_of_ticks; - } = + {predecessor; inbox_level; compressed_state; number_of_ticks} = Simple.( emit commitment_will_not_be_published - ( lcc_level, - predecessor, - inbox_level, - compressed_state, - number_of_messages, - number_of_ticks )) + (lcc_level, predecessor, inbox_level, compressed_state, number_of_ticks)) let commitment_stored = emit_commitment_event Simple.commitment_stored diff --git a/src/proto_alpha/lib_client/client_proto_args.ml b/src/proto_alpha/lib_client/client_proto_args.ml index ef6e60917552..5a221a42371b 100644 --- a/src/proto_alpha/lib_client/client_proto_args.ml +++ b/src/proto_alpha/lib_client/client_proto_args.ml @@ -962,22 +962,6 @@ module Sc_rollup_params = struct state_hash | Some hash -> return hash) - let number_of_messages_parameter = - Clic.parameter (fun _ nb_of_messages -> - match Int32.of_string_opt nb_of_messages with - | Some nb_of_messages -> ( - match Sc_rollup.Number_of_messages.of_int32 nb_of_messages with - | None -> - failwith - "Parameter '%ld' is out of bounds, it should be between %ld \ - and %ld" - nb_of_messages - Sc_rollup.Number_of_messages.min_int - Sc_rollup.Number_of_messages.max_int - | Some nb_of_messages -> return nb_of_messages) - | None -> - failwith "'%s' is not valid, should be a int32 value" nb_of_messages) - let number_of_ticks_parameter = Clic.parameter (fun _ nb_of_ticks -> match Int32.of_string_opt nb_of_ticks with diff --git a/src/proto_alpha/lib_client/client_proto_args.mli b/src/proto_alpha/lib_client/client_proto_args.mli index d12407b13401..180ec8580ccf 100644 --- a/src/proto_alpha/lib_client/client_proto_args.mli +++ b/src/proto_alpha/lib_client/client_proto_args.mli @@ -259,9 +259,6 @@ module Sc_rollup_params : sig val compressed_state_parameter : (Sc_rollup.State_hash.t, full) Clic.parameter - val number_of_messages_parameter : - (Sc_rollup.Number_of_messages.t, full) Clic.parameter - val number_of_ticks_parameter : (Sc_rollup.Number_of_ticks.t, full) Clic.parameter end diff --git a/src/proto_alpha/lib_client/mockup.ml b/src/proto_alpha/lib_client/mockup.ml index 16734e86ee54..b851e9a461ec 100644 --- a/src/proto_alpha/lib_client/mockup.ml +++ b/src/proto_alpha/lib_client/mockup.ml @@ -57,7 +57,7 @@ module Protocol_constants_overrides = struct enable : bool option; origination_size : int option; challenge_window_in_blocks : int option; - max_available_messages : int option; + max_number_of_messages_per_commitment_period : int option; stake_amount : Tez.t option; commitment_period_in_blocks : int option; max_lookahead_in_blocks : int32 option; @@ -192,7 +192,7 @@ module Protocol_constants_overrides = struct ( c.enable, c.origination_size, c.challenge_window_in_blocks, - c.max_available_messages, + c.max_number_of_messages_per_commitment_period, c.stake_amount, c.commitment_period_in_blocks, c.max_lookahead_in_blocks, @@ -202,7 +202,7 @@ module Protocol_constants_overrides = struct (fun ( sc_rollup_enable, sc_rollup_origination_size, sc_rollup_challenge_window_in_blocks, - sc_rollup_max_available_messages, + sc_rollup_max_number_of_messages_per_commitment_period, sc_rollup_stake_amount, sc_rollup_commitment_period_in_blocks, sc_rollup_max_lookahead_in_blocks, @@ -213,7 +213,8 @@ module Protocol_constants_overrides = struct enable = sc_rollup_enable; origination_size = sc_rollup_origination_size; challenge_window_in_blocks = sc_rollup_challenge_window_in_blocks; - max_available_messages = sc_rollup_max_available_messages; + max_number_of_messages_per_commitment_period = + sc_rollup_max_number_of_messages_per_commitment_period; stake_amount = sc_rollup_stake_amount; commitment_period_in_blocks = sc_rollup_commitment_period_in_blocks; max_lookahead_in_blocks = sc_rollup_max_lookahead_in_blocks; @@ -227,7 +228,7 @@ module Protocol_constants_overrides = struct (opt "sc_rollup_enable" bool) (opt "sc_rollup_origination_size" int31) (opt "sc_rollup_challenge_window_in_blocks" int31) - (opt "sc_rollup_max_available_messages" int31) + (opt "sc_rollup_max_number_of_messages_per_commitment_period" int31) (opt "sc_rollup_stake_amount" Tez.encoding) (opt "sc_rollup_commitment_period_in_blocks" int31) (opt "sc_rollup_max_lookahead_in_blocks" int32) @@ -503,8 +504,10 @@ module Protocol_constants_overrides = struct origination_size = Some parametric.sc_rollup.origination_size; challenge_window_in_blocks = Some parametric.sc_rollup.challenge_window_in_blocks; - max_available_messages = - Some parametric.sc_rollup.max_available_messages; + max_number_of_messages_per_commitment_period = + Some + parametric.sc_rollup + .max_number_of_messages_per_commitment_period; stake_amount = Some parametric.sc_rollup.stake_amount; commitment_period_in_blocks = Some parametric.sc_rollup.commitment_period_in_blocks; @@ -597,7 +600,7 @@ module Protocol_constants_overrides = struct enable = None; origination_size = None; challenge_window_in_blocks = None; - max_available_messages = None; + max_number_of_messages_per_commitment_period = None; stake_amount = None; commitment_period_in_blocks = None; max_lookahead_in_blocks = None; @@ -1071,10 +1074,11 @@ module Protocol_constants_overrides = struct Option.value ~default:c.sc_rollup.challenge_window_in_blocks o.sc_rollup.challenge_window_in_blocks; - max_available_messages = + max_number_of_messages_per_commitment_period = Option.value - ~default:c.sc_rollup.max_available_messages - o.sc_rollup.max_available_messages; + ~default: + c.sc_rollup.max_number_of_messages_per_commitment_period + o.sc_rollup.max_number_of_messages_per_commitment_period; stake_amount = Option.value ~default:c.sc_rollup.stake_amount diff --git a/src/proto_alpha/lib_client_commands/client_proto_context_commands.ml b/src/proto_alpha/lib_client_commands/client_proto_context_commands.ml index 38b640fbf880..55bcd59fb8a8 100644 --- a/src/proto_alpha/lib_client_commands/client_proto_context_commands.ml +++ b/src/proto_alpha/lib_client_commands/client_proto_context_commands.ml @@ -2722,11 +2722,6 @@ let commands_rw () = ~name:"predecessor" ~desc:"The hash of the commitment's predecessor" Sc_rollup_params.commitment_hash_parameter - @@ prefixes ["and"; "number"; "of"; "messages"] - @@ param - ~name:"number_of_messages" - ~desc:"The number of messages for the commitment." - Sc_rollup_params.number_of_messages_parameter @@ prefixes ["and"; "number"; "of"; "ticks"] @@ param ~name:"number_of_ticks" @@ -2745,7 +2740,6 @@ let commands_rw () = compressed_state inbox_level predecessor - number_of_messages number_of_ticks cctxt -> (match source with @@ -2755,13 +2749,7 @@ let commands_rw () = >>=? fun source -> Client_keys.get_key cctxt source >>=? fun (_, src_pk, src_sk) -> let commitment : Alpha_context.Sc_rollup.Commitment.t = - { - compressed_state; - inbox_level; - predecessor; - number_of_messages; - number_of_ticks; - } + {compressed_state; inbox_level; predecessor; number_of_ticks} in sc_rollup_publish cctxt diff --git a/src/proto_alpha/lib_parameters/default_parameters.ml b/src/proto_alpha/lib_parameters/default_parameters.ml index 256cea8a1ac7..2873fa294e62 100644 --- a/src/proto_alpha/lib_parameters/default_parameters.ml +++ b/src/proto_alpha/lib_parameters/default_parameters.ml @@ -201,9 +201,9 @@ let constants_mainnet = origination_size = 6_314; challenge_window_in_blocks = sc_rollup_challenge_window_in_blocks; (* The following value is chosen to limit the length of inbox refutation proofs. *) - (* TODO: https://gitlab.com/tezos/tezos/-/issues/2556 - The follow constants need to be refined. *) - max_available_messages = 1_000_000; + (* TODO: https://gitlab.com/tezos/tezos/-/issues/2373 + check this is reasonable. *) + max_number_of_messages_per_commitment_period = 32_765; (* TODO: https://gitlab.com/tezos/tezos/-/issues/2756 The following constants need to be refined. *) stake_amount = Tez.of_mutez_exn 10_000_000_000L; diff --git a/src/proto_alpha/lib_protocol/alpha_context.mli b/src/proto_alpha/lib_protocol/alpha_context.mli index 195a5b0c6de8..b3296fb5c60e 100644 --- a/src/proto_alpha/lib_protocol/alpha_context.mli +++ b/src/proto_alpha/lib_protocol/alpha_context.mli @@ -801,7 +801,7 @@ module Constants : sig enable : bool; origination_size : int; challenge_window_in_blocks : int; - max_available_messages : int; + max_number_of_messages_per_commitment_period : int; stake_amount : Tez.t; commitment_period_in_blocks : int; max_lookahead_in_blocks : int32; @@ -980,7 +980,7 @@ module Constants : sig val sc_rollup_origination_size : context -> int - val sc_rollup_max_available_messages : context -> int + val sc_rollup_max_number_of_messages_per_commitment_period : context -> int val sc_rollup_stake_amount : t -> Tez.t @@ -2799,10 +2799,6 @@ module Sc_rollup : sig val inbox_level : t -> Raw_level.t - val number_of_available_messages : t -> Z.t - - val consume_n_messages : int32 -> t -> t option tzresult - type history_proof module Hash : sig @@ -3200,12 +3196,6 @@ module Sc_rollup : sig val reference_initial_state_hash : State_hash.t end - module Number_of_messages : sig - include Bounded.Int32.S - - val zero : t - end - module Number_of_ticks : sig include Bounded.Int32.S @@ -3219,7 +3209,6 @@ module Sc_rollup : sig compressed_state : State_hash.t; inbox_level : Raw_level.t; predecessor : Hash.t; - number_of_messages : Number_of_messages.t; number_of_ticks : Number_of_ticks.t; } diff --git a/src/proto_alpha/lib_protocol/constants_parametric_repr.ml b/src/proto_alpha/lib_protocol/constants_parametric_repr.ml index ff05aeeed3cf..208eae3ed63d 100644 --- a/src/proto_alpha/lib_protocol/constants_parametric_repr.ml +++ b/src/proto_alpha/lib_protocol/constants_parametric_repr.ml @@ -98,7 +98,7 @@ type sc_rollup = { enable : bool; origination_size : int; challenge_window_in_blocks : int; - max_available_messages : int; + max_number_of_messages_per_commitment_period : int; stake_amount : Tez_repr.t; commitment_period_in_blocks : int; max_lookahead_in_blocks : int32; @@ -231,7 +231,7 @@ let sc_rollup_encoding = ( c.enable, c.origination_size, c.challenge_window_in_blocks, - c.max_available_messages, + c.max_number_of_messages_per_commitment_period, c.stake_amount, c.commitment_period_in_blocks, c.max_lookahead_in_blocks, @@ -241,7 +241,7 @@ let sc_rollup_encoding = (fun ( sc_rollup_enable, sc_rollup_origination_size, sc_rollup_challenge_window_in_blocks, - sc_rollup_max_available_messages, + sc_rollup_max_number_of_messages_per_commitment_period, sc_rollup_stake_amount, sc_rollup_commitment_period_in_blocks, sc_rollup_max_lookahead_in_blocks, @@ -252,7 +252,8 @@ let sc_rollup_encoding = enable = sc_rollup_enable; origination_size = sc_rollup_origination_size; challenge_window_in_blocks = sc_rollup_challenge_window_in_blocks; - max_available_messages = sc_rollup_max_available_messages; + max_number_of_messages_per_commitment_period = + sc_rollup_max_number_of_messages_per_commitment_period; stake_amount = sc_rollup_stake_amount; commitment_period_in_blocks = sc_rollup_commitment_period_in_blocks; max_lookahead_in_blocks = sc_rollup_max_lookahead_in_blocks; @@ -265,7 +266,7 @@ let sc_rollup_encoding = (req "sc_rollup_enable" bool) (req "sc_rollup_origination_size" int31) (req "sc_rollup_challenge_window_in_blocks" int31) - (req "sc_rollup_max_available_messages" int31) + (req "sc_rollup_max_number_of_messages_per_commitment_period" int31) (req "sc_rollup_stake_amount" Tez_repr.encoding) (req "sc_rollup_commitment_period_in_blocks" int31) (req "sc_rollup_max_lookahead_in_blocks" int32) diff --git a/src/proto_alpha/lib_protocol/constants_parametric_repr.mli b/src/proto_alpha/lib_protocol/constants_parametric_repr.mli index 94acc0c7c5c3..fd84d92a3b28 100644 --- a/src/proto_alpha/lib_protocol/constants_parametric_repr.mli +++ b/src/proto_alpha/lib_protocol/constants_parametric_repr.mli @@ -88,7 +88,7 @@ type sc_rollup = { enable : bool; origination_size : int; challenge_window_in_blocks : int; - max_available_messages : int; + max_number_of_messages_per_commitment_period : int; stake_amount : Tez_repr.t; (* The period with which commitments are made. *) commitment_period_in_blocks : int; diff --git a/src/proto_alpha/lib_protocol/constants_repr.ml b/src/proto_alpha/lib_protocol/constants_repr.ml index 18fa7f38ba2e..21358c918394 100644 --- a/src/proto_alpha/lib_protocol/constants_repr.ml +++ b/src/proto_alpha/lib_protocol/constants_repr.ml @@ -281,10 +281,11 @@ let check_constants constants = non-negative.") >>? fun () -> error_unless - Compare.Int.(constants.sc_rollup.max_available_messages > 0) + Compare.Int.( + constants.sc_rollup.max_number_of_messages_per_commitment_period > 0) (Invalid_protocol_constants - "The smart contract rollup max available messages must be strictly \ - greater than 0.") + "The smart contract rollup max number of messages per commitment \ + period must be strictly greater than 0.") >>? fun () -> error_unless Tez_repr.(constants.sc_rollup.stake_amount >= zero) diff --git a/src/proto_alpha/lib_protocol/constants_storage.ml b/src/proto_alpha/lib_protocol/constants_storage.ml index f4eb9bb66932..a42b66b2d340 100644 --- a/src/proto_alpha/lib_protocol/constants_storage.ml +++ b/src/proto_alpha/lib_protocol/constants_storage.ml @@ -238,9 +238,9 @@ let sc_rollup_challenge_window_in_blocks c = let sc_rollup = Raw_context.sc_rollup c in sc_rollup.challenge_window_in_blocks -let sc_rollup_max_available_messages c = +let sc_rollup_max_number_of_messages_per_commitment_period c = let sc_rollup = Raw_context.sc_rollup c in - sc_rollup.max_available_messages + sc_rollup.max_number_of_messages_per_commitment_period let sc_rollup_stake_amount c = let sc_rollup = Raw_context.sc_rollup c in diff --git a/src/proto_alpha/lib_protocol/constants_storage.mli b/src/proto_alpha/lib_protocol/constants_storage.mli index 6a92a6560a18..e37e0c6c668c 100644 --- a/src/proto_alpha/lib_protocol/constants_storage.mli +++ b/src/proto_alpha/lib_protocol/constants_storage.mli @@ -141,7 +141,8 @@ val sc_rollup_origination_size : Raw_context.t -> int val sc_rollup_challenge_window_in_blocks : Raw_context.t -> int -val sc_rollup_max_available_messages : Raw_context.t -> int +val sc_rollup_max_number_of_messages_per_commitment_period : + Raw_context.t -> int val sc_rollup_stake_amount : Raw_context.t -> Tez_repr.t diff --git a/src/proto_alpha/lib_protocol/raw_context.ml b/src/proto_alpha/lib_protocol/raw_context.ml index 798cb716ffca..d74517cc48f6 100644 --- a/src/proto_alpha/lib_protocol/raw_context.ml +++ b/src/proto_alpha/lib_protocol/raw_context.ml @@ -982,9 +982,9 @@ let prepare_first_block ~level ~timestamp ctxt = challenge_window_in_blocks = 20_160; (* The following value is chosen to limit the maximal length of an inbox refutation proof. *) - (* TODO: https://gitlab.com/tezos/tezos/-/issues/2556 - The follow constants need to be refined. *) - max_available_messages = 1_000_000; + (* TODO: https://gitlab.com/tezos/tezos/-/issues/2373 + check this is reasonable. *) + max_number_of_messages_per_commitment_period = 32_765; (* TODO: https://gitlab.com/tezos/tezos/-/issues/2756 The following constants need to be refined. *) stake_amount = Tez_repr.of_mutez_exn 10_000_000_000L; diff --git a/src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.ml b/src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.ml index 6b5c40e0762c..db25d0be3bb0 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.ml +++ b/src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.ml @@ -60,63 +60,33 @@ module V1 = struct compressed_state : State_hash.t; inbox_level : Raw_level_repr.t; predecessor : Hash.t; - number_of_messages : Number_of_messages.t; number_of_ticks : Number_of_ticks.t; } - let pp fmt - { - compressed_state; - inbox_level; - predecessor; - number_of_messages; - number_of_ticks; - } = + let pp fmt {compressed_state; inbox_level; predecessor; number_of_ticks} = Format.fprintf fmt "@[SCORU Commitment:@ compressed_state: %a@ inbox_level: %a@ \ - predecessor: %a@ number_of_messages: %ld@ number_of_ticks: %ld@]" + predecessor: %a@ number_of_ticks: %ld@]" State_hash.pp compressed_state Raw_level_repr.pp inbox_level Hash.pp predecessor - (Number_of_messages.to_int32 number_of_messages) (Number_of_ticks.to_int32 number_of_ticks) let encoding = let open Data_encoding in conv - (fun { - compressed_state; - inbox_level; - predecessor; - number_of_messages; - number_of_ticks; - } -> - ( compressed_state, - inbox_level, - predecessor, - number_of_messages, - number_of_ticks )) - (fun ( compressed_state, - inbox_level, - predecessor, - number_of_messages, - number_of_ticks ) -> - { - compressed_state; - inbox_level; - predecessor; - number_of_messages; - number_of_ticks; - }) - (obj5 + (fun {compressed_state; inbox_level; predecessor; number_of_ticks} -> + (compressed_state, inbox_level, predecessor, number_of_ticks)) + (fun (compressed_state, inbox_level, predecessor, number_of_ticks) -> + {compressed_state; inbox_level; predecessor; number_of_ticks}) + (obj4 (req "compressed_state" State_hash.encoding) (req "inbox_level" Raw_level_repr.encoding) (req "predecessor" Hash.encoding) - (req "number_of_messages" Number_of_messages.encoding) (req "number_of_ticks" Number_of_ticks.encoding)) let hash commitment = @@ -128,13 +98,11 @@ module V1 = struct (* For [number_of_messages] and [number_of_ticks] min_value is equal to zero. *) let genesis_commitment ~origination_level ~genesis_state_hash = let open Sc_rollup_repr in - let number_of_messages = Number_of_messages.zero in let number_of_ticks = Number_of_ticks.zero in { compressed_state = genesis_state_hash; inbox_level = origination_level; predecessor = Hash.zero; - number_of_messages; number_of_ticks; } diff --git a/src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.mli b/src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.mli index f7eb05201b51..53fed4aabfd9 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.mli +++ b/src/proto_alpha/lib_protocol/sc_rollup_commitment_repr.mli @@ -39,18 +39,15 @@ end {ul {li assuming the PVM and Inbox are in a state implied by [predecessor]} - {li the PVM consumes [number_of_messages] messages tagged with - [inbox_level] from the Inbox} + {li the PVM consumes all the messages until [inbox_level] (not included) + from the inbox ; } {li the PVM advances to the state [compressed_state] over - [number_of_ticks] ticks } + [number_of_ticks] ticks. } } Commitments are disjoint. The next correct commitment is a function of the previous machine state and Inbox. - [number_of_messages] and [inbox_level] can be proven/disproven by Merkle - proofs on the Inbox state. - [compressed_state] and [number_of_ticks] can be proven/disproven by PVM execution, or equivalently, by an interactive proof game between conflicting parties, such that a correct executor always wins the game. @@ -60,7 +57,6 @@ module V1 : sig compressed_state : State_hash.t; inbox_level : Raw_level_repr.t; predecessor : Hash.t; - number_of_messages : Number_of_messages.t; number_of_ticks : Number_of_ticks.t; } diff --git a/src/proto_alpha/lib_protocol/sc_rollup_errors.ml b/src/proto_alpha/lib_protocol/sc_rollup_errors.ml index 0fd44b809ead..e5dc0c84f84b 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_errors.ml +++ b/src/proto_alpha/lib_protocol/sc_rollup_errors.ml @@ -40,7 +40,6 @@ type error += Sc_rollup_unknown_commitment of Sc_rollup_commitment_repr.Hash.t | (* `Temporary *) Sc_rollup_bad_inbox_level - | (* `Temporary *) Sc_rollup_max_number_of_available_messages_reached | (* `Temporary *) Sc_rollup_game_already_started | (* `Temporary *) Sc_rollup_wrong_turn | (* `Temporary *) Sc_rollup_no_game @@ -66,18 +65,6 @@ type error += } let () = - let description = "Maximum number of available messages reached" in - register_error_kind - `Temporary - ~id:"Sc_rollup_max_number_of_available_messages_reached" - ~title:"Maximum number of available messages reached" - ~description - ~pp:(fun ppf () -> Format.fprintf ppf "%s" description) - Data_encoding.unit - (function - | Sc_rollup_max_number_of_available_messages_reached -> Some () - | _ -> None) - (fun () -> Sc_rollup_max_number_of_available_messages_reached) ; register_error_kind `Temporary ~id:"Sc_rollup_staker_in_game" diff --git a/src/proto_alpha/lib_protocol/sc_rollup_inbox_repr.ml b/src/proto_alpha/lib_protocol/sc_rollup_inbox_repr.ml index a388681e9650..942ca0e522bc 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_inbox_repr.ml +++ b/src/proto_alpha/lib_protocol/sc_rollup_inbox_repr.ml @@ -25,33 +25,27 @@ (** - A Merkelized inbox represents a list of available messages. This list + A Merkelized inbox represents a list of messages. This list is decomposed into sublists of messages, one for each non-empty Tezos level greater than the level of the Last Cemented Commitment (LCC). This module is designed to: - 1. give a constant-time access to the number of available messages ; - - 2. provide a space-efficient representation for proofs of inbox + 1. provide a space-efficient representation for proofs of inbox inclusions (only for inboxes obtained at the end of block validation) ; - 3. offer an efficient function to add a new batch of messages in the + 2. offer an efficient function to add a new batch of messages in the inbox at the current level. - To solve (1), we simply maintain the number of available messages in - a field. - - To solve (2), we use a proof tree H which is implemented by a sparse + To solve (1), we use a proof tree H which is implemented by a sparse merkelized skip list allowing for compact inclusion proofs (See {!skip_list_repr.ml}). - To solve (3), we maintain a separate proof tree C witnessing the + To solve (2), we maintain a separate proof tree C witnessing the contents of messages of the current level. - The protocol maintains the number of available messages, the - hashes of the head of H, and the root hash of C. + The protocol maintains the hashes of the head of H, and the root hash of C. The rollup node needs to maintain a full representation for C and a partial representation for H back to the level of the LCC. @@ -59,8 +53,6 @@ *) type error += Invalid_level_add_messages of Raw_level_repr.t -type error += Invalid_number_of_messages_to_consume of int64 - type error += Inbox_proof_error of string type error += Tried_to_add_zero_messages @@ -78,17 +70,6 @@ let () = (function Invalid_level_add_messages level -> Some level | _ -> None) (fun level -> Invalid_level_add_messages level) ; - register_error_kind - `Permanent - ~id:"sc_rollup_inbox.consume_n_messages" - ~title:"Internal error: Trying to consume a negative number of messages" - ~description: - "Sc_rollup_inbox.consume_n_messages must be called with a non negative \ - integer." - (obj1 (req "consume_n_messages" int64)) - (function Invalid_number_of_messages_to_consume n -> Some n | _ -> None) - (fun n -> Invalid_number_of_messages_to_consume n) ; - register_error_kind `Permanent ~id:"sc_rollup_inbox.inbox_proof_error" @@ -172,7 +153,6 @@ module V1 = struct - [rollup] : the address of the rollup ; - [level] : the inbox level ; - [message_counter] : the number of messages in the [level]'s inbox ; - - [nb_available_messages] : the number of messages that have not been consumed by a commitment cementing ; - [nb_messages_in_commitment_period] : the number of messages during the commitment period ; @@ -194,7 +174,6 @@ module V1 = struct type t = { rollup : Sc_rollup_repr.t; level : Raw_level_repr.t; - nb_available_messages : int64; nb_messages_in_commitment_period : int64; starting_level_of_current_commitment_period : Raw_level_repr.t; message_counter : Z.t; @@ -208,7 +187,6 @@ module V1 = struct let { rollup; level; - nb_available_messages; nb_messages_in_commitment_period; starting_level_of_current_commitment_period; message_counter; @@ -219,7 +197,6 @@ module V1 = struct in Sc_rollup_repr.Address.equal rollup inbox2.rollup && Raw_level_repr.equal level inbox2.level - && Compare.Int64.(equal nb_available_messages inbox2.nb_available_messages) && Compare.Int64.( equal nb_messages_in_commitment_period @@ -236,7 +213,6 @@ module V1 = struct { rollup; level; - nb_available_messages; nb_messages_in_commitment_period; starting_level_of_current_commitment_period; message_counter; @@ -249,7 +225,6 @@ module V1 = struct rollup = %a level = %a current messages hash = %a - nb_available_messages = %Ld nb_messages_in_commitment_period = %s starting_level_of_current_commitment_period = %a message_counter = %a @@ -261,7 +236,6 @@ module V1 = struct level Hash.pp (current_level_hash ()) - nb_available_messages (Int64.to_string nb_messages_in_commitment_period) Raw_level_repr.pp starting_level_of_current_commitment_period @@ -285,7 +259,6 @@ module V1 = struct (fun { rollup; message_counter; - nb_available_messages; nb_messages_in_commitment_period; starting_level_of_current_commitment_period; level; @@ -294,7 +267,6 @@ module V1 = struct } -> ( rollup, message_counter, - nb_available_messages, nb_messages_in_commitment_period, starting_level_of_current_commitment_period, level, @@ -302,7 +274,6 @@ module V1 = struct old_levels_messages )) (fun ( rollup, message_counter, - nb_available_messages, nb_messages_in_commitment_period, starting_level_of_current_commitment_period, level, @@ -311,17 +282,15 @@ module V1 = struct { rollup; message_counter; - nb_available_messages; nb_messages_in_commitment_period; starting_level_of_current_commitment_period; level; current_level_hash = (fun () -> current_level_hash); old_levels_messages; }) - (obj8 + (obj7 (req "rollup" Sc_rollup_repr.encoding) (req "message_counter" n) - (req "nb_available_messages" int64) (req "nb_messages_in_commitment_period" int64) (req "starting_level_of_current_commitment_period" @@ -330,9 +299,6 @@ module V1 = struct (req "current_level_hash" Hash.encoding) (req "old_levels_messages" old_levels_messages_encoding))) - let number_of_available_messages inbox = - Z.of_int64 inbox.nb_available_messages - let number_of_messages_during_commitment_period inbox = inbox.nb_messages_in_commitment_period @@ -345,16 +311,6 @@ module V1 = struct let starting_level_of_current_commitment_period inbox = inbox.starting_level_of_current_commitment_period - - let consume_n_messages n ({nb_available_messages; _} as inbox) : - t option tzresult = - let n = Int64.of_int32 n in - if Compare.Int64.(n < 0L) then - error (Invalid_number_of_messages_to_consume n) - else if Compare.Int64.(n > nb_available_messages) then ok None - else - let nb_available_messages = Int64.(sub nb_available_messages n) in - ok (Some {inbox with nb_available_messages}) end type versioned = V1 of V1.t @@ -523,7 +479,6 @@ struct let open Lwt_tzresult_syntax in let message_index = inbox.message_counter in let message_counter = Z.succ message_index in - let nb_available_messages = Int64.succ inbox.nb_available_messages in let*! level_tree = Tree.add level_tree @@ -543,7 +498,6 @@ struct level = inbox.level; old_levels_messages = inbox.old_levels_messages; message_counter; - nb_available_messages; nb_messages_in_commitment_period; } in @@ -712,7 +666,6 @@ struct inbox.starting_level_of_current_commitment_period; current_level_hash = inbox.current_level_hash; rollup = inbox.rollup; - nb_available_messages = inbox.nb_available_messages; nb_messages_in_commitment_period = inbox.nb_messages_in_commitment_period; old_levels_messages; @@ -1218,7 +1171,6 @@ struct rollup; level; message_counter = Z.zero; - nb_available_messages = 0L; nb_messages_in_commitment_period = 0L; starting_level_of_current_commitment_period = level; current_level_hash = (fun () -> initial_hash); diff --git a/src/proto_alpha/lib_protocol/sc_rollup_inbox_repr.mli b/src/proto_alpha/lib_protocol/sc_rollup_inbox_repr.mli index b477f0d13e91..14f82cb37e39 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_inbox_repr.mli +++ b/src/proto_alpha/lib_protocol/sc_rollup_inbox_repr.mli @@ -53,12 +53,12 @@ A message processed by the rollup can be consumed or available. A message unprocessed by the rollup is always available. - The number of available messages is bounded by - {!Constants_storage.sc_rollup_max_available_messages}. When an inbox - reaches the maximum number of available messages, the inbox is said - to be full and cannot accept more messages. This limitation is - meant to ensure that Merkle proofs about the inbox contents have a - bounded size. (See next section.) + The number of messages in a commitment period is bounded by + {!Constants_storage.sc_rollup_max_number_of_messages_per_commitment_period}. + When an inbox reaches the maximum number of messages in the commitment + period, the inbox is said to be full and cannot accept more messages. + This limitation is meant to ensure that Merkle proofs about the inbox + contents have a bounded size. (See next section.) {1 Merkelization of the inbox} @@ -174,10 +174,6 @@ module V1 : sig skip list is kept. *) val old_levels_messages : t -> history_proof - (** [number_of_available_messages inbox] returns the number of - messages that can be consumed in [inbox]. *) - val number_of_available_messages : t -> Z.t - (** [number_of_messages_during_commitment_period inbox] returns the number of messages added in the inbox since the beginning of the current commitment period. *) @@ -190,11 +186,6 @@ module V1 : sig (** [starting_level_of_current_commitment_period inbox] returns the level at the beginning of a current commitment period. *) val starting_level_of_current_commitment_period : t -> Raw_level_repr.t - - (** [consume_n_messages n inbox] returns an inbox where [n] messages have - been consumed, or [None] if there are strictly less than [n] messages - available in [inbox]. *) - val consume_n_messages : int32 -> t -> t option tzresult end (** Versioning, see {!Sc_rollup_data_version_sig.S} for more information. *) diff --git a/src/proto_alpha/lib_protocol/sc_rollup_inbox_storage.ml b/src/proto_alpha/lib_protocol/sc_rollup_inbox_storage.ml index 5bbc4a3e7b63..b5197a82cd04 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_inbox_storage.ml +++ b/src/proto_alpha/lib_protocol/sc_rollup_inbox_storage.ml @@ -40,24 +40,17 @@ let inbox ctxt rollup = | None -> fail (Sc_rollup_does_not_exist rollup) | Some inbox -> return (inbox, ctxt) -let assert_inbox_size_ok ctxt inbox extra_num_messages = - let next_size = - Z.add - (Sc_rollup_inbox_repr.number_of_available_messages inbox) - (Z.of_int extra_num_messages) - in - let max_size = Constants_storage.sc_rollup_max_available_messages ctxt in - fail_unless - Compare.Z.(next_size <= Z.of_int max_size) - Sc_rollup_max_number_of_available_messages_reached - -let assert_inbox_nb_messages_in_commitment_period inbox extra_messages = +let assert_inbox_nb_messages_in_commitment_period ctxt inbox extra_messages = let nb_messages_in_commitment_period = Int64.add (Sc_rollup_inbox_repr.number_of_messages_during_commitment_period inbox) (Int64.of_int extra_messages) in - let limit = Int64.of_int32 Sc_rollup_repr.Number_of_messages.max_int in + let limit = + Constants_storage.sc_rollup_max_number_of_messages_per_commitment_period + ctxt + |> Int64.of_int + in fail_when Compare.Int64.(nb_messages_in_commitment_period > limit) Sc_rollup_max_number_of_messages_reached_for_commitment_period @@ -88,7 +81,6 @@ let add_messages ctxt rollup messages = (0, 0, ctxt) messages in - let* () = assert_inbox_size_ok ctxt inbox num_messages in let start = Sc_rollup_inbox_repr.starting_level_of_current_commitment_period inbox in @@ -108,7 +100,9 @@ let add_messages ctxt rollup messages = Sc_rollup_inbox_repr.start_new_commitment_period inbox new_starting_level) else inbox in - let* () = assert_inbox_nb_messages_in_commitment_period inbox num_messages in + let* () = + assert_inbox_nb_messages_in_commitment_period ctxt inbox num_messages + in let inbox_level = Sc_rollup_inbox_repr.inbox_level inbox in let* genesis_info = Storage.Sc_rollup.Genesis_info.get ctxt rollup in let origination_level = genesis_info.level in diff --git a/src/proto_alpha/lib_protocol/sc_rollup_repr.ml b/src/proto_alpha/lib_protocol/sc_rollup_repr.ml index c33418510602..b541fb1ff35a 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_repr.ml +++ b/src/proto_alpha/lib_protocol/sc_rollup_repr.ml @@ -209,22 +209,6 @@ module Index = struct let compare = Address.compare end -module Number_of_messages = struct - include Bounded.Int32.Make (struct - let min_int = 0l - - let max_int = 4096l - (* TODO: check this is reasonable. - See https://gitlab.com/tezos/tezos/-/issues/2373 - *) - end) - - let zero = - match of_int32 0l with - | Some zero -> zero - | None -> assert false (* unreachable case, since [min_int = 0l] *) -end - module Number_of_ticks = struct include Bounded.Int32.Make (struct let min_int = 0l diff --git a/src/proto_alpha/lib_protocol/sc_rollup_repr.mli b/src/proto_alpha/lib_protocol/sc_rollup_repr.mli index 54822fd22e3d..42967ec9d027 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_repr.mli +++ b/src/proto_alpha/lib_protocol/sc_rollup_repr.mli @@ -77,17 +77,6 @@ module State_hash : sig val hash_string : unreachable -> t end -(** Number of messages consumed by a single commitment. This represents a claim - about the shape of the Inbox, which can be disputed as part of a commitment - dispute. - - See also {!Commitment_repr.}. *) -module Number_of_messages : sig - include Bounded.Int32.S - - val zero : t -end - (** Number of ticks computed by a single commitment. This represents a claim about the state of the PVM, which can be disputed as part of a commitment dispute. diff --git a/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.ml b/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.ml index bb090522fe5f..959c564df0ad 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.ml +++ b/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.ml @@ -246,10 +246,10 @@ let increase_commitment_stake_count ctxt rollup node = in return (size_diff, ctxt) -(* 77 for Commitments entry + 4 for Commitment_stake_count entry +(* 73 for Commitments entry + 4 for Commitment_stake_count entry + 4 for Commitment_added entry + 0 for Staker_count_update entry *) -let commitment_storage_size_in_bytes = 85 +let commitment_storage_size_in_bytes = 81 let refine_stake ctxt rollup staker staked_on commitment = let open Lwt_tzresult_syntax in @@ -320,17 +320,6 @@ let publish_commitment ctxt rollup staker commitment = in (commitment_hash, ctxt, level, balance_updates) -(** Try to consume n messages. *) -let consume_n_messages ctxt rollup n = - let open Lwt_tzresult_syntax in - let* ctxt, inbox = Store.Inbox.get ctxt rollup in - Sc_rollup_inbox_repr.consume_n_messages n inbox >>?= function - | None -> return ctxt - | Some inbox -> - let* ctxt, size = Store.Inbox.update ctxt rollup inbox in - assert (Compare.Int.(size <= 0)) ; - return ctxt - let cement_commitment ctxt rollup new_lcc = let open Lwt_tzresult_syntax in let refutation_deadline_blocks = @@ -380,12 +369,7 @@ let cement_commitment ctxt rollup new_lcc = on the new LCC, and no one is directly staked on the old LCC. We can safely deallocate the old LCC. *) - let* ctxt = deallocate ctxt rollup old_lcc in - consume_n_messages - ctxt - rollup - (Sc_rollup_repr.Number_of_messages.to_int32 - new_lcc_commitment.number_of_messages) + deallocate ctxt rollup old_lcc let remove_staker ctxt rollup staker = let open Lwt_tzresult_syntax in diff --git a/src/proto_alpha/lib_protocol/test/integration/operations/test_sc_rollup.ml b/src/proto_alpha/lib_protocol/test/integration/operations/test_sc_rollup.ml index c4633205897b..e6b0457ae9ac 100644 --- a/src/proto_alpha/lib_protocol/test/integration/operations/test_sc_rollup.ml +++ b/src/proto_alpha/lib_protocol/test/integration/operations/test_sc_rollup.ml @@ -160,11 +160,6 @@ let init_and_originate ?boot_sector ?origination_proof in return (block, contracts, rollup) -let number_of_messages_exn n = - match Sc_rollup.Number_of_messages.of_int32 n with - | Some x -> x - | None -> Stdlib.failwith "Bad Number_of_messages" - let number_of_ticks_exn n = match Sc_rollup.Number_of_ticks.of_int32 n with | Some x -> x @@ -194,7 +189,6 @@ let dummy_commitment ctxt rollup = { predecessor; inbox_level; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 3000l; compressed_state; } @@ -1383,6 +1377,37 @@ let test_insufficient_ticket_balances () = ~source output) +let test_inbox_max_number_of_messages_per_commitment_period () = + let* block, (account1, account2) = context_init Context.T2 in + let* block, rollup = sc_originate block account1 "unit" in + let* constants = Context.get_constants (B block) in + let Constants.Parametric.{max_number_of_messages_per_commitment_period; _} = + constants.parametric.sc_rollup + in + let* incr = Incremental.begin_construction block in + (* This just one message below the limit *) + let messages = + List.repeat max_number_of_messages_per_commitment_period "foo" + in + let* op = Op.sc_rollup_add_messages (I incr) account1 rollup messages in + let* incr = Incremental.add_operation ~check_size:false incr op in + (* This break the limit *) + let* op = Op.sc_rollup_add_messages (I incr) account2 rollup ["foo"] in + let expect_apply_failure = function + | Environment.Ecoproto_error + (Sc_rollup_errors + .Sc_rollup_max_number_of_messages_reached_for_commitment_period as e) + :: _ -> + Assert.test_error_encodings e ; + return_unit + | _ -> + failwith + "It should have failed with \ + [Sc_rollup_max_number_of_messages_reached_for_commitment_period" + in + let* _incr = Incremental.add_operation ~expect_apply_failure incr op in + return_unit + let tests = [ Tztest.tztest @@ -1459,4 +1484,8 @@ let tests = "insufficient ticket balances" `Quick test_insufficient_ticket_balances; + Tztest.tztest + "inbox max number of messages during commitment period" + `Quick + test_inbox_max_number_of_messages_per_commitment_period; ] diff --git a/src/proto_alpha/lib_protocol/test/integration/precheck/manager_operation_helpers.ml b/src/proto_alpha/lib_protocol/test/integration/precheck/manager_operation_helpers.ml index 90fd7a2055e4..8da4b8410453 100644 --- a/src/proto_alpha/lib_protocol/test/integration/precheck/manager_operation_helpers.ml +++ b/src/proto_alpha/lib_protocol/test/integration/precheck/manager_operation_helpers.ml @@ -532,11 +532,6 @@ let mk_sc_rollup_origination ?counter ?fee ?gas_limit ?storage_limit op let sc_dummy_commitment = - let number_of_messages = - match Sc_rollup.Number_of_messages.of_int32 3l with - | None -> assert false - | Some x -> x - in let number_of_ticks = match Sc_rollup.Number_of_ticks.of_int32 3000l with | None -> assert false @@ -546,7 +541,6 @@ let sc_dummy_commitment = { predecessor = Sc_rollup.Commitment.Hash.zero; inbox_level = Raw_level.of_int32_exn Int32.zero; - number_of_messages; number_of_ticks; compressed_state = Sc_rollup.State_hash.zero; } diff --git a/src/proto_alpha/lib_protocol/test/integration/test_constants.ml b/src/proto_alpha/lib_protocol/test/integration/test_constants.ml index 1e14f31bc583..610929ef0116 100644 --- a/src/proto_alpha/lib_protocol/test/integration/test_constants.ml +++ b/src/proto_alpha/lib_protocol/test/integration/test_constants.ml @@ -118,8 +118,6 @@ let test_sc_rollup_max_commitment_storage_cost_lt_deposit () = *) let test_sc_rollup_commitment_storage_size () = let open Protocol in - Assert.get_some ~loc:__LOC__ (Sc_rollup_repr.Number_of_messages.of_int32 3l) - >>=? fun number_of_messages -> Assert.get_some ~loc:__LOC__ (Sc_rollup_repr.Number_of_ticks.of_int32 1232909l) @@ -129,7 +127,6 @@ let test_sc_rollup_commitment_storage_size () = { predecessor = Sc_rollup_commitment_repr.Hash.zero; inbox_level = Raw_level_repr.of_int32_exn 21l; - number_of_messages; number_of_ticks; compressed_state = Sc_rollup_repr.State_hash.zero; } diff --git a/src/proto_alpha/lib_protocol/test/pbt/test_refutation_game.ml b/src/proto_alpha/lib_protocol/test/pbt/test_refutation_game.ml index 86cdb5fd563e..45bc79564129 100644 --- a/src/proto_alpha/lib_protocol/test/pbt/test_refutation_game.ml +++ b/src/proto_alpha/lib_protocol/test/pbt/test_refutation_game.ml @@ -69,22 +69,16 @@ let proof_start_state proof = proof.start let proof_stop_state proof = proof.stop -let number_of_messages_exn n = - match Number_of_messages.of_int32 n with - | Some x -> x - | None -> Stdlib.failwith "Bad Number_of_messages" - let number_of_ticks_exn n = match Number_of_ticks.of_int32 n with | Some x -> x | None -> Stdlib.failwith "Bad Number_of_ticks" -let get_comm pred inbox_level messages ticks state = +let get_comm pred inbox_level ticks state = Commitment. { predecessor = pred; inbox_level = Raw_level.of_int32_exn inbox_level; - number_of_messages = number_of_messages_exn messages; number_of_ticks = number_of_ticks_exn ticks; compressed_state = state; } @@ -621,10 +615,8 @@ module Strategies (PVM : TestPVM with type hash = State_hash.t) = struct in let int_tick = tick_to_int_exn tick in let number_of_ticks = Int32.of_int int_tick in - let parent = get_comm Commitment.Hash.zero 0l 3l 1l start_hash in - let child = - get_comm Commitment.Hash.zero 0l 3l number_of_ticks initial_hash - in + let parent = get_comm Commitment.Hash.zero 0l 1l start_hash in + let child = get_comm Commitment.Hash.zero 0l number_of_ticks initial_hash in let initial_game = Game.initial inbox diff --git a/src/proto_alpha/lib_protocol/test/pbt/test_sc_rollup_encoding.ml b/src/proto_alpha/lib_protocol/test/pbt/test_sc_rollup_encoding.ml index c6c648385f64..4e3d526a4623 100644 --- a/src/proto_alpha/lib_protocol/test/pbt/test_sc_rollup_encoding.ml +++ b/src/proto_alpha/lib_protocol/test/pbt/test_sc_rollup_encoding.ml @@ -54,12 +54,6 @@ let gen_commitment_hash = let* bytes = bytes_fixed_gen Sc_rollup_commitment_repr.Hash.size in return (Sc_rollup_commitment_repr.Hash.of_bytes_exn bytes) -let gen_number_of_messages = - let open Gen in - let open Sc_rollup_repr.Number_of_messages in - let* v = int32_range_gen min_int max_int in - return (WithExceptions.Option.get ~loc:__LOC__ (of_int32 v)) - let gen_number_of_ticks = let open Gen in let open Sc_rollup_repr.Number_of_ticks in @@ -71,17 +65,10 @@ let gen_commitment = let* compressed_state = gen_state_hash and* inbox_level = gen_raw_level and* predecessor = gen_commitment_hash - and* number_of_messages = gen_number_of_messages and* number_of_ticks = gen_number_of_ticks in return Sc_rollup_commitment_repr. - { - compressed_state; - inbox_level; - predecessor; - number_of_messages; - number_of_ticks; - } + {compressed_state; inbox_level; predecessor; number_of_ticks} let gen_versioned_commitment = let open Gen in diff --git a/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_game.ml b/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_game.ml index 33d0bb332de4..cf710b7e13aa 100644 --- a/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_game.ml +++ b/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_game.ml @@ -104,7 +104,6 @@ let two_stakers_in_conflict () = { predecessor = genesis_hash; inbox_level = T.valid_inbox_level ctxt 1l; - number_of_messages = T.number_of_messages_exn 5l; number_of_ticks = T.number_of_ticks_exn 152231l; compressed_state = hash1; } @@ -122,7 +121,6 @@ let two_stakers_in_conflict () = { predecessor = parent; inbox_level = T.valid_inbox_level ctxt 2l; - number_of_messages = T.number_of_messages_exn 2l; number_of_ticks = T.number_of_ticks_exn 10000l; compressed_state = hash2; } @@ -132,7 +130,6 @@ let two_stakers_in_conflict () = { predecessor = parent; inbox_level = T.valid_inbox_level ctxt 2l; - number_of_messages = T.number_of_messages_exn 2l; number_of_ticks = T.number_of_ticks_exn 10000l; compressed_state = hash3; } @@ -246,12 +243,11 @@ let staker_injectivity_gen ~refuter2_plays = { predecessor = genesis_hash; inbox_level = T.valid_inbox_level ctxt 1l; - number_of_messages = T.number_of_messages_exn 5l; number_of_ticks = T.number_of_ticks_exn 152231l; compressed_state = hash1; } in - let* c1hash, _, ctxt = + let* c1_hash, _, ctxt = T.lift @@ Sc_rollup_stake_storage.Internal_for_tests.refine_stake ctxt @@ -262,9 +258,8 @@ let staker_injectivity_gen ~refuter2_plays = let challenging_commit compressed_state = Commitment_repr. { - predecessor = c1hash; + predecessor = c1_hash; inbox_level = T.valid_inbox_level ctxt 2l; - number_of_messages = T.number_of_messages_exn 4l; number_of_ticks = T.number_of_ticks_exn 10000l; compressed_state; } diff --git a/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_inbox.ml b/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_inbox.ml index 4fb773bb8fbd..dd18010523c9 100644 --- a/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_inbox.ml +++ b/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_inbox.ml @@ -51,7 +51,7 @@ let test_empty () = create_context () >>=? fun ctxt -> empty ctxt rollup level >>= fun inbox -> fail_unless - Z.(equal (number_of_available_messages inbox) zero) + Compare.Int64.(equal (number_of_messages_during_commitment_period inbox) 0L) (err "An empty inbox should have no available message.") let setup_inbox_with_messages list_of_payloads f = @@ -89,29 +89,11 @@ let test_add_messages payloads = setup_inbox_with_messages [payloads] @@ fun _ctxt _messages _history inbox _inboxes -> fail_unless - Z.(equal (number_of_available_messages inbox) (of_int nb_payloads)) - (err "Invalid number of available messages.") - -let test_consume_messages (payloads, nb_consumed_messages) = - let nb_payloads = List.length payloads |> Int32.of_int in - setup_inbox_with_messages [payloads] - @@ fun _ctxt _messages _history inbox _inboxes -> - consume_n_messages nb_consumed_messages inbox |> Environment.wrap_tzresult - >>?= function - | Some inbox -> - let available_messages = Int32.sub nb_payloads nb_consumed_messages in - fail_unless - Z.( - equal - (number_of_available_messages inbox) - (of_int32 available_messages)) - (err "Invalid number of available messages.") - | None -> - fail_unless - (nb_consumed_messages > nb_payloads) - (err - "Message consumption fails only when trying to consume more than \ - the number of available messages.") + Compare.Int64.( + equal + (number_of_messages_during_commitment_period inbox) + (Int64.of_int nb_payloads)) + (err "Invalid number of messages during commitment period.") (* An external message is prefixed with a tag whose length is one byte, and whose value is 1. *) @@ -448,13 +430,6 @@ let tests = ~name:"Get message payload." QCheck2.Gen.(list_size (1 -- 50) bounded_string) test_get_message_payload; - Tztest.tztest_qcheck2 - ~name:"Consume only available messages." - QCheck2.Gen.( - let* l = list_size (1 -- 50) bounded_string in - let* n = 0 -- ((List.length l * 2) + 1) in - return (l, Int32.of_int n)) - test_consume_messages; ] @ let gen_inclusion_proof_inputs = diff --git a/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_storage.ml b/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_storage.ml index 79fd7bd52780..cd6c41e770d8 100644 --- a/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_storage.ml +++ b/src/proto_alpha/lib_protocol/test/unit/test_sc_rollup_storage.ml @@ -412,11 +412,6 @@ let test_withdrawing_twice () = (Sc_rollup_stake_storage.withdraw_stake ctxt rollup staker) Sc_rollup_errors.Sc_rollup_not_staked -let number_of_messages_exn n = - match Sc_rollup_repr.Number_of_messages.of_int32 n with - | Some x -> x - | None -> Stdlib.failwith "Bad Number_of_messages" - let number_of_ticks_exn n = match Sc_rollup_repr.Number_of_ticks.of_int32 n with | Some x -> x @@ -448,7 +443,6 @@ let test_deposit_then_refine () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero (* genesis.compressed_state; *); @@ -476,7 +470,6 @@ let test_deposit_then_refine_bad_inbox () = { predecessor = genesis_hash; inbox_level = Raw_level_repr.of_int32_exn 22l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -503,7 +496,6 @@ let test_publish () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 5l; number_of_ticks = number_of_ticks_exn 152231l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -522,7 +514,6 @@ let test_publish_returns_oldest_publish_level () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 5l; number_of_ticks = number_of_ticks_exn 152231l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -562,7 +553,6 @@ let test_withdraw_and_cement () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -592,7 +582,6 @@ let test_refine_commitment_different_stakers () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -610,7 +599,6 @@ let test_refine_commitment_different_stakers () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -635,7 +623,6 @@ let test_refine_stake_twice_different_stakers () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -667,7 +654,6 @@ let test_refine_stake_twice_same_staker () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -701,7 +687,6 @@ let test_deposit_then_publish () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 5l; number_of_ticks = number_of_ticks_exn 152231l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -721,7 +706,6 @@ let test_publish_missing_rollup () = { predecessor = Commitment_repr.Hash.zero; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -748,7 +732,6 @@ let test_cement () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -789,7 +772,6 @@ let test_cement_three_commitments () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -806,7 +788,6 @@ let test_cement_three_commitments () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -823,7 +804,6 @@ let test_cement_three_commitments () = { predecessor = c2; inbox_level = level 3l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -856,7 +836,6 @@ let test_cement_then_remove () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -878,64 +857,6 @@ let test_cement_then_remove () = (Sc_rollup_stake_storage.remove_staker ctxt rollup staker) Sc_rollup_errors.Sc_rollup_remove_lcc -let test_cement_consumes_available_messages () = - let* ctxt = new_context () in - let challenge_window = - Constants_storage.sc_rollup_challenge_window_in_blocks ctxt - in - let* rollup, genesis_hash, ctxt = lift @@ new_sc_rollup ctxt in - let staker = - Sc_rollup_repr.Staker.of_b58check_exn "tz1SdKt9kjPp1HRQFkBmXtBhgMfvdgFhSjmG" - in - let* ctxt = deposit_stake_and_check_balances ctxt rollup staker in - let* inbox, _n, ctxt = - lift - @@ Sc_rollup_inbox_storage.add_external_messages - ctxt - rollup - ["one"; "two"; "three"] - in - let available_messages = - Sc_rollup_inbox_repr.number_of_available_messages inbox - in - let commitment = - Commitment_repr. - { - predecessor = genesis_hash; - inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 1l; - number_of_ticks = number_of_ticks_exn 1232909l; - compressed_state = Sc_rollup_repr.State_hash.zero; - } - in - let* c1, _level, ctxt = - lift - @@ Sc_rollup_stake_storage.Internal_for_tests.refine_stake - ctxt - rollup - staker - commitment - in - let ctxt = Raw_context.Internal_for_tests.add_level ctxt challenge_window in - let* ctxt = - lift @@ Sc_rollup_stake_storage.cement_commitment ctxt rollup c1 - in - let* new_inbox, _ctxt = lift @@ Sc_rollup_inbox_storage.inbox ctxt rollup in - let new_available_messages = - Sc_rollup_inbox_repr.number_of_available_messages new_inbox - in - let consumed_messages = - Z.of_int32 - @@ Sc_rollup_repr.Number_of_messages.to_int32 commitment.number_of_messages - in - Assert.equal - ~loc:__LOC__ - Z.equal - "Compare consumed messages" - Z.pp_print - Z.(available_messages - new_available_messages) - consumed_messages - let test_cement_unknown_commitment_fails () = let* ctxt = new_context () in let challenge_window = @@ -970,7 +891,6 @@ let test_cement_with_zero_stakers_fails () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1006,7 +926,6 @@ let test_cement_fail_too_recent () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1045,7 +964,6 @@ let test_cement_deadline_uses_oldest_add_time () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1092,7 +1010,6 @@ let test_last_cemented_commitment_hash_with_level () = { predecessor = genesis_hash; inbox_level; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1133,7 +1050,6 @@ let test_withdrawal_fails_when_not_staked_on_lcc () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1172,7 +1088,6 @@ let test_stake_on_existing_node () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1204,7 +1119,6 @@ let test_cement_with_two_stakers () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1222,7 +1136,6 @@ let test_cement_with_two_stakers () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1254,7 +1167,6 @@ let test_can_remove_staker () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1272,7 +1184,6 @@ let test_can_remove_staker () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1305,7 +1216,6 @@ let test_can_remove_staker2 () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1323,7 +1233,6 @@ let test_can_remove_staker2 () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1356,7 +1265,6 @@ let test_removed_staker_can_not_withdraw () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1374,7 +1282,6 @@ let test_removed_staker_can_not_withdraw () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1405,7 +1312,6 @@ let test_no_cement_on_conflict () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1423,7 +1329,6 @@ let test_no_cement_on_conflict () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 44l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1457,7 +1362,6 @@ let test_no_cement_with_one_staker_at_zero_commitment () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1489,7 +1393,6 @@ let test_non_cemented_parent () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1507,7 +1410,6 @@ let test_non_cemented_parent () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1539,7 +1441,6 @@ let test_finds_conflict_point_at_lcc () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1557,7 +1458,6 @@ let test_finds_conflict_point_at_lcc () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 55l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1590,7 +1490,6 @@ let test_finds_conflict_point_beneath_lcc () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1608,7 +1507,6 @@ let test_finds_conflict_point_beneath_lcc () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1626,8 +1524,7 @@ let test_finds_conflict_point_beneath_lcc () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 4l; - number_of_ticks = number_of_ticks_exn 1232909l; + number_of_ticks = number_of_ticks_exn 7373l; compressed_state = Sc_rollup_repr.State_hash.zero; } in @@ -1660,7 +1557,6 @@ let test_conflict_point_is_first_point_of_disagreement () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1678,7 +1574,6 @@ let test_conflict_point_is_first_point_of_disagreement () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1696,8 +1591,7 @@ let test_conflict_point_is_first_point_of_disagreement () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 4l; - number_of_ticks = number_of_ticks_exn 1232909l; + number_of_ticks = number_of_ticks_exn 7373l; compressed_state = Sc_rollup_repr.State_hash.zero; } in @@ -1714,7 +1608,6 @@ let test_conflict_point_is_first_point_of_disagreement () = { predecessor = c2; inbox_level = level 3l; - number_of_messages = number_of_messages_exn 4l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1758,7 +1651,6 @@ let test_conflict_point_computation_fits_in_gas_limit () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 1l; number_of_ticks = number_of_ticks_exn 1l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1785,8 +1677,7 @@ let test_conflict_point_computation_fits_in_gas_limit () = { predecessor; inbox_level = level i; - number_of_messages = number_of_messages_exn staker_id; - number_of_ticks = number_of_ticks_exn 1l; + number_of_ticks = number_of_ticks_exn staker_id; compressed_state = Sc_rollup_repr.State_hash.zero; } in @@ -1843,7 +1734,6 @@ let test_no_conflict_point_one_staker_at_lcc_preboot () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1888,7 +1778,6 @@ let test_no_conflict_point_one_staker_at_lcc () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1906,7 +1795,6 @@ let test_no_conflict_point_one_staker_at_lcc () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1944,7 +1832,6 @@ let test_no_conflict_point_both_stakers_at_lcc () = { predecessor = genesis_hash; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -1994,7 +1881,6 @@ let test_staker_cannot_backtrack () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -2012,7 +1898,6 @@ let test_staker_cannot_backtrack () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -2044,7 +1929,6 @@ let test_staker_cannot_change_branch () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -2062,7 +1946,6 @@ let test_staker_cannot_change_branch () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -2080,8 +1963,7 @@ let test_staker_cannot_change_branch () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 4l; - number_of_ticks = number_of_ticks_exn 1232909l; + number_of_ticks = number_of_ticks_exn 7373l; compressed_state = Sc_rollup_repr.State_hash.zero; } in @@ -2099,7 +1981,6 @@ let test_staker_cannot_change_branch () = { predecessor = c2; inbox_level = level 3l; - number_of_messages = number_of_messages_exn 4l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -2147,7 +2028,6 @@ let test_refine_stake_of_missing_rollup () = { predecessor = Commitment_repr.Hash.zero; inbox_level = valid_inbox_level ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; }) @@ -2213,7 +2093,6 @@ let test_concurrent_refinement_point_of_conflict () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -2223,8 +2102,7 @@ let test_concurrent_refinement_point_of_conflict () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 10l; - number_of_ticks = number_of_ticks_exn 1232909l; + number_of_ticks = number_of_ticks_exn 7373l; compressed_state = Sc_rollup_repr.State_hash.zero; } in @@ -2284,7 +2162,6 @@ let test_concurrent_refinement_cement () = { predecessor = genesis_hash; inbox_level = valid_inbox_level before_ctxt 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -2351,7 +2228,6 @@ let test_zero_tick_commitment_cannot_change_state () = { predecessor = genesis_hash; inbox_level = level 1l; - number_of_messages = number_of_messages_exn 3l; number_of_ticks = number_of_ticks_exn 1232909l; compressed_state = Sc_rollup_repr.State_hash.zero; } @@ -2369,7 +2245,6 @@ let test_zero_tick_commitment_cannot_change_state () = { predecessor = c1; inbox_level = level 2l; - number_of_messages = number_of_messages_exn 0l; number_of_ticks = number_of_ticks_exn 0l; compressed_state = Sc_rollup_repr.State_hash.context_hash_to_state_hash @@ -2466,7 +2341,10 @@ let test_limit_on_number_of_messages_during_commitment_period with_gap () = let commitment_period = Constants_storage.sc_rollup_commitment_period_in_blocks ctxt in - let max_number = Int32.to_int Sc_rollup_repr.Number_of_messages.max_int in + let max_number = + Constants_storage.sc_rollup_max_number_of_messages_per_commitment_period + ctxt + in let*? payload = List.init ~when_negative_length:[] @@ -2973,10 +2851,6 @@ let tests = `Quick test_cement_three_commitments; Tztest.tztest "cannot unstake staker at LCC" `Quick test_cement_then_remove; - Tztest.tztest - "cement consumes available messages" - `Quick - test_cement_consumes_available_messages; Tztest.tztest "cement unknown commitment fails" `Quick diff --git a/tests_python/tests_alpha/test_mockup.py b/tests_python/tests_alpha/test_mockup.py index fd5451420b53..a8d6250f1c38 100644 --- a/tests_python/tests_alpha/test_mockup.py +++ b/tests_python/tests_alpha/test_mockup.py @@ -683,7 +683,7 @@ def _test_create_mockup_init_show_roundtrip( "sc_rollup_enable": False, "sc_rollup_origination_size": 6_314, "sc_rollup_challenge_window_in_blocks": 20_160, - "sc_rollup_max_available_messages": 1_000_000, + "sc_rollup_max_number_of_messages_per_commitment_period": 32765, "sc_rollup_stake_amount": "42000000", "sc_rollup_commitment_period_in_blocks": 40, "sc_rollup_max_lookahead_in_blocks": 30_000, diff --git a/tezt/lib_tezos/client.ml b/tezt/lib_tezos/client.ml index b2bda9bbcad9..7e5c35567947 100644 --- a/tezt/lib_tezos/client.ml +++ b/tezt/lib_tezos/client.ml @@ -1668,8 +1668,7 @@ module Sc_rollup = struct Process.check process let publish_commitment ?hooks ?(wait = "none") ?burn_cap ~src ~sc_rollup - ~compressed_state ~inbox_level ~predecessor ~number_of_messages - ~number_of_ticks client = + ~compressed_state ~inbox_level ~predecessor ~number_of_ticks client = let process = spawn_command ?hooks @@ -1698,11 +1697,6 @@ module Sc_rollup = struct "and"; "number"; "of"; - "messages"; - string_of_int number_of_messages; - "and"; - "number"; - "of"; "ticks"; string_of_int number_of_ticks; ] diff --git a/tezt/lib_tezos/client.mli b/tezt/lib_tezos/client.mli index 6d603775b241..298417903ac3 100644 --- a/tezt/lib_tezos/client.mli +++ b/tezt/lib_tezos/client.mli @@ -1257,8 +1257,7 @@ module Sc_rollup : sig (** Run [tezos-client publish commitment from for sc rollup with compressed state at inbox level - and predecessor and number of messages - and number of ticks . *) + and predecessor and number of ticks . *) val publish_commitment : ?hooks:Process.hooks -> ?wait:string -> @@ -1268,7 +1267,6 @@ module Sc_rollup : sig compressed_state:string -> inbox_level:int -> predecessor:string -> - number_of_messages:int -> number_of_ticks:int -> t -> unit Runnable.process diff --git a/tezt/lib_tezos/sc_rollup_client.ml b/tezt/lib_tezos/sc_rollup_client.ml index d3c717cc554f..15ef51cebefe 100644 --- a/tezt/lib_tezos/sc_rollup_client.ml +++ b/tezt/lib_tezos/sc_rollup_client.ml @@ -35,7 +35,6 @@ type commitment = { compressed_state : string; inbox_level : int; predecessor : string; - number_of_messages : int; number_of_ticks : int; } @@ -45,18 +44,8 @@ let commitment_from_json json = let compressed_state = JSON.as_string @@ JSON.get "compressed_state" json in let inbox_level = JSON.as_int @@ JSON.get "inbox_level" json in let predecessor = JSON.as_string @@ JSON.get "predecessor" json in - let number_of_messages = - JSON.as_int @@ JSON.get "number_of_messages" json - in let number_of_ticks = JSON.as_int @@ JSON.get "number_of_ticks" json in - Some - { - compressed_state; - inbox_level; - predecessor; - number_of_messages; - number_of_ticks; - } + Some {compressed_state; inbox_level; predecessor; number_of_ticks} let commitment_with_hash_and_level_from_json json = let hash, commitment_json, published_at_level = diff --git a/tezt/lib_tezos/sc_rollup_client.mli b/tezt/lib_tezos/sc_rollup_client.mli index 5bff639586e2..f9e7251db64d 100644 --- a/tezt/lib_tezos/sc_rollup_client.mli +++ b/tezt/lib_tezos/sc_rollup_client.mli @@ -30,7 +30,6 @@ type commitment = { compressed_state : string; inbox_level : int; predecessor : string; - number_of_messages : int; number_of_ticks : int; } diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- misc_protocol.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- misc_protocol.out index 00036eba103f..8bb06fa232e8 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- misc_protocol.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- misc_protocol.out @@ -50,7 +50,7 @@ "availability_threshold": 50 }, "sc_rollup_enable": false, "sc_rollup_origination_size": 6314, "sc_rollup_challenge_window_in_blocks": 20160, - "sc_rollup_max_available_messages": 1000000, + "sc_rollup_max_number_of_messages_per_commitment_period": 32765, "sc_rollup_stake_amount": "10000000000", "sc_rollup_commitment_period_in_blocks": 30, "sc_rollup_max_lookahead_in_blocks": 30000, diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- misc_protocol.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- misc_protocol.out index 8bc086405acc..e79106ea10d7 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- misc_protocol.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- misc_protocol.out @@ -50,7 +50,7 @@ "availability_threshold": 50 }, "sc_rollup_enable": false, "sc_rollup_origination_size": 6314, "sc_rollup_challenge_window_in_blocks": 20160, - "sc_rollup_max_available_messages": 1000000, + "sc_rollup_max_number_of_messages_per_commitment_period": 32765, "sc_rollup_stake_amount": "10000000000", "sc_rollup_commitment_period_in_blocks": 30, "sc_rollup_max_lookahead_in_blocks": 30000, diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- misc_protocol.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- misc_protocol.out index 2db71be7263c..60223bc48a6e 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- misc_protocol.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- misc_protocol.out @@ -50,7 +50,7 @@ "availability_threshold": 50 }, "sc_rollup_enable": false, "sc_rollup_origination_size": 6314, "sc_rollup_challenge_window_in_blocks": 20160, - "sc_rollup_max_available_messages": 1000000, + "sc_rollup_max_number_of_messages_per_commitment_period": 32765, "sc_rollup_stake_amount": "10000000000", "sc_rollup_commitment_period_in_blocks": 30, "sc_rollup_max_lookahead_in_blocks": 30000, diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_data_dir) RPC regression tests- misc_protocol.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_data_dir) RPC regression tests- misc_protocol.out index 29f76dad638c..6c3c046402c0 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_data_dir) RPC regression tests- misc_protocol.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_data_dir) RPC regression tests- misc_protocol.out @@ -50,7 +50,7 @@ "availability_threshold": 50 }, "sc_rollup_enable": false, "sc_rollup_origination_size": 6314, "sc_rollup_challenge_window_in_blocks": 20160, - "sc_rollup_max_available_messages": 1000000, + "sc_rollup_max_number_of_messages_per_commitment_period": 32765, "sc_rollup_stake_amount": "10000000000", "sc_rollup_commitment_period_in_blocks": 30, "sc_rollup_max_lookahead_in_blocks": 30000, diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_rpc) RPC regression tests- misc_protocol.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_rpc) RPC regression tests- misc_protocol.out index 29f76dad638c..6c3c046402c0 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_rpc) RPC regression tests- misc_protocol.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_rpc) RPC regression tests- misc_protocol.out @@ -50,7 +50,7 @@ "availability_threshold": 50 }, "sc_rollup_enable": false, "sc_rollup_origination_size": 6314, "sc_rollup_challenge_window_in_blocks": 20160, - "sc_rollup_max_available_messages": 1000000, + "sc_rollup_max_number_of_messages_per_commitment_period": 32765, "sc_rollup_stake_amount": "10000000000", "sc_rollup_commitment_period_in_blocks": 30, "sc_rollup_max_lookahead_in_blocks": 30000, diff --git a/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (feature_flag_is_disabled).out b/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (feature_flag_is_disabled).out index 9798ff186439..84c2be78f628 100644 --- a/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (feature_flag_is_disabled).out +++ b/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (feature_flag_is_disabled).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,17 +15,17 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 diff --git a/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (rollup_node_dal_subscript.out b/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (rollup_node_dal_subscript.out index 480104ebff8b..9ef3b4e0ecf0 100644 --- a/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (rollup_node_dal_subscript.out +++ b/tezt/tests/expected/dal.ml/Alpha- Testing data availability layer functionality (rollup_node_dal_subscript.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- configuration of a smart contract optimistic rollup node.out b/tezt/tests/expected/sc_rollup.ml/Alpha- configuration of a smart contract optimistic rollup node.out index 9798ff186439..84c2be78f628 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- configuration of a smart contract optimistic rollup node.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- configuration of a smart contract optimistic rollup node.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,17 +15,17 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- consecutive commitments.out b/tezt/tests/expected/sc_rollup.ml/Alpha- consecutive commitments.out index a3e393cae8cb..53b1f4bce04a 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- consecutive commitments.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- consecutive commitments.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,24 +15,24 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 -./tezos-client --wait none publish commitment from '[PUBLIC_KEY_HASH]' for sc rollup '[SC_ROLLUP_HASH]' with compressed state scs11VNjWyZw4Tgbvsom8epQbox86S2CKkE1UAZkXMM7Pj8MQMLzMf at inbox level 32 and predecessor '[SC_ROLLUP_COMMITMENT_HASH]' and number of messages 0 and number of ticks 1 +./tezos-client --wait none publish commitment from '[PUBLIC_KEY_HASH]' for sc rollup '[SC_ROLLUP_HASH]' with compressed state scs11VNjWyZw4Tgbvsom8epQbox86S2CKkE1UAZkXMM7Pj8MQMLzMf at inbox level 32 and predecessor '[SC_ROLLUP_COMMITMENT_HASH]' and number of ticks 1 Node is bootstrapped. -Estimated gas: 5781.076 units (will add 100 for safety) +Estimated gas: 5781.044 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -43,21 +43,20 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.00093 + Fee to the baker: ꜩ0.000926 Expected counter: 2 Gas limit: 5882 Storage limit: 0 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.00093 - payload fees(the block proposer) ....... +ꜩ0.00093 + [PUBLIC_KEY_HASH] ... -ꜩ0.000926 + payload fees(the block proposer) ....... +ꜩ0.000926 Publish commitment SCORU Commitment: compressed_state: scs11VNjWyZw4Tgbvsom8epQbox86S2CKkE1UAZkXMM7Pj8MQMLzMf inbox_level: 32 predecessor: [SC_ROLLUP_COMMITMENT_HASH] - number_of_messages: 0 number_of_ticks: 1 in the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup commitment publishing was successfully applied - Consumed gas: 5781.076 + Consumed gas: 5781.044 Hash of commit: [SC_ROLLUP_COMMITMENT_HASH] Commitment published at level: 3 Balance updates: @@ -65,9 +64,9 @@ This sequence of operations was run: Frozen_bonds([PUBLIC_KEY_HASH],[SC_ROLLUP_HASH]) ... +ꜩ10000 -./tezos-client --wait none publish commitment from '[PUBLIC_KEY_HASH]' for sc rollup '[SC_ROLLUP_HASH]' with compressed state scs11VNjWyZw4Tgbvsom8epQbox86S2CKkE1UAZkXMM7Pj8MQMLzMf at inbox level 62 and predecessor '[SC_ROLLUP_COMMITMENT_HASH]' and number of messages 0 and number of ticks 1 +./tezos-client --wait none publish commitment from '[PUBLIC_KEY_HASH]' for sc rollup '[SC_ROLLUP_HASH]' with compressed state scs11VNjWyZw4Tgbvsom8epQbox86S2CKkE1UAZkXMM7Pj8MQMLzMf at inbox level 62 and predecessor '[SC_ROLLUP_COMMITMENT_HASH]' and number of ticks 1 Node is bootstrapped. -Estimated gas: 4244.904 units (will add 100 for safety) +Estimated gas: 4244.872 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -78,21 +77,20 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000776 + Fee to the baker: ꜩ0.000772 Expected counter: 3 Gas limit: 4345 Storage limit: 0 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000776 - payload fees(the block proposer) ....... +ꜩ0.000776 + [PUBLIC_KEY_HASH] ... -ꜩ0.000772 + payload fees(the block proposer) ....... +ꜩ0.000772 Publish commitment SCORU Commitment: compressed_state: scs11VNjWyZw4Tgbvsom8epQbox86S2CKkE1UAZkXMM7Pj8MQMLzMf inbox_level: 62 predecessor: [SC_ROLLUP_COMMITMENT_HASH] - number_of_messages: 0 number_of_ticks: 1 in the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup commitment publishing was successfully applied - Consumed gas: 4244.904 + Consumed gas: 4244.872 Hash of commit: [SC_ROLLUP_COMMITMENT_HASH] Commitment published at level: 4 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- ensure boot sector is used.out b/tezt/tests/expected/sc_rollup.ml/Alpha- ensure boot sector is used.out index b1d7feb01ce8..1221615d6f31 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- ensure boot sector is used.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- ensure boot sector is used.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with '10 10 10 + +' --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6638 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6626 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000626 Expected counter: 1 Gas limit: 2610 - Storage limit: 6658 bytes + Storage limit: 6646 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000626 payload fees(the block proposer) ....... +ꜩ0.000626 Originate smart contract rollup of kind arith and type unit with boot sector '10 10 10 + +' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6638 bytes + Consumed gas: 2509.092 + Storage size: 6626 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6595 - storage fees ........................... +ꜩ1.6595 + [PUBLIC_KEY_HASH] ... -ꜩ1.6565 + storage fees ........................... +ꜩ1.6565 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -36,7 +36,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["3130202b"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -56,12 +56,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -78,8 +77,8 @@ This sequence of operations was run: ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with 31 --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6628 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6616 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -92,19 +91,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000616 Expected counter: 3 Gas limit: 2610 - Storage limit: 6648 bytes + Storage limit: 6636 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000616 payload fees(the block proposer) ....... +ꜩ0.000616 Originate smart contract rollup of kind arith and type unit with boot sector '31' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6628 bytes + Consumed gas: 2509.092 + Storage size: 6616 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.657 - storage fees ........................... +ꜩ1.657 + [PUBLIC_KEY_HASH] ... -ꜩ1.654 + storage fees ........................... +ꜩ1.654 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -113,7 +112,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["3130202b"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -133,12 +132,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 4 message_counter = 1 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- get genesis info of a sc rollup.out b/tezt/tests/expected/sc_rollup.ml/Alpha- get genesis info of a sc rollup.out index 9798ff186439..84c2be78f628 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- get genesis info of a sc rollup.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- get genesis info of a sc rollup.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,17 +15,17 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- get last cemented commitment hash and inbox level of a sc rollup.out b/tezt/tests/expected/sc_rollup.ml/Alpha- get last cemented commitment hash and inbox level of a sc rollup.out index 9798ff186439..84c2be78f628 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- get last cemented commitment hash and inbox level of a sc rollup.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- get last cemented commitment hash and inbox level of a sc rollup.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,17 +15,17 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- getting a smart-contract rollup address through the client.out b/tezt/tests/expected/sc_rollup.ml/Alpha- getting a smart-contract rollup address through the client.out index 9798ff186439..84c2be78f628 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- getting a smart-contract rollup address through the client.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- getting a smart-contract rollup address through the client.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,17 +15,17 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- list originated rollups.out b/tezt/tests/expected/sc_rollup.ml/Alpha- list originated rollups.out index cbb1b08bc764..fa66c2b7a713 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- list originated rollups.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- list originated rollups.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,25 +15,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -46,25 +46,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 2 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -77,25 +77,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 3 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -108,25 +108,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 4 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -139,25 +139,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 5 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -170,25 +170,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 6 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -201,25 +201,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 7 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -232,25 +232,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 8 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -263,25 +263,25 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 9 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -294,17 +294,17 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 10 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with messages.out b/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with messages.out index 4e62d6091938..f100b69f970b 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with messages.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- node advances PVM state with messages.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -42,7 +42,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["1 6 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.749 units (will add 100 for safety) +Estimated gas: 1651.701 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -62,12 +62,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00046 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.877 + Consumed gas: 1651.829 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -96,7 +95,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["2 8 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.971 units (will add 100 for safety) +Estimated gas: 1651.923 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -116,12 +115,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00046 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.099 + Consumed gas: 1652.051 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 2 nb_messages_in_commitment_period = 2 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -151,7 +149,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["3 10 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.195 units (will add 100 for safety) +Estimated gas: 1652.147 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -171,12 +169,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000461 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.195 + Consumed gas: 1652.147 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -206,7 +203,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["4 12 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.195 units (will add 100 for safety) +Estimated gas: 1652.147 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -226,12 +223,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000461 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.323 + Consumed gas: 1652.275 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 6 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 4 nb_messages_in_commitment_period = 4 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -262,7 +258,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["5 14 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.402 units (will add 100 for safety) +Estimated gas: 1652.354 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -282,12 +278,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000461 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.402 + Consumed gas: 1652.354 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 7 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 5 nb_messages_in_commitment_period = 5 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -318,7 +313,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["6 16 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.402 units (will add 100 for safety) +Estimated gas: 1652.354 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -338,12 +333,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000461 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.402 + Consumed gas: 1652.354 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 8 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 6 nb_messages_in_commitment_period = 6 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -374,7 +368,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["7 18 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.402 units (will add 100 for safety) +Estimated gas: 1652.354 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -394,12 +388,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000461 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.402 + Consumed gas: 1652.354 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 9 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 7 nb_messages_in_commitment_period = 7 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -430,7 +423,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["8 20 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.402 units (will add 100 for safety) +Estimated gas: 1652.354 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -450,12 +443,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000461 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.530 + Consumed gas: 1652.482 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 10 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 8 nb_messages_in_commitment_period = 8 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -487,7 +479,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["9 22 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.609 units (will add 100 for safety) +Estimated gas: 1652.561 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -507,12 +499,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000461 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.609 + Consumed gas: 1652.561 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 11 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 9 nb_messages_in_commitment_period = 9 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -544,7 +535,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message '["10 24 + value"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.626 units (will add 100 for safety) +Estimated gas: 1652.578 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -564,12 +555,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000462 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.626 + Consumed gas: 1652.578 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 12 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 10 nb_messages_in_commitment_period = 10 starting_level_of_current_commitment_period = 2 message_counter = 1 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- node boots into the initial state.out b/tezt/tests/expected/sc_rollup.ml/Alpha- node boots into the initial state.out index f0c9fe0f9e38..77e1fedd0efc 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- node boots into the initial state.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- node boots into the initial state.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (commitm.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (commitm.out index ba1719f0d98c..521d45d24c56 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (commitm.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (commitm.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -36,7 +36,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -56,12 +56,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -75,7 +74,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.516 units (will add 100 for safety) +Estimated gas: 1652.468 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -95,12 +94,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000469 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.644 + Consumed gas: 1652.596 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 2 @@ -115,7 +113,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.319 units (will add 100 for safety) +Estimated gas: 1653.271 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -135,12 +133,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000481 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1653.319 + Consumed gas: 1653.271 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 6 nb_messages_in_commitment_period = 6 starting_level_of_current_commitment_period = 2 message_counter = 3 @@ -155,7 +152,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.915 units (will add 100 for safety) +Estimated gas: 1653.867 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -175,12 +172,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000493 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.043 + Consumed gas: 1653.995 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 6 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 10 nb_messages_in_commitment_period = 10 starting_level_of_current_commitment_period = 2 message_counter = 4 @@ -196,7 +192,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1654.718 units (will add 100 for safety) +Estimated gas: 1654.670 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -216,12 +212,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000505 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.718 + Consumed gas: 1654.670 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 7 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 15 nb_messages_in_commitment_period = 15 starting_level_of_current_commitment_period = 2 message_counter = 5 @@ -237,7 +232,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.314 units (will add 100 for safety) +Estimated gas: 1655.266 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -257,12 +252,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000517 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.314 + Consumed gas: 1655.266 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 8 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 21 nb_messages_in_commitment_period = 21 starting_level_of_current_commitment_period = 2 message_counter = 6 @@ -278,7 +272,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.910 units (will add 100 for safety) +Estimated gas: 1655.862 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -298,12 +292,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000529 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.910 + Consumed gas: 1655.862 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 9 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 28 nb_messages_in_commitment_period = 28 starting_level_of_current_commitment_period = 2 message_counter = 7 @@ -319,7 +312,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1656.506 units (will add 100 for safety) +Estimated gas: 1656.458 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -339,12 +332,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000541 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1656.634 + Consumed gas: 1656.586 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 10 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 36 nb_messages_in_commitment_period = 36 starting_level_of_current_commitment_period = 2 message_counter = 8 @@ -361,7 +353,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.309 units (will add 100 for safety) +Estimated gas: 1657.261 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -381,12 +373,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000553 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.309 + Consumed gas: 1657.261 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 11 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 45 nb_messages_in_commitment_period = 45 starting_level_of_current_commitment_period = 2 message_counter = 9 @@ -403,7 +394,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.905 units (will add 100 for safety) +Estimated gas: 1657.857 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -423,12 +414,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000565 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.905 + Consumed gas: 1657.857 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 12 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 55 nb_messages_in_commitment_period = 55 starting_level_of_current_commitment_period = 2 message_counter = 10 @@ -445,7 +435,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1658.501 units (will add 100 for safety) +Estimated gas: 1658.453 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -465,12 +455,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000577 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1658.501 + Consumed gas: 1658.453 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 13 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 66 nb_messages_in_commitment_period = 66 starting_level_of_current_commitment_period = 2 message_counter = 11 @@ -487,7 +476,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1659.097 units (will add 100 for safety) +Estimated gas: 1659.049 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -507,12 +496,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000589 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1659.097 + Consumed gas: 1659.049 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 14 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 78 nb_messages_in_commitment_period = 78 starting_level_of_current_commitment_period = 2 message_counter = 12 @@ -529,7 +517,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1659.693 units (will add 100 for safety) +Estimated gas: 1659.645 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -549,12 +537,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000601 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1659.693 + Consumed gas: 1659.645 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 15 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 91 nb_messages_in_commitment_period = 91 starting_level_of_current_commitment_period = 2 message_counter = 13 @@ -571,7 +558,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1660.289 units (will add 100 for safety) +Estimated gas: 1660.241 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -591,12 +578,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000614 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1660.289 + Consumed gas: 1660.241 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 16 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 105 nb_messages_in_commitment_period = 105 starting_level_of_current_commitment_period = 2 message_counter = 14 @@ -613,7 +599,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1660.885 units (will add 100 for safety) +Estimated gas: 1660.837 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -633,12 +619,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000626 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1660.885 + Consumed gas: 1660.837 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 17 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 120 nb_messages_in_commitment_period = 120 starting_level_of_current_commitment_period = 2 message_counter = 15 @@ -655,7 +640,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1661.481 units (will add 100 for safety) +Estimated gas: 1661.433 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -675,12 +660,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000638 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1661.609 + Consumed gas: 1661.561 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 18 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 136 nb_messages_in_commitment_period = 136 starting_level_of_current_commitment_period = 2 message_counter = 16 @@ -698,7 +682,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1662.284 units (will add 100 for safety) +Estimated gas: 1662.236 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -718,12 +702,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00065 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1662.284 + Consumed gas: 1662.236 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 19 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 153 nb_messages_in_commitment_period = 153 starting_level_of_current_commitment_period = 2 message_counter = 17 @@ -741,7 +724,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1662.880 units (will add 100 for safety) +Estimated gas: 1662.832 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -761,12 +744,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000662 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1662.880 + Consumed gas: 1662.832 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 20 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 171 nb_messages_in_commitment_period = 171 starting_level_of_current_commitment_period = 2 message_counter = 18 @@ -784,7 +766,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1663.476 units (will add 100 for safety) +Estimated gas: 1663.428 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -804,12 +786,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000674 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1663.476 + Consumed gas: 1663.428 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 21 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 190 nb_messages_in_commitment_period = 190 starting_level_of_current_commitment_period = 2 message_counter = 19 @@ -827,7 +808,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1664.072 units (will add 100 for safety) +Estimated gas: 1664.024 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -847,12 +828,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000686 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1664.072 + Consumed gas: 1664.024 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 22 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 210 nb_messages_in_commitment_period = 210 starting_level_of_current_commitment_period = 2 message_counter = 20 @@ -870,7 +850,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1664.668 units (will add 100 for safety) +Estimated gas: 1664.620 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -890,12 +870,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000698 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1664.668 + Consumed gas: 1664.620 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 23 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 231 nb_messages_in_commitment_period = 231 starting_level_of_current_commitment_period = 2 message_counter = 21 @@ -913,7 +892,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1665.264 units (will add 100 for safety) +Estimated gas: 1665.216 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -933,12 +912,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00071 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1665.264 + Consumed gas: 1665.216 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 24 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 253 nb_messages_in_commitment_period = 253 starting_level_of_current_commitment_period = 2 message_counter = 22 @@ -956,7 +934,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1665.860 units (will add 100 for safety) +Estimated gas: 1665.812 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -976,12 +954,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000722 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1665.860 + Consumed gas: 1665.812 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 25 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 276 nb_messages_in_commitment_period = 276 starting_level_of_current_commitment_period = 2 message_counter = 23 @@ -999,7 +976,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1666.456 units (will add 100 for safety) +Estimated gas: 1666.408 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1019,12 +996,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000734 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1666.456 + Consumed gas: 1666.408 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 26 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 300 nb_messages_in_commitment_period = 300 starting_level_of_current_commitment_period = 2 message_counter = 24 @@ -1042,7 +1018,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1667.052 units (will add 100 for safety) +Estimated gas: 1667.004 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1062,12 +1038,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000746 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1667.052 + Consumed gas: 1667.004 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 27 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 325 nb_messages_in_commitment_period = 325 starting_level_of_current_commitment_period = 2 message_counter = 25 @@ -1085,7 +1060,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1667.648 units (will add 100 for safety) +Estimated gas: 1667.600 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1105,12 +1080,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000758 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1667.648 + Consumed gas: 1667.600 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 28 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 351 nb_messages_in_commitment_period = 351 starting_level_of_current_commitment_period = 2 message_counter = 26 @@ -1128,7 +1102,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1668.244 units (will add 100 for safety) +Estimated gas: 1668.196 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1148,12 +1122,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00077 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1668.244 + Consumed gas: 1668.196 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 29 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 378 nb_messages_in_commitment_period = 378 starting_level_of_current_commitment_period = 2 message_counter = 27 @@ -1171,7 +1144,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1668.840 units (will add 100 for safety) +Estimated gas: 1668.792 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1191,12 +1164,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000782 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1668.840 + Consumed gas: 1668.792 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 30 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 406 nb_messages_in_commitment_period = 406 starting_level_of_current_commitment_period = 2 message_counter = 28 @@ -1214,7 +1186,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1669.436 units (will add 100 for safety) +Estimated gas: 1669.388 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1234,12 +1206,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000794 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1669.436 + Consumed gas: 1669.388 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 31 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 435 nb_messages_in_commitment_period = 435 starting_level_of_current_commitment_period = 2 message_counter = 29 @@ -1257,7 +1228,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1670.032 units (will add 100 for safety) +Estimated gas: 1669.984 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1268,21 +1239,20 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000807 + Fee to the baker: ꜩ0.000806 Expected counter: 31 - Gas limit: 1771 + Gas limit: 1770 Storage limit: 0 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000807 - payload fees(the block proposer) ....... +ꜩ0.000807 + [PUBLIC_KEY_HASH] ... -ꜩ0.000806 + payload fees(the block proposer) ....... +ꜩ0.000806 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1670.032 + Consumed gas: 1669.984 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 32 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 465 nb_messages_in_commitment_period = 30 starting_level_of_current_commitment_period = 32 message_counter = 30 @@ -1304,7 +1274,7 @@ This sequence of operations was run: "scs123mHW8JnxvBJvMvySAKp99M3Ekvb5ntV5eLQkRJNVexjgXzTK8", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 465, "number_of_ticks": 1396 }, + "number_of_ticks": 1396 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]" } ./tezos-sc-rollup-client-alpha rpc get /local/last_published_commitment @@ -1313,6 +1283,6 @@ This sequence of operations was run: "scs123mHW8JnxvBJvMvySAKp99M3Ekvb5ntV5eLQkRJNVexjgXzTK8", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 465, "number_of_ticks": 1396 }, + "number_of_ticks": 1396 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]", "published_at_level": 35 } diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (first_p.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (first_p.out index bf92e7d3f5d1..97123c74b886 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (first_p.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (first_p.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -40,7 +40,7 @@ This sequence of operations was run: "scs139rUcWoTB9MbNUEaWYn5RswKF7G2uENnRPq7Q9ByQRMahtB2NA", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]", "published_at_level": 35 } @@ -50,6 +50,6 @@ This sequence of operations was run: "scs139rUcWoTB9MbNUEaWYn5RswKF7G2uENnRPq7Q9ByQRMahtB2NA", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]", "published_at_level": 35 } diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (handles.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (handles.out index 6823a6f43148..a1d68e90b5ab 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (handles.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (handles.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -36,7 +36,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.826 units (will add 100 for safety) +Estimated gas: 1651.778 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -56,12 +56,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 32 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 32 message_counter = 1 @@ -79,7 +78,7 @@ This sequence of operations was run: "scs139rUcWoTB9MbNUEaWYn5RswKF7G2uENnRPq7Q9ByQRMahtB2NA", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]" } ./tezos-sc-rollup-client-alpha rpc get /local/last_published_commitment @@ -88,6 +87,6 @@ This sequence of operations was run: "scs139rUcWoTB9MbNUEaWYn5RswKF7G2uENnRPq7Q9ByQRMahtB2NA", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]", "published_at_level": 35 } diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (message.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (message.out index 17bab608f644..a43f2ad94eae 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (message.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (message.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -36,7 +36,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -56,12 +56,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -75,7 +74,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.516 units (will add 100 for safety) +Estimated gas: 1652.468 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -95,12 +94,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000469 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.644 + Consumed gas: 1652.596 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 2 @@ -115,7 +113,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.319 units (will add 100 for safety) +Estimated gas: 1653.271 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -135,12 +133,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000481 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1653.319 + Consumed gas: 1653.271 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 6 nb_messages_in_commitment_period = 6 starting_level_of_current_commitment_period = 2 message_counter = 3 @@ -155,7 +152,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.915 units (will add 100 for safety) +Estimated gas: 1653.867 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -175,12 +172,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000493 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.043 + Consumed gas: 1653.995 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 6 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 10 nb_messages_in_commitment_period = 10 starting_level_of_current_commitment_period = 2 message_counter = 4 @@ -196,7 +192,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1654.718 units (will add 100 for safety) +Estimated gas: 1654.670 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -216,12 +212,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000505 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.718 + Consumed gas: 1654.670 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 7 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 15 nb_messages_in_commitment_period = 15 starting_level_of_current_commitment_period = 2 message_counter = 5 @@ -237,7 +232,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.314 units (will add 100 for safety) +Estimated gas: 1655.266 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -257,12 +252,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000517 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.314 + Consumed gas: 1655.266 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 8 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 21 nb_messages_in_commitment_period = 21 starting_level_of_current_commitment_period = 2 message_counter = 6 @@ -278,7 +272,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.910 units (will add 100 for safety) +Estimated gas: 1655.862 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -298,12 +292,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000529 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.910 + Consumed gas: 1655.862 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 9 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 28 nb_messages_in_commitment_period = 28 starting_level_of_current_commitment_period = 2 message_counter = 7 @@ -319,7 +312,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1656.506 units (will add 100 for safety) +Estimated gas: 1656.458 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -339,12 +332,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000541 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1656.634 + Consumed gas: 1656.586 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 10 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 36 nb_messages_in_commitment_period = 36 starting_level_of_current_commitment_period = 2 message_counter = 8 @@ -361,7 +353,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.309 units (will add 100 for safety) +Estimated gas: 1657.261 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -381,12 +373,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000553 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.309 + Consumed gas: 1657.261 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 11 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 45 nb_messages_in_commitment_period = 45 starting_level_of_current_commitment_period = 2 message_counter = 9 @@ -403,7 +394,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.905 units (will add 100 for safety) +Estimated gas: 1657.857 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -423,12 +414,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000565 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.905 + Consumed gas: 1657.857 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 12 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 55 nb_messages_in_commitment_period = 55 starting_level_of_current_commitment_period = 2 message_counter = 10 @@ -445,7 +435,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1658.501 units (will add 100 for safety) +Estimated gas: 1658.453 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -465,12 +455,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000577 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1658.501 + Consumed gas: 1658.453 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 13 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 66 nb_messages_in_commitment_period = 66 starting_level_of_current_commitment_period = 2 message_counter = 11 @@ -487,7 +476,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1659.097 units (will add 100 for safety) +Estimated gas: 1659.049 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -507,12 +496,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000589 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1659.097 + Consumed gas: 1659.049 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 14 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 78 nb_messages_in_commitment_period = 78 starting_level_of_current_commitment_period = 2 message_counter = 12 @@ -529,7 +517,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1659.693 units (will add 100 for safety) +Estimated gas: 1659.645 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -549,12 +537,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000601 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1659.693 + Consumed gas: 1659.645 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 15 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 91 nb_messages_in_commitment_period = 91 starting_level_of_current_commitment_period = 2 message_counter = 13 @@ -571,7 +558,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1660.289 units (will add 100 for safety) +Estimated gas: 1660.241 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -591,12 +578,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000614 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1660.289 + Consumed gas: 1660.241 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 16 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 105 nb_messages_in_commitment_period = 105 starting_level_of_current_commitment_period = 2 message_counter = 14 @@ -613,7 +599,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1660.885 units (will add 100 for safety) +Estimated gas: 1660.837 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -633,12 +619,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000626 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1660.885 + Consumed gas: 1660.837 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 17 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 120 nb_messages_in_commitment_period = 120 starting_level_of_current_commitment_period = 2 message_counter = 15 @@ -655,7 +640,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1661.481 units (will add 100 for safety) +Estimated gas: 1661.433 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -675,12 +660,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000638 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1661.609 + Consumed gas: 1661.561 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 18 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 136 nb_messages_in_commitment_period = 136 starting_level_of_current_commitment_period = 2 message_counter = 16 @@ -698,7 +682,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1662.284 units (will add 100 for safety) +Estimated gas: 1662.236 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -718,12 +702,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00065 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1662.284 + Consumed gas: 1662.236 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 19 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 153 nb_messages_in_commitment_period = 153 starting_level_of_current_commitment_period = 2 message_counter = 17 @@ -741,7 +724,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1662.880 units (will add 100 for safety) +Estimated gas: 1662.832 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -761,12 +744,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000662 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1662.880 + Consumed gas: 1662.832 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 20 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 171 nb_messages_in_commitment_period = 171 starting_level_of_current_commitment_period = 2 message_counter = 18 @@ -784,7 +766,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1663.476 units (will add 100 for safety) +Estimated gas: 1663.428 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -804,12 +786,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000674 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1663.476 + Consumed gas: 1663.428 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 21 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 190 nb_messages_in_commitment_period = 190 starting_level_of_current_commitment_period = 2 message_counter = 19 @@ -827,7 +808,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1664.072 units (will add 100 for safety) +Estimated gas: 1664.024 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -847,12 +828,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000686 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1664.072 + Consumed gas: 1664.024 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 22 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 210 nb_messages_in_commitment_period = 210 starting_level_of_current_commitment_period = 2 message_counter = 20 @@ -870,7 +850,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1664.668 units (will add 100 for safety) +Estimated gas: 1664.620 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -890,12 +870,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000698 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1664.668 + Consumed gas: 1664.620 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 23 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 231 nb_messages_in_commitment_period = 231 starting_level_of_current_commitment_period = 2 message_counter = 21 @@ -913,7 +892,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1665.264 units (will add 100 for safety) +Estimated gas: 1665.216 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -933,12 +912,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00071 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1665.264 + Consumed gas: 1665.216 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 24 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 253 nb_messages_in_commitment_period = 253 starting_level_of_current_commitment_period = 2 message_counter = 22 @@ -956,7 +934,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1665.860 units (will add 100 for safety) +Estimated gas: 1665.812 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -976,12 +954,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000722 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1665.860 + Consumed gas: 1665.812 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 25 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 276 nb_messages_in_commitment_period = 276 starting_level_of_current_commitment_period = 2 message_counter = 23 @@ -999,7 +976,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1666.456 units (will add 100 for safety) +Estimated gas: 1666.408 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1019,12 +996,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000734 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1666.456 + Consumed gas: 1666.408 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 26 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 300 nb_messages_in_commitment_period = 300 starting_level_of_current_commitment_period = 2 message_counter = 24 @@ -1042,7 +1018,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1667.052 units (will add 100 for safety) +Estimated gas: 1667.004 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1062,12 +1038,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000746 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1667.052 + Consumed gas: 1667.004 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 27 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 325 nb_messages_in_commitment_period = 325 starting_level_of_current_commitment_period = 2 message_counter = 25 @@ -1085,7 +1060,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1667.648 units (will add 100 for safety) +Estimated gas: 1667.600 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1105,12 +1080,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000758 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1667.648 + Consumed gas: 1667.600 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 28 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 351 nb_messages_in_commitment_period = 351 starting_level_of_current_commitment_period = 2 message_counter = 26 @@ -1128,7 +1102,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1668.244 units (will add 100 for safety) +Estimated gas: 1668.196 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1148,12 +1122,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00077 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1668.244 + Consumed gas: 1668.196 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 29 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 378 nb_messages_in_commitment_period = 378 starting_level_of_current_commitment_period = 2 message_counter = 27 @@ -1171,7 +1144,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1668.840 units (will add 100 for safety) +Estimated gas: 1668.792 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1191,12 +1164,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000782 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1668.840 + Consumed gas: 1668.792 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 30 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 406 nb_messages_in_commitment_period = 406 starting_level_of_current_commitment_period = 2 message_counter = 28 @@ -1214,7 +1186,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1669.436 units (will add 100 for safety) +Estimated gas: 1669.388 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1234,12 +1206,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000794 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1669.436 + Consumed gas: 1669.388 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 31 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 435 nb_messages_in_commitment_period = 435 starting_level_of_current_commitment_period = 2 message_counter = 29 @@ -1257,7 +1228,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1670.032 units (will add 100 for safety) +Estimated gas: 1669.984 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1268,21 +1239,20 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000807 + Fee to the baker: ꜩ0.000806 Expected counter: 31 - Gas limit: 1771 + Gas limit: 1770 Storage limit: 0 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000807 - payload fees(the block proposer) ....... +ꜩ0.000807 + [PUBLIC_KEY_HASH] ... -ꜩ0.000806 + payload fees(the block proposer) ....... +ꜩ0.000806 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1670.032 + Consumed gas: 1669.984 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 32 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 465 nb_messages_in_commitment_period = 30 starting_level_of_current_commitment_period = 32 message_counter = 30 @@ -1304,7 +1274,7 @@ This sequence of operations was run: "scs123mHW8JnxvBJvMvySAKp99M3Ekvb5ntV5eLQkRJNVexjgXzTK8", "inbox_level": 62, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]" } ./tezos-sc-rollup-client-alpha rpc get /local/last_published_commitment @@ -1313,6 +1283,6 @@ This sequence of operations was run: "scs123mHW8JnxvBJvMvySAKp99M3Ekvb5ntV5eLQkRJNVexjgXzTK8", "inbox_level": 62, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]", "published_at_level": 65 } diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (no_comm.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (no_comm.out index 5d6a8a4a98f3..457ef5dc9c0d 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (no_comm.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (no_comm.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -40,7 +40,7 @@ This sequence of operations was run: "scs139rUcWoTB9MbNUEaWYn5RswKF7G2uENnRPq7Q9ByQRMahtB2NA", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]" } ./tezos-sc-rollup-client-alpha rpc get /local/last_published_commitment @@ -49,7 +49,7 @@ This sequence of operations was run: "scs139rUcWoTB9MbNUEaWYn5RswKF7G2uENnRPq7Q9ByQRMahtB2NA", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]", "published_at_level": 35 } @@ -104,7 +104,7 @@ This sequence of operations was run: "availability_threshold": 50 }, "sc_rollup_enable": true, "sc_rollup_origination_size": 6314, "sc_rollup_challenge_window_in_blocks": 1, - "sc_rollup_max_available_messages": 1000000, + "sc_rollup_max_number_of_messages_per_commitment_period": 32765, "sc_rollup_stake_amount": "10000000000", "sc_rollup_commitment_period_in_blocks": 30, "sc_rollup_max_lookahead_in_blocks": 30000, @@ -133,7 +133,7 @@ Error: ./tezos-client --wait none cement commitment '[SC_ROLLUP_COMMITMENT_HASH]' from bootstrap1 for sc rollup '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 4051.204 units (will add 100 for safety) +Estimated gas: 3625.362 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -144,16 +144,16 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000713 + Fee to the baker: ꜩ0.00067 Expected counter: 3 - Gas limit: 4152 + Gas limit: 3726 Storage limit: 0 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000713 - payload fees(the block proposer) ....... +ꜩ0.000713 + [PUBLIC_KEY_HASH] ... -ꜩ0.00067 + payload fees(the block proposer) ....... +ꜩ0.00067 Cement the commitment [SC_ROLLUP_COMMITMENT_HASH] in the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup commitment cementing was successfully applied - Consumed gas: 4051.204 + Consumed gas: 3625.362 ./tezos-client rpc get /chains/main/blocks/head/context/constants @@ -207,7 +207,7 @@ This sequence of operations was run: "availability_threshold": 50 }, "sc_rollup_enable": true, "sc_rollup_origination_size": 6314, "sc_rollup_challenge_window_in_blocks": 1, - "sc_rollup_max_available_messages": 1000000, + "sc_rollup_max_number_of_messages_per_commitment_period": 32765, "sc_rollup_stake_amount": "10000000000", "sc_rollup_commitment_period_in_blocks": 30, "sc_rollup_max_lookahead_in_blocks": 30000, @@ -253,7 +253,7 @@ null "scs139rUcWoTB9MbNUEaWYn5RswKF7G2uENnRPq7Q9ByQRMahtB2NA", "inbox_level": 32, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]" } ./tezos-sc-rollup-client-alpha rpc get /local/last_published_commitment @@ -262,6 +262,6 @@ null "scs139rUcWoTB9MbNUEaWYn5RswKF7G2uENnRPq7Q9ByQRMahtB2NA", "inbox_level": 62, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 0, "number_of_ticks": 0 }, + "number_of_ticks": 0 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]", "published_at_level": 65 } diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (node_us.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (node_us.out index 040d5be726f6..925fe7c72e47 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (node_us.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (node_us.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -36,7 +36,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -56,12 +56,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -75,7 +74,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.516 units (will add 100 for safety) +Estimated gas: 1652.468 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -95,12 +94,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000469 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.644 + Consumed gas: 1652.596 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 2 @@ -115,7 +113,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.319 units (will add 100 for safety) +Estimated gas: 1653.271 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -135,12 +133,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000481 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1653.319 + Consumed gas: 1653.271 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 6 nb_messages_in_commitment_period = 6 starting_level_of_current_commitment_period = 2 message_counter = 3 @@ -155,7 +152,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.915 units (will add 100 for safety) +Estimated gas: 1653.867 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -175,12 +172,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000493 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.043 + Consumed gas: 1653.995 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 6 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 10 nb_messages_in_commitment_period = 10 starting_level_of_current_commitment_period = 2 message_counter = 4 @@ -196,7 +192,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1654.718 units (will add 100 for safety) +Estimated gas: 1654.670 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -216,12 +212,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000505 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.718 + Consumed gas: 1654.670 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 7 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 15 nb_messages_in_commitment_period = 15 starting_level_of_current_commitment_period = 2 message_counter = 5 @@ -237,7 +232,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.314 units (will add 100 for safety) +Estimated gas: 1655.266 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -257,12 +252,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000517 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.314 + Consumed gas: 1655.266 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 8 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 21 nb_messages_in_commitment_period = 21 starting_level_of_current_commitment_period = 2 message_counter = 6 @@ -278,7 +272,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.910 units (will add 100 for safety) +Estimated gas: 1655.862 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -298,12 +292,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000529 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.910 + Consumed gas: 1655.862 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 9 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 28 nb_messages_in_commitment_period = 28 starting_level_of_current_commitment_period = 2 message_counter = 7 @@ -319,7 +312,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1656.506 units (will add 100 for safety) +Estimated gas: 1656.458 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -339,12 +332,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000541 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1656.634 + Consumed gas: 1656.586 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 10 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 36 nb_messages_in_commitment_period = 36 starting_level_of_current_commitment_period = 2 message_counter = 8 @@ -361,7 +353,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.309 units (will add 100 for safety) +Estimated gas: 1657.261 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -381,12 +373,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000553 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.309 + Consumed gas: 1657.261 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 11 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 45 nb_messages_in_commitment_period = 45 starting_level_of_current_commitment_period = 2 message_counter = 9 @@ -403,7 +394,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.905 units (will add 100 for safety) +Estimated gas: 1657.857 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -423,12 +414,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000565 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.905 + Consumed gas: 1657.857 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 12 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 55 nb_messages_in_commitment_period = 55 starting_level_of_current_commitment_period = 2 message_counter = 10 @@ -445,7 +435,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1658.501 units (will add 100 for safety) +Estimated gas: 1658.453 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -465,12 +455,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000577 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1658.501 + Consumed gas: 1658.453 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 13 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 66 nb_messages_in_commitment_period = 66 starting_level_of_current_commitment_period = 2 message_counter = 11 @@ -487,7 +476,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1659.097 units (will add 100 for safety) +Estimated gas: 1659.049 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -507,12 +496,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000589 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1659.097 + Consumed gas: 1659.049 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 14 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 78 nb_messages_in_commitment_period = 78 starting_level_of_current_commitment_period = 2 message_counter = 12 @@ -529,7 +517,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1659.693 units (will add 100 for safety) +Estimated gas: 1659.645 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -549,12 +537,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000601 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1659.693 + Consumed gas: 1659.645 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 15 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 91 nb_messages_in_commitment_period = 91 starting_level_of_current_commitment_period = 2 message_counter = 13 @@ -571,7 +558,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1660.289 units (will add 100 for safety) +Estimated gas: 1660.241 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -591,12 +578,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000614 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1660.289 + Consumed gas: 1660.241 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 16 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 105 nb_messages_in_commitment_period = 105 starting_level_of_current_commitment_period = 2 message_counter = 14 @@ -613,7 +599,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1660.885 units (will add 100 for safety) +Estimated gas: 1660.837 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -633,12 +619,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000626 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1660.885 + Consumed gas: 1660.837 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 17 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 120 nb_messages_in_commitment_period = 15 starting_level_of_current_commitment_period = 17 message_counter = 15 @@ -659,7 +644,7 @@ This sequence of operations was run: "scs12wTPaomFH2grjoXSuBwnVppABH3RvbaghhnskeG6GYpbEbZ3fg", "inbox_level": 17, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 120, "number_of_ticks": 361 }, + "number_of_ticks": 361 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]" } ./tezos-sc-rollup-client-alpha rpc get /local/last_published_commitment @@ -668,6 +653,6 @@ This sequence of operations was run: "scs12wTPaomFH2grjoXSuBwnVppABH3RvbaghhnskeG6GYpbEbZ3fg", "inbox_level": 17, "predecessor": "[SC_ROLLUP_COMMITMENT_HASH]", - "number_of_messages": 120, "number_of_ticks": 361 }, + "number_of_ticks": 361 }, "hash": "[SC_ROLLUP_COMMITMENT_HASH]", "published_at_level": 20 } diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (non_fin.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (non_fin.out index 70f4c4a83569..1fbe5d1cfbe1 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (non_fin.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct handling of commitments in the rollup node (non_fin.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/genesis_info' @@ -36,7 +36,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -56,12 +56,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -75,7 +74,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.516 units (will add 100 for safety) +Estimated gas: 1652.468 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -95,12 +94,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000469 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.644 + Consumed gas: 1652.596 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 2 @@ -115,7 +113,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.319 units (will add 100 for safety) +Estimated gas: 1653.271 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -135,12 +133,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000481 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1653.319 + Consumed gas: 1653.271 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 6 nb_messages_in_commitment_period = 6 starting_level_of_current_commitment_period = 2 message_counter = 3 @@ -155,7 +152,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.915 units (will add 100 for safety) +Estimated gas: 1653.867 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -175,12 +172,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000493 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.043 + Consumed gas: 1653.995 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 6 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 10 nb_messages_in_commitment_period = 10 starting_level_of_current_commitment_period = 2 message_counter = 4 @@ -196,7 +192,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1654.718 units (will add 100 for safety) +Estimated gas: 1654.670 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -216,12 +212,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000505 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.718 + Consumed gas: 1654.670 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 7 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 15 nb_messages_in_commitment_period = 15 starting_level_of_current_commitment_period = 2 message_counter = 5 @@ -237,7 +232,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.314 units (will add 100 for safety) +Estimated gas: 1655.266 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -257,12 +252,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000517 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.314 + Consumed gas: 1655.266 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 8 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 21 nb_messages_in_commitment_period = 21 starting_level_of_current_commitment_period = 2 message_counter = 6 @@ -278,7 +272,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.910 units (will add 100 for safety) +Estimated gas: 1655.862 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -298,12 +292,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000529 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.910 + Consumed gas: 1655.862 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 9 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 28 nb_messages_in_commitment_period = 28 starting_level_of_current_commitment_period = 2 message_counter = 7 @@ -319,7 +312,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1656.506 units (will add 100 for safety) +Estimated gas: 1656.458 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -339,12 +332,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000541 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1656.634 + Consumed gas: 1656.586 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 10 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 36 nb_messages_in_commitment_period = 36 starting_level_of_current_commitment_period = 2 message_counter = 8 @@ -361,7 +353,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.309 units (will add 100 for safety) +Estimated gas: 1657.261 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -381,12 +373,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000553 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.309 + Consumed gas: 1657.261 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 11 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 45 nb_messages_in_commitment_period = 45 starting_level_of_current_commitment_period = 2 message_counter = 9 @@ -403,7 +394,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.905 units (will add 100 for safety) +Estimated gas: 1657.857 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -423,12 +414,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000565 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.905 + Consumed gas: 1657.857 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 12 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 55 nb_messages_in_commitment_period = 55 starting_level_of_current_commitment_period = 2 message_counter = 10 @@ -445,7 +435,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1658.501 units (will add 100 for safety) +Estimated gas: 1658.453 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -465,12 +455,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000577 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1658.501 + Consumed gas: 1658.453 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 13 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 66 nb_messages_in_commitment_period = 66 starting_level_of_current_commitment_period = 2 message_counter = 11 @@ -487,7 +476,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1659.097 units (will add 100 for safety) +Estimated gas: 1659.049 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -507,12 +496,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000589 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1659.097 + Consumed gas: 1659.049 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 14 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 78 nb_messages_in_commitment_period = 78 starting_level_of_current_commitment_period = 2 message_counter = 12 @@ -529,7 +517,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1659.693 units (will add 100 for safety) +Estimated gas: 1659.645 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -549,12 +537,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000601 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1659.693 + Consumed gas: 1659.645 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 15 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 91 nb_messages_in_commitment_period = 91 starting_level_of_current_commitment_period = 2 message_counter = 13 @@ -571,7 +558,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1660.289 units (will add 100 for safety) +Estimated gas: 1660.241 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -591,12 +578,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000614 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1660.289 + Consumed gas: 1660.241 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 16 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 105 nb_messages_in_commitment_period = 105 starting_level_of_current_commitment_period = 2 message_counter = 14 @@ -613,7 +599,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1660.885 units (will add 100 for safety) +Estimated gas: 1660.837 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -633,12 +619,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000626 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1660.885 + Consumed gas: 1660.837 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 17 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 120 nb_messages_in_commitment_period = 120 starting_level_of_current_commitment_period = 2 message_counter = 15 @@ -655,7 +640,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1661.481 units (will add 100 for safety) +Estimated gas: 1661.433 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -675,12 +660,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000638 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1661.609 + Consumed gas: 1661.561 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 18 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 136 nb_messages_in_commitment_period = 136 starting_level_of_current_commitment_period = 2 message_counter = 16 @@ -698,7 +682,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1662.284 units (will add 100 for safety) +Estimated gas: 1662.236 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -718,12 +702,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00065 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1662.284 + Consumed gas: 1662.236 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 19 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 153 nb_messages_in_commitment_period = 153 starting_level_of_current_commitment_period = 2 message_counter = 17 @@ -741,7 +724,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1662.880 units (will add 100 for safety) +Estimated gas: 1662.832 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -761,12 +744,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000662 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1662.880 + Consumed gas: 1662.832 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 20 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 171 nb_messages_in_commitment_period = 171 starting_level_of_current_commitment_period = 2 message_counter = 18 @@ -784,7 +766,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1663.476 units (will add 100 for safety) +Estimated gas: 1663.428 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -804,12 +786,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000674 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1663.476 + Consumed gas: 1663.428 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 21 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 190 nb_messages_in_commitment_period = 190 starting_level_of_current_commitment_period = 2 message_counter = 19 @@ -827,7 +808,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1664.072 units (will add 100 for safety) +Estimated gas: 1664.024 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -847,12 +828,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000686 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1664.072 + Consumed gas: 1664.024 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 22 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 210 nb_messages_in_commitment_period = 210 starting_level_of_current_commitment_period = 2 message_counter = 20 @@ -870,7 +850,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1664.668 units (will add 100 for safety) +Estimated gas: 1664.620 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -890,12 +870,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000698 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1664.668 + Consumed gas: 1664.620 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 23 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 231 nb_messages_in_commitment_period = 231 starting_level_of_current_commitment_period = 2 message_counter = 21 @@ -913,7 +892,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1665.264 units (will add 100 for safety) +Estimated gas: 1665.216 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -933,12 +912,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00071 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1665.264 + Consumed gas: 1665.216 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 24 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 253 nb_messages_in_commitment_period = 253 starting_level_of_current_commitment_period = 2 message_counter = 22 @@ -956,7 +934,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1665.860 units (will add 100 for safety) +Estimated gas: 1665.812 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -976,12 +954,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000722 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1665.860 + Consumed gas: 1665.812 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 25 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 276 nb_messages_in_commitment_period = 276 starting_level_of_current_commitment_period = 2 message_counter = 23 @@ -999,7 +976,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1666.456 units (will add 100 for safety) +Estimated gas: 1666.408 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1019,12 +996,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000734 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1666.456 + Consumed gas: 1666.408 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 26 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 300 nb_messages_in_commitment_period = 300 starting_level_of_current_commitment_period = 2 message_counter = 24 @@ -1042,7 +1018,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1667.052 units (will add 100 for safety) +Estimated gas: 1667.004 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1062,12 +1038,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000746 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1667.052 + Consumed gas: 1667.004 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 27 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 325 nb_messages_in_commitment_period = 325 starting_level_of_current_commitment_period = 2 message_counter = 25 @@ -1085,7 +1060,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1667.648 units (will add 100 for safety) +Estimated gas: 1667.600 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1105,12 +1080,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000758 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1667.648 + Consumed gas: 1667.600 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 28 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 351 nb_messages_in_commitment_period = 351 starting_level_of_current_commitment_period = 2 message_counter = 26 @@ -1128,7 +1102,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1668.244 units (will add 100 for safety) +Estimated gas: 1668.196 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1148,12 +1122,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00077 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1668.244 + Consumed gas: 1668.196 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 29 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 378 nb_messages_in_commitment_period = 378 starting_level_of_current_commitment_period = 2 message_counter = 27 @@ -1171,7 +1144,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1668.840 units (will add 100 for safety) +Estimated gas: 1668.792 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1191,12 +1164,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000782 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1668.840 + Consumed gas: 1668.792 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 30 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 406 nb_messages_in_commitment_period = 406 starting_level_of_current_commitment_period = 2 message_counter = 28 @@ -1214,7 +1186,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1669.436 units (will add 100 for safety) +Estimated gas: 1669.388 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1234,12 +1206,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000794 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1669.436 + Consumed gas: 1669.388 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 31 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 435 nb_messages_in_commitment_period = 435 starting_level_of_current_commitment_period = 2 message_counter = 29 @@ -1257,7 +1228,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1670.032 units (will add 100 for safety) +Estimated gas: 1669.984 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -1268,21 +1239,20 @@ and/or an external block explorer to make sure that it has been included. This sequence of operations was run: Manager signed operations: From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000807 + Fee to the baker: ꜩ0.000806 Expected counter: 31 - Gas limit: 1771 + Gas limit: 1770 Storage limit: 0 bytes Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000807 - payload fees(the block proposer) ....... +ꜩ0.000807 + [PUBLIC_KEY_HASH] ... -ꜩ0.000806 + payload fees(the block proposer) ....... +ꜩ0.000806 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1670.032 + Consumed gas: 1669.984 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 32 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 465 nb_messages_in_commitment_period = 30 starting_level_of_current_commitment_period = 32 message_counter = 30 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (basic).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (basic).out index 3eb1c0e29e76..31462e9d1542 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (basic).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (basic).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,24 +15,24 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -52,12 +52,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -71,7 +70,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.516 units (will add 100 for safety) +Estimated gas: 1652.468 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -91,12 +90,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000469 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.644 + Consumed gas: 1652.596 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 2 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (handles_ch.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (handles_ch.out index 0e23162d10a0..679799b3f2df 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (handles_ch.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (handles_ch.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,24 +15,24 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -52,12 +52,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -71,7 +70,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.920 units (will add 100 for safety) +Estimated gas: 1651.872 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -91,12 +90,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.048 + Consumed gas: 1652 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 2 nb_messages_in_commitment_period = 2 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -111,7 +109,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.920 units (will add 100 for safety) +Estimated gas: 1651.872 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -131,12 +129,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.048 + Consumed gas: 1652 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 2 nb_messages_in_commitment_period = 2 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -151,7 +148,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.127 units (will add 100 for safety) +Estimated gas: 1652.079 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -171,12 +168,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.127 + Consumed gas: 1652.079 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 1 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (stops).out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (stops).out index 3548d615c549..30b726333f4b 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (stops).out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (stops).out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,24 +15,24 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -52,12 +52,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -71,7 +70,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.516 units (will add 100 for safety) +Estimated gas: 1652.468 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -91,12 +90,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000469 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.644 + Consumed gas: 1652.596 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 2 @@ -111,7 +109,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.127 units (will add 100 for safety) +Estimated gas: 1652.079 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -131,12 +129,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.127 + Consumed gas: 1652.079 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 4 nb_messages_in_commitment_period = 4 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -151,7 +148,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.723 units (will add 100 for safety) +Estimated gas: 1652.675 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -171,12 +168,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000469 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.851 + Consumed gas: 1652.803 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 6 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 6 nb_messages_in_commitment_period = 6 starting_level_of_current_commitment_period = 2 message_counter = 2 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (too_many_m.out b/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (too_many_m.out deleted file mode 100644 index 923def4442d9..000000000000 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- observing the correct maintenance of inbox in the rollup node (too_many_m.out +++ /dev/null @@ -1,837 +0,0 @@ - -./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 -Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.000614 - Expected counter: 1 - Gas limit: 2610 - Storage limit: 6646 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.000614 - payload fees(the block proposer) ....... +ꜩ0.000614 - Originate smart contract rollup of kind arith and type unit with boot sector '' - This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes - Address: [SC_ROLLUP_HASH] - Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1773.286 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 2 - Gas limit: 1874 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1773.414 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 3 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 205 - nb_messages_in_commitment_period = 205 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 1 - back_pointers = [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1773.510 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 3 - Gas limit: 1874 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1773.638 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 4 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 410 - nb_messages_in_commitment_period = 410 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 2 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1773.717 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 4 - Gas limit: 1874 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1773.717 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 5 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 615 - nb_messages_in_commitment_period = 615 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 3 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1773.717 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 5 - Gas limit: 1874 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1773.845 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 6 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 820 - nb_messages_in_commitment_period = 820 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 4 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1773.924 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 6 - Gas limit: 1874 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1773.924 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 7 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1025 - nb_messages_in_commitment_period = 1025 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 5 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1773.924 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 7 - Gas limit: 1874 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1773.924 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 8 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1230 - nb_messages_in_commitment_period = 1230 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 6 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1773.924 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 8 - Gas limit: 1874 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1773.924 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 9 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1435 - nb_messages_in_commitment_period = 1435 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 7 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1773.924 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 9 - Gas limit: 1874 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.052 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 10 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1640 - nb_messages_in_commitment_period = 1640 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 8 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.131 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 10 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.131 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 11 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1845 - nb_messages_in_commitment_period = 1845 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 9 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.131 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 11 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.131 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 12 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 2050 - nb_messages_in_commitment_period = 2050 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 10 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.131 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 12 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.131 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 13 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 2255 - nb_messages_in_commitment_period = 2255 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 11 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.131 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 13 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.131 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 14 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 2460 - nb_messages_in_commitment_period = 2460 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 12 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.131 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 14 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.131 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 15 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 2665 - nb_messages_in_commitment_period = 2665 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 13 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.131 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 15 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.131 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 16 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 2870 - nb_messages_in_commitment_period = 2870 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 14 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.131 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 16 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.131 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 17 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3075 - nb_messages_in_commitment_period = 3075 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 15 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.131 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 17 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.259 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 18 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3280 - nb_messages_in_commitment_period = 3280 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 16 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.338 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 18 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.338 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 19 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3485 - nb_messages_in_commitment_period = 3485 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 17 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.338 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 19 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.338 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 20 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3690 - nb_messages_in_commitment_period = 3690 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 18 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -Estimated gas: 1774.338 units (will add 100 for safety) -Estimated storage: no bytes added -Operation successfully injected in the node. -Operation hash is '[OPERATION_HASH]' -NOT waiting for the operation to be included. -Use command - tezos-client wait for [OPERATION_HASH] to be included --confirmations 1 --branch [BLOCK_HASH] -and/or an external block explorer to make sure that it has been included. -This sequence of operations was run: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0.002917 - Expected counter: 20 - Gas limit: 1875 - Storage limit: 0 bytes - Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ0.002917 - payload fees(the block proposer) ....... +ꜩ0.002917 - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This smart contract rollup messages submission was successfully applied - Consumed gas: 1774.338 - Resulting inbox state: - rollup = [SC_ROLLUP_HASH] - level = 21 - current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3895 - nb_messages_in_commitment_period = 3895 - starting_level_of_current_commitment_period = 2 - message_counter = 205 - old_levels_messages = - content = [SC_ROLLUP_INBOX_HASH] - index = 19 - back_pointers = [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - [SC_ROLLUP_INBOX_HASH] - - - - -./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' -Node is bootstrapped. -This simulation failed: - Manager signed operations: - From: [PUBLIC_KEY_HASH] - Fee to the baker: ꜩ0 - Expected counter: 21 - Gas limit: 1040000 - Storage limit: 60000 bytes - Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] - This operation FAILED. - -Error: - Maximum number of messages reached for commitment period diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- originate with boot sector.out b/tezt/tests/expected/sc_rollup.ml/Alpha- originate with boot sector.out index 2ac15fc82e5f..eea1e76a3d19 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- originate with boot sector.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- originate with boot sector.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with '10 10 10 + +' --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6638 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6626 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,19 +15,19 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000626 Expected counter: 1 Gas limit: 2610 - Storage limit: 6658 bytes + Storage limit: 6646 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000626 payload fees(the block proposer) ....... +ꜩ0.000626 Originate smart contract rollup of kind arith and type unit with boot sector '10 10 10 + +' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6638 bytes + Consumed gas: 2509.092 + Storage size: 6626 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6595 - storage fees ........................... +ꜩ1.6595 + [PUBLIC_KEY_HASH] ... -ꜩ1.6565 + storage fees ........................... +ꜩ1.6565 ./tezos-client rpc get '/chains/main/blocks/head/context/sc_rollup/[SC_ROLLUP_HASH]/boot_sector' diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- origination of a SCORU executes without error.out b/tezt/tests/expected/sc_rollup.ml/Alpha- origination of a SCORU executes without error.out index 9798ff186439..84c2be78f628 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- origination of a SCORU executes without error.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- origination of a SCORU executes without error.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,17 +15,17 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - check inbox size.out b/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - check inbox size.out index 9d1236c74f06..63fb8c7e4902 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - check inbox size.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - check inbox size.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,24 +15,24 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1651.698 units (will add 100 for safety) +Estimated gas: 1651.650 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -52,12 +52,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000457 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1651.826 + Consumed gas: 1651.778 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 1 nb_messages_in_commitment_period = 1 starting_level_of_current_commitment_period = 2 message_counter = 1 @@ -71,7 +70,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1652.516 units (will add 100 for safety) +Estimated gas: 1652.468 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -91,12 +90,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000469 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1652.644 + Consumed gas: 1652.596 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 3 nb_messages_in_commitment_period = 3 starting_level_of_current_commitment_period = 2 message_counter = 2 @@ -111,7 +109,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.319 units (will add 100 for safety) +Estimated gas: 1653.271 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -131,12 +129,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000481 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1653.319 + Consumed gas: 1653.271 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 5 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 6 nb_messages_in_commitment_period = 6 starting_level_of_current_commitment_period = 2 message_counter = 3 @@ -151,7 +148,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1653.915 units (will add 100 for safety) +Estimated gas: 1653.867 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -171,12 +168,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000493 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.043 + Consumed gas: 1653.995 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 6 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 10 nb_messages_in_commitment_period = 10 starting_level_of_current_commitment_period = 2 message_counter = 4 @@ -192,7 +188,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1654.718 units (will add 100 for safety) +Estimated gas: 1654.670 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -212,12 +208,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000505 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1654.718 + Consumed gas: 1654.670 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 7 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 15 nb_messages_in_commitment_period = 15 starting_level_of_current_commitment_period = 2 message_counter = 5 @@ -233,7 +228,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.314 units (will add 100 for safety) +Estimated gas: 1655.266 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -253,12 +248,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000517 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.314 + Consumed gas: 1655.266 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 8 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 21 nb_messages_in_commitment_period = 21 starting_level_of_current_commitment_period = 2 message_counter = 6 @@ -274,7 +268,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.910 units (will add 100 for safety) +Estimated gas: 1655.862 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -294,12 +288,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000529 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.910 + Consumed gas: 1655.862 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 9 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 28 nb_messages_in_commitment_period = 28 starting_level_of_current_commitment_period = 2 message_counter = 7 @@ -315,7 +308,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1656.506 units (will add 100 for safety) +Estimated gas: 1656.458 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -335,12 +328,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000541 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1656.634 + Consumed gas: 1656.586 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 10 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 36 nb_messages_in_commitment_period = 36 starting_level_of_current_commitment_period = 2 message_counter = 8 @@ -357,7 +349,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.309 units (will add 100 for safety) +Estimated gas: 1657.261 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -377,12 +369,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000553 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.309 + Consumed gas: 1657.261 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 11 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 45 nb_messages_in_commitment_period = 45 starting_level_of_current_commitment_period = 2 message_counter = 9 @@ -399,7 +390,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE","CAFEBABE"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1657.905 units (will add 100 for safety) +Estimated gas: 1657.857 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -419,12 +410,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000565 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1657.905 + Consumed gas: 1657.857 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 12 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 55 nb_messages_in_commitment_period = 55 starting_level_of_current_commitment_period = 2 message_counter = 10 diff --git a/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - current messages hash.out b/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - current messages hash.out index d91d280e1b38..d09b3b1c5699 100644 --- a/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - current messages hash.out +++ b/tezt/tests/expected/sc_rollup.ml/Alpha- pushing messages in the inbox - current messages hash.out @@ -1,8 +1,8 @@ ./tezos-client --wait none originate sc rollup from '[PUBLIC_KEY_HASH]' of kind arith of type unit booting with --burn-cap 9999999 Node is bootstrapped. -Estimated gas: 2509.140 units (will add 100 for safety) -Estimated storage: 6626 bytes added (will add 20 for safety) +Estimated gas: 2509.092 units (will add 100 for safety) +Estimated storage: 6614 bytes added (will add 20 for safety) Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' NOT waiting for the operation to be included. @@ -15,24 +15,24 @@ This sequence of operations was run: Fee to the baker: ꜩ0.000614 Expected counter: 1 Gas limit: 2610 - Storage limit: 6646 bytes + Storage limit: 6634 bytes Balance updates: [PUBLIC_KEY_HASH] ... -ꜩ0.000614 payload fees(the block proposer) ....... +ꜩ0.000614 Originate smart contract rollup of kind arith and type unit with boot sector '' This smart contract rollup origination was successfully applied - Consumed gas: 2509.140 - Storage size: 6626 bytes + Consumed gas: 2509.092 + Storage size: 6614 bytes Address: [SC_ROLLUP_HASH] Genesis commitment hash: [SC_ROLLUP_COMMITMENT_HASH] Balance updates: - [PUBLIC_KEY_HASH] ... -ꜩ1.6565 - storage fees ........................... +ꜩ1.6565 + [PUBLIC_KEY_HASH] ... -ꜩ1.6535 + storage fees ........................... +ꜩ1.6535 ./tezos-client --wait none send sc rollup message 'text:["hello, message number 0", "hello, message number 1", "hello, message number 2", "hello, message number 3", "hello, message number 4"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1655.357 units (will add 100 for safety) +Estimated gas: 1655.309 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -52,12 +52,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.00058 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1655.485 + Consumed gas: 1655.437 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 3 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 5 nb_messages_in_commitment_period = 5 starting_level_of_current_commitment_period = 2 message_counter = 5 @@ -71,7 +70,7 @@ This sequence of operations was run: ./tezos-client --wait none send sc rollup message 'text:["hello, message number 5", "hello, message number 6", "hello, message number 7", "hello, message number 8", "hello, message number 9", "hello, message number 10"]' from bootstrap1 to '[SC_ROLLUP_HASH]' Node is bootstrapped. -Estimated gas: 1656.447 units (will add 100 for safety) +Estimated gas: 1656.399 units (will add 100 for safety) Estimated storage: no bytes added Operation successfully injected in the node. Operation hash is '[OPERATION_HASH]' @@ -91,12 +90,11 @@ This sequence of operations was run: payload fees(the block proposer) ....... +ꜩ0.000608 Add a message to the inbox of the smart contract rollup at address [SC_ROLLUP_HASH] This smart contract rollup messages submission was successfully applied - Consumed gas: 1656.575 + Consumed gas: 1656.527 Resulting inbox state: rollup = [SC_ROLLUP_HASH] level = 4 current messages hash = [SC_ROLLUP_INBOX_HASH] - nb_available_messages = 11 nb_messages_in_commitment_period = 11 starting_level_of_current_commitment_period = 2 message_counter = 6 diff --git a/tezt/tests/sc_rollup.ml b/tezt/tests/sc_rollup.ml index 4e312022026c..a15007f5d26c 100644 --- a/tezt/tests/sc_rollup.ml +++ b/tezt/tests/sc_rollup.ml @@ -50,7 +50,7 @@ let block_finality_time = 2 type sc_rollup_constants = { origination_size : int; challenge_window_in_blocks : int; - max_available_messages : int; + max_number_of_messages_per_commitment_period : int; stake_amount : Tez.t; commitment_period_in_blocks : int; max_lookahead_in_blocks : int32; @@ -65,8 +65,8 @@ let get_sc_rollup_constants client = let challenge_window_in_blocks = json |-> "sc_rollup_challenge_window_in_blocks" |> as_int in - let max_available_messages = - json |-> "sc_rollup_max_available_messages" |> as_int + let max_number_of_messages_per_commitment_period = + json |-> "sc_rollup_max_number_of_messages_per_commitment_period" |> as_int in let stake_amount = json |-> "sc_rollup_stake_amount" |> as_string |> Int64.of_string @@ -88,7 +88,7 @@ let get_sc_rollup_constants client = { origination_size; challenge_window_in_blocks; - max_available_messages; + max_number_of_messages_per_commitment_period; stake_amount; commitment_period_in_blocks; max_lookahead_in_blocks; @@ -184,10 +184,6 @@ let test_scenario ?commitment_period ?challenge_window let inbox_level (_hash, (commitment : Sc_rollup_client.commitment), _level) = commitment.inbox_level -let number_of_messages - (_hash, (commitment : Sc_rollup_client.commitment), _level) = - commitment.number_of_messages - let number_of_ticks (_hash, (commitment : Sc_rollup_client.commitment), _level) = commitment.number_of_ticks @@ -229,13 +225,7 @@ let cement_commitment client ~sc_rollup ~hash = let publish_commitment ?(src = Constant.bootstrap1.public_key_hash) ~commitment client sc_rollup = - let ({ - compressed_state; - inbox_level; - predecessor; - number_of_messages; - number_of_ticks; - } + let ({compressed_state; inbox_level; predecessor; number_of_ticks} : Sc_rollup_client.commitment) = commitment in @@ -246,7 +236,6 @@ let publish_commitment ?(src = Constant.bootstrap1.public_key_hash) ~commitment ~compressed_state ~inbox_level ~predecessor - ~number_of_messages ~number_of_ticks client @@ -526,7 +515,7 @@ let parse_inbox json = let inbox = JSON.as_object json in return ( List.assoc "current_level_hash" inbox |> JSON.as_string, - List.assoc "nb_available_messages" inbox |> JSON.as_int ) + List.assoc "nb_messages_in_commitment_period" inbox |> JSON.as_int ) in Lwt.catch go @@ fun exn -> failwith @@ -555,10 +544,12 @@ let test_rollup_inbox_size = ( with_fresh_rollup @@ fun sc_rollup _sc_rollup_node _filename -> let n = 10 in let* () = send_messages n sc_rollup client in - let* _, inbox_size = get_inbox_from_tezos_node sc_rollup client in + let* _, inbox_msg_during_commitment_period = + get_inbox_from_tezos_node sc_rollup client + in return @@ Check.( - (inbox_size = n * (n + 1) / 2) + (inbox_msg_during_commitment_period = n * (n + 1) / 2) int ~error_msg:"expected value %R, got %L") ) node @@ -779,32 +770,6 @@ let basic_scenario _protocol sc_rollup_node sc_rollup _node client = let* _ = Sc_rollup_node.wait_for_level sc_rollup_node expected_level in return () -let too_many_messages _protocol sc_rollup_node sc_rollup _node client = - (* The following should be equal to `Sc_rollup_repr.Number_of_messages.max_int`. *) - let num_messages = 4_096 in - (* TODO: https://gitlab.com/tezos/tezos/-/issues/2932 - The following should be equal to the period of commitment publications. *) - let num_levels = 20 in - let batch_size = (num_messages / num_levels) + 1 in - let* current_level = RPC.get_current_level client in - let expected_level = JSON.(as_int (current_level |-> "level")) + num_levels in - let* () = Sc_rollup_node.run sc_rollup_node in - let* success = - Lwt.catch - (fun () -> - let* () = send_messages ~batch_size num_levels sc_rollup client in - let* _ = - Sc_rollup_node.wait_for_level - ~timeout:3. - sc_rollup_node - expected_level - in - return false) - (fun _exn -> return true) - in - if success then return () - else failwith "Adding too many messages in the inbox should fail." - let sc_rollup_node_stops_scenario _protocol sc_rollup_node sc_rollup _node client = let num_messages = 2 in @@ -1054,9 +1019,6 @@ let check_eq_commitment (c1 : Sc_rollup_client.commitment) Check.(c1.inbox_level = c2.inbox_level) Check.int ~error_msg:"Commitments differ in inbox_level (%L = %R)" ; - Check.(c1.number_of_messages = c2.number_of_messages) - Check.int - ~error_msg:"Commitments differ in inbox_level (%L = %R)" ; Check.(c1.number_of_ticks = c2.number_of_ticks) Check.int ~error_msg:"Commitments differ in inbox_level (%L = %R)" @@ -1164,17 +1126,6 @@ let commitment_stored _protocol sc_rollup_node sc_rollup _node client = (Check.option Check.int) ~error_msg: "Commitment has been stored at a level different than expected (%L = %R)" ; - let expected_number_of_messages = - Some (levels_to_commitment * (levels_to_commitment + 1) / 2) - in - (let stored_number_of_messages = - Option.map number_of_messages stored_commitment - in - Check.(expected_number_of_messages = stored_number_of_messages) - (Check.option Check.int) - ~error_msg: - "Number of messages processed by commitment is different from the \ - number of messages expected (%L expected <> %R processed)") ; let* published_commitment = Sc_rollup_client.last_published_commitment ~hooks sc_rollup_client in @@ -1294,14 +1245,6 @@ let commitments_messages_reset _protocol sc_rollup_node sc_rollup _node client = (Check.option Check.int) ~error_msg: "Commitment has been stored at a level different than expected (%L = %R)" ; - (let stored_number_of_messages = - Option.map number_of_messages stored_commitment - in - Check.(stored_number_of_messages = Some 0) - (Check.option Check.int) - ~error_msg: - "Number of messages processed by commitment is different from the \ - number of messages expected (%L = %R)") ; (let stored_number_of_ticks = Option.map number_of_ticks stored_commitment in Check.(stored_number_of_ticks = Some 0) (Check.option Check.int) @@ -1417,14 +1360,6 @@ let commitments_reorgs protocol sc_rollup_node sc_rollup node client = (Check.option Check.int) ~error_msg: "Commitment has been stored at a level different than expected (%L = %R)" ; - (let stored_number_of_messages = - Option.map number_of_messages stored_commitment - in - Check.(stored_number_of_messages = Some 0) - (Check.option Check.int) - ~error_msg: - "Number of messages processed by commitment is different from the \ - number of messages expected (%L = %R)") ; (let stored_number_of_ticks = Option.map number_of_ticks stored_commitment in Check.(stored_number_of_ticks = Some 0) (Check.option Check.int) @@ -1932,7 +1867,6 @@ let publish_dummy_commitment ~inbox_level ~predecessor ~sc_rollup ~src client = compressed_state = Constant.sc_rollup_compressed_state; inbox_level; predecessor; - number_of_messages = 0; number_of_ticks = 1; } in @@ -2004,10 +1938,6 @@ let register ~protocols = test_rollup_inbox_size protocols ; test_rollup_inbox_current_messages_hash protocols ; test_rollup_inbox_of_rollup_node "basic" basic_scenario protocols ; - test_rollup_inbox_of_rollup_node - "too_many_messages" - too_many_messages - protocols ; test_rollup_inbox_of_rollup_node "stops" sc_rollup_node_stops_scenario -- GitLab