diff --git a/src/proto_alpha/lib_client/mockup.ml b/src/proto_alpha/lib_client/mockup.ml index a258a667bdfbcf8b798e29372e9196843182a58e..61f6f776485495a0b1880390339038fe6dd172d5 100644 --- a/src/proto_alpha/lib_client/mockup.ml +++ b/src/proto_alpha/lib_client/mockup.ml @@ -60,7 +60,6 @@ module Protocol_constants_overrides = struct max_available_messages : int option; stake_amount : Tez.t option; commitment_period_in_blocks : int option; - commitment_storage_size_in_bytes : int option; max_lookahead_in_blocks : int32 option; max_active_outbox_levels : int32 option; max_outbox_messages_per_level : int option; @@ -192,7 +191,6 @@ module Protocol_constants_overrides = struct c.max_available_messages, c.stake_amount, c.commitment_period_in_blocks, - c.commitment_storage_size_in_bytes, c.max_lookahead_in_blocks, c.max_active_outbox_levels, c.max_outbox_messages_per_level )) @@ -202,7 +200,6 @@ module Protocol_constants_overrides = struct sc_rollup_max_available_messages, sc_rollup_stake_amount, sc_rollup_commitment_period_in_blocks, - sc_rollup_commitment_storage_size_in_bytes, sc_rollup_max_lookahead_in_blocks, sc_rollup_max_active_outbox_levels, sc_rollup_max_outbox_messages_per_level ) -> @@ -213,21 +210,18 @@ module Protocol_constants_overrides = struct max_available_messages = sc_rollup_max_available_messages; stake_amount = sc_rollup_stake_amount; commitment_period_in_blocks = sc_rollup_commitment_period_in_blocks; - commitment_storage_size_in_bytes = - sc_rollup_commitment_storage_size_in_bytes; max_lookahead_in_blocks = sc_rollup_max_lookahead_in_blocks; max_active_outbox_levels = sc_rollup_max_active_outbox_levels; max_outbox_messages_per_level = sc_rollup_max_outbox_messages_per_level; }) - (obj10 + (obj9 (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_stake_amount" Tez.encoding) (opt "sc_rollup_commitment_period_in_blocks" int31) - (opt "sc_rollup_commitment_storage_size_in_bytes" int31) (opt "sc_rollup_max_lookahead_in_blocks" int32) (opt "sc_rollup_max_active_outbox_levels" int32) (opt "sc_rollup_max_outbox_messages_per_level" int31)) @@ -488,8 +482,6 @@ module Protocol_constants_overrides = struct stake_amount = Some parametric.sc_rollup.stake_amount; commitment_period_in_blocks = Some parametric.sc_rollup.commitment_period_in_blocks; - commitment_storage_size_in_bytes = - Some parametric.sc_rollup.commitment_storage_size_in_bytes; max_lookahead_in_blocks = Some parametric.sc_rollup.max_lookahead_in_blocks; max_active_outbox_levels = @@ -577,7 +569,6 @@ module Protocol_constants_overrides = struct max_available_messages = None; stake_amount = None; commitment_period_in_blocks = None; - commitment_storage_size_in_bytes = None; max_lookahead_in_blocks = None; max_active_outbox_levels = None; max_outbox_messages_per_level = None; @@ -1040,10 +1031,6 @@ module Protocol_constants_overrides = struct Option.value ~default:c.sc_rollup.commitment_period_in_blocks o.sc_rollup.commitment_period_in_blocks; - commitment_storage_size_in_bytes = - Option.value - ~default:c.sc_rollup.commitment_storage_size_in_bytes - o.sc_rollup.commitment_storage_size_in_bytes; max_lookahead_in_blocks = Option.value ~default:c.sc_rollup.max_lookahead_in_blocks diff --git a/src/proto_alpha/lib_parameters/default_parameters.ml b/src/proto_alpha/lib_parameters/default_parameters.ml index ddbce004124b08b950eeee3ea0de28acf9afa811..36ce5101dabd3ef1655cf1e7811862c4c16bd3ff 100644 --- a/src/proto_alpha/lib_parameters/default_parameters.ml +++ b/src/proto_alpha/lib_parameters/default_parameters.ml @@ -195,7 +195,6 @@ let constants_mainnet = The following constants need to be refined. *) stake_amount = Tez.of_mutez_exn 32_000_000L; commitment_period_in_blocks = 30; - commitment_storage_size_in_bytes = 84; max_lookahead_in_blocks = 30_000l; max_active_outbox_levels = sc_rollup_max_active_outbox_levels; max_outbox_messages_per_level = sc_rollup_max_outbox_messages_per_level; diff --git a/src/proto_alpha/lib_protocol/alpha_context.mli b/src/proto_alpha/lib_protocol/alpha_context.mli index f5f9cade4a78862add4719e9c1315800d03531d3..5b9d279b7daea30304b9da0f328be4ccc0352bcf 100644 --- a/src/proto_alpha/lib_protocol/alpha_context.mli +++ b/src/proto_alpha/lib_protocol/alpha_context.mli @@ -756,7 +756,6 @@ module Constants : sig max_available_messages : int; stake_amount : Tez.t; commitment_period_in_blocks : int; - commitment_storage_size_in_bytes : int; max_lookahead_in_blocks : int32; max_active_outbox_levels : int32; max_outbox_messages_per_level : int; @@ -926,8 +925,6 @@ module Constants : sig val sc_rollup_commitment_period_in_blocks : Raw_context.t -> int - val sc_rollup_commitment_storage_size_in_bytes : Raw_context.t -> int - val sc_rollup_max_lookahead_in_blocks : Raw_context.t -> int32 (** All constants: fixed and parametric *) diff --git a/src/proto_alpha/lib_protocol/constants_parametric_repr.ml b/src/proto_alpha/lib_protocol/constants_parametric_repr.ml index 2d8d2770ebdde5de961fb97f9312f9cb2c8c3d94..2ca203edaa06f4c55869de711b564e34049b60b8 100644 --- a/src/proto_alpha/lib_protocol/constants_parametric_repr.ml +++ b/src/proto_alpha/lib_protocol/constants_parametric_repr.ml @@ -101,7 +101,6 @@ type sc_rollup = { max_available_messages : int; stake_amount : Tez_repr.t; commitment_period_in_blocks : int; - commitment_storage_size_in_bytes : int; max_lookahead_in_blocks : int32; max_active_outbox_levels : int32; max_outbox_messages_per_level : int; @@ -231,7 +230,6 @@ let sc_rollup_encoding = c.max_available_messages, c.stake_amount, c.commitment_period_in_blocks, - c.commitment_storage_size_in_bytes, c.max_lookahead_in_blocks, c.max_active_outbox_levels, c.max_outbox_messages_per_level )) @@ -241,7 +239,6 @@ let sc_rollup_encoding = sc_rollup_max_available_messages, sc_rollup_stake_amount, sc_rollup_commitment_period_in_blocks, - sc_rollup_commitment_storage_size_in_bytes, sc_rollup_max_lookahead_in_blocks, sc_rollup_max_active_outbox_levels, sc_rollup_max_outbox_messages_per_level ) -> @@ -252,20 +249,17 @@ let sc_rollup_encoding = max_available_messages = sc_rollup_max_available_messages; stake_amount = sc_rollup_stake_amount; commitment_period_in_blocks = sc_rollup_commitment_period_in_blocks; - commitment_storage_size_in_bytes = - sc_rollup_commitment_storage_size_in_bytes; max_lookahead_in_blocks = sc_rollup_max_lookahead_in_blocks; max_active_outbox_levels = sc_rollup_max_active_outbox_levels; max_outbox_messages_per_level = sc_rollup_max_outbox_messages_per_level; }) - (obj10 + (obj9 (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_stake_amount" Tez_repr.encoding) (req "sc_rollup_commitment_period_in_blocks" int31) - (req "sc_rollup_commitment_storage_size_in_bytes" int31) (req "sc_rollup_max_lookahead_in_blocks" int32) (req "sc_rollup_max_active_outbox_levels" int32) (req "sc_rollup_max_outbox_messages_per_level" int31)) diff --git a/src/proto_alpha/lib_protocol/constants_parametric_repr.mli b/src/proto_alpha/lib_protocol/constants_parametric_repr.mli index 79ae0c2deb433371ae043ac46f588e7a9477426d..d5d38f6985068df3d9e9c85d3473a37a90259ba4 100644 --- a/src/proto_alpha/lib_protocol/constants_parametric_repr.mli +++ b/src/proto_alpha/lib_protocol/constants_parametric_repr.mli @@ -92,8 +92,6 @@ type sc_rollup = { stake_amount : Tez_repr.t; (* The period with which commitments are made. *) commitment_period_in_blocks : int; - (* The storage size requirement (in bytes) of a commitment *) - commitment_storage_size_in_bytes : int; (* The maximum depth of a staker's position - chosen alongside [commitment_period_in_blocks] to prevent the cost of a staker's commitments' storage being greater than their deposit. *) diff --git a/src/proto_alpha/lib_protocol/constants_repr.ml b/src/proto_alpha/lib_protocol/constants_repr.ml index 05d0eecc038cd3bdc4a88a36f137a23970db936e..f1c7ab23f3782b9eaa0630ee7b62b040c0585a6a 100644 --- a/src/proto_alpha/lib_protocol/constants_repr.ml +++ b/src/proto_alpha/lib_protocol/constants_repr.ml @@ -202,6 +202,52 @@ let check_constants constants = (Invalid_protocol_constants "The ratio blocks_per_cycle per blocks_per_stake_snapshot should be \ between 1 and 65535") + >>? fun () -> + error_unless + Compare.Int.(constants.sc_rollup.origination_size >= 0) + (Invalid_protocol_constants + "The smart contract rollup origination size must be non-negative.") + >>? fun () -> + error_unless + Compare.Int.(constants.sc_rollup.challenge_window_in_blocks >= 0) + (Invalid_protocol_constants + "The smart contract rollup challenge window in blocks must be \ + non-negative.") + >>? fun () -> + error_unless + Compare.Int.(constants.sc_rollup.max_available_messages > 0) + (Invalid_protocol_constants + "The smart contract rollup max available messages must be strictly \ + greater than 0.") + >>? fun () -> + error_unless + Tez_repr.(constants.sc_rollup.stake_amount >= zero) + (Invalid_protocol_constants + "The smart contract rollup max stake amount must be non-negative.") + >>? fun () -> + error_unless + Compare.Int.(constants.sc_rollup.commitment_period_in_blocks > 0) + (Invalid_protocol_constants + "The smart contract rollup commitment period in blocks must be strictly \ + greater than 0.") + >>? fun () -> + error_unless + (let sc_rollup_max_lookahead_in_blocks = + constants.sc_rollup.max_lookahead_in_blocks + in + Compare.Int32.( + sc_rollup_max_lookahead_in_blocks + > Int32.of_int constants.sc_rollup.commitment_period_in_blocks + && (* Check that [sc_rollup_challenge_window_in_blocks < + sc_rollup_max_lookahead_in_blocks]. Otherwise committers would be + forced to commit at an artificially slow rate, affecting the + throughput of the rollup. *) + sc_rollup_max_lookahead_in_blocks + > Int32.of_int constants.sc_rollup.challenge_window_in_blocks)) + (Invalid_protocol_constants + "The smart contract rollup max lookahead in blocks must be greater than \ + [sc_rollup_commitment_period_in_blocks] and \ + [sc_rollup_challenge_window_in_blocks].") >>? fun () -> Result.return_unit module Generated = struct diff --git a/src/proto_alpha/lib_protocol/constants_storage.ml b/src/proto_alpha/lib_protocol/constants_storage.ml index 96f2802654dae37d492501eaad0026fbcc8bc356..85d75f3fc71b2f01254b3f13540082a78ed4e1db 100644 --- a/src/proto_alpha/lib_protocol/constants_storage.ml +++ b/src/proto_alpha/lib_protocol/constants_storage.ml @@ -238,10 +238,6 @@ let sc_rollup_commitment_period_in_blocks c = let sc_rollup = Raw_context.sc_rollup c in sc_rollup.commitment_period_in_blocks -let sc_rollup_commitment_storage_size_in_bytes c = - let sc_rollup = Raw_context.sc_rollup c in - sc_rollup.commitment_storage_size_in_bytes - let sc_rollup_max_lookahead_in_blocks c = let sc_rollup = Raw_context.sc_rollup c in sc_rollup.max_lookahead_in_blocks diff --git a/src/proto_alpha/lib_protocol/constants_storage.mli b/src/proto_alpha/lib_protocol/constants_storage.mli index 9d5371cee5361e99d0f979e8605d513b13362f4a..a278ae0d67ea196a693a2e3ca0da04f30b045bb3 100644 --- a/src/proto_alpha/lib_protocol/constants_storage.mli +++ b/src/proto_alpha/lib_protocol/constants_storage.mli @@ -141,8 +141,6 @@ val sc_rollup_stake_amount : Raw_context.t -> Tez_repr.t val sc_rollup_commitment_period_in_blocks : Raw_context.t -> int -val sc_rollup_commitment_storage_size_in_bytes : Raw_context.t -> int - val sc_rollup_max_lookahead_in_blocks : Raw_context.t -> int32 val sc_rollup_max_active_outbox_levels : Raw_context.t -> int32 diff --git a/src/proto_alpha/lib_protocol/raw_context.ml b/src/proto_alpha/lib_protocol/raw_context.ml index 2454cf0a3a15aec55bdb9e2cf36e5ef0a6d790a1..f14d37096401f7938221f23a4d9fcd6eca786fbd 100644 --- a/src/proto_alpha/lib_protocol/raw_context.ml +++ b/src/proto_alpha/lib_protocol/raw_context.ml @@ -998,10 +998,6 @@ let prepare_first_block ~level ~timestamp ctxt = The following constants need to be refined. *) stake_amount = Tez_repr.of_mutez_exn 32_000_000L; commitment_period_in_blocks = 30; - (* 76 for Commitments entry + 4 for Commitment_stake_count entry - + 4 for Commitment_added entry - + 0 for Staker_count_update entry *) - commitment_storage_size_in_bytes = 84; max_lookahead_in_blocks = 30_000l; (* Number of active levels kept for executing outbox messages. WARNING: Changing this value impacts the storage charge for 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 1e9edfa2f686275eb22746065b5884d1b12540d7..d8d05c4c033100d35732d0d486f0d624e1fc00f4 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.ml +++ b/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.ml @@ -235,6 +235,11 @@ let increase_commitment_stake_count ctxt rollup node = in return (size_diff, ctxt) +(* 76 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 = 84 + let refine_stake ctxt rollup staker commitment = let open Lwt_tzresult_syntax in let* lcc, ctxt = Commitment_storage.last_cemented_commitment ctxt rollup in @@ -271,10 +276,8 @@ let refine_stake ctxt rollup staker commitment = commitment_size_diff + commitment_added_size_diff + stake_count_size_diff + staker_count_diff in - let expected_size_diff = - Constants_storage.sc_rollup_commitment_storage_size_in_bytes ctxt - in - (* First submission adds [sc_rollup_commitment_storage_size_in_bytes] to storage. + let expected_size_diff = commitment_storage_size_in_bytes in + (* First submission adds [commitment_storage_size_in_bytes] to storage. Later submission adds 0 due to content-addressing. *) assert (Compare.Int.(size_diff = 0 || size_diff = expected_size_diff)) ; return (new_hash, commitment_added_level, ctxt) diff --git a/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.mli b/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.mli index 14859261eb13f164d109d76b0e4aeb485b24e995..428728fef846680b6915c6b4cac8db507d4dcb54 100644 --- a/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.mli +++ b/src/proto_alpha/lib_protocol/sc_rollup_stake_storage.mli @@ -123,6 +123,9 @@ val find_staker : Signature.public_key_hash -> (Sc_rollup_commitment_repr.Hash.t * Raw_context.t) tzresult Lwt.t +(** The storage size requirement (in bytes) of a commitment *) +val commitment_storage_size_in_bytes : int + (**/**) module Internal_for_tests : sig 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 08ed46c5d7867849c21c548d6eb134c714096ab8..bf2ed7bd16e2e68747566d9080fba173653567f5 100644 --- a/src/proto_alpha/lib_protocol/test/integration/test_constants.ml +++ b/src/proto_alpha/lib_protocol/test/integration/test_constants.ml @@ -86,7 +86,7 @@ let test_sc_rollup_max_commitment_storage_cost_lt_deposit () = Alpha_context.Tez.to_mutez constants.cost_per_byte in let commitment_storage_size = - Int64.of_int constants.sc_rollup.commitment_storage_size_in_bytes + Int64.of_int Sc_rollup_stake_storage.commitment_storage_size_in_bytes in let commitment_storage_cost = Int64.mul cost_per_byte_mutez commitment_storage_size @@ -108,15 +108,15 @@ let test_sc_rollup_max_commitment_storage_cost_lt_deposit () = stake_amount (* Check that - [sc_rollup_commitment_storage_size_in_bytes = commitments_entry_size + - commitment_stake_count_entry_size + commitment_added_entry_size] + [{!Sc_rollup_stake_storage.commitment_storage_size_in_bytes} = + commitments_entry_size + commitment_stake_count_entry_size + + commitment_added_entry_size] Required to ensure [sc_rollup_stake_amount] and [sc_rollup_max_lookahead] are correctly scaled with respect to each other - see {!test_sc_rollup_max_commitment_storage_cost_lt_deposit} *) let test_sc_rollup_commitment_storage_size () = - let constants = Default_parameters.constants_mainnet in let open Protocol in Assert.get_some ~loc:__LOC__ @@ -152,7 +152,7 @@ let test_sc_rollup_commitment_storage_size () = in Assert.equal_int ~loc:__LOC__ - constants.sc_rollup.commitment_storage_size_in_bytes + Sc_rollup_stake_storage.commitment_storage_size_in_bytes (Bytes.length commitment_bytes + Bytes.length level_bytes + Bytes.length commitment_stake_count_bytes) diff --git a/tests_python/tests_alpha/test_mockup.py b/tests_python/tests_alpha/test_mockup.py index 5535e1c3bfd8478a71a91b5aa4fda8e2884d5d2f..1a39706f7306b7223f50a94588d1a021941e10b7 100644 --- a/tests_python/tests_alpha/test_mockup.py +++ b/tests_python/tests_alpha/test_mockup.py @@ -683,8 +683,7 @@ def _test_create_mockup_init_show_roundtrip( "sc_rollup_max_available_messages": 1_000_000, "sc_rollup_stake_amount": "42000000", "sc_rollup_commitment_period_in_blocks": 40, - "sc_rollup_commitment_storage_size_in_bytes": 84, - "sc_rollup_max_lookahead_in_blocks": 10_000, + "sc_rollup_max_lookahead_in_blocks": 30_000, "sc_rollup_max_active_outbox_levels": 20_160, "sc_rollup_max_outbox_messages_per_level": 100, } diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- others.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- others.out index 63715d6a638cc5788fc781df3aea56603d7f40f9..08af28a81f4bce59f665d578a6c0d15f806f26e2 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- others.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- others.out @@ -50,7 +50,6 @@ "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- others.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- others.out index bb66cdfcd14a157039f17472a664ed94ad0b6c6f..5921e5de50ed010d8f1872403159f0e8fdc15498 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- others.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- others.out @@ -50,7 +50,6 @@ "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- others.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- others.out index 3e5f789a7bc1e299e7e05257b2d293d018aebc1f..b10b690d4c7ed8874bbfcc8ec7cee6a68eab9108 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- others.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- others.out @@ -50,7 +50,6 @@ "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_data_dir) RPC regression tests- others.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_data_dir) RPC regression tests- others.out index 4e1784032912c97e213fda4c2e4895977171306d..9cec6efb73511dd892a034995f76b3f017824459 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_data_dir) RPC regression tests- others.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_data_dir) RPC regression tests- others.out @@ -50,7 +50,6 @@ "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_rpc) RPC regression tests- others.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_rpc) RPC regression tests- others.out index 4e1784032912c97e213fda4c2e4895977171306d..9cec6efb73511dd892a034995f76b3f017824459 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_rpc) RPC regression tests- others.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy_server_rpc) RPC regression tests- others.out @@ -50,7 +50,6 @@ "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } 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 83bdd59e186145b3e2231724cfa7bfe953343948..9f6dee7f3b17217aa101fe773eee29e6483c5512 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 @@ -83,7 +83,6 @@ This sequence of operations was run: "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } 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 cd2c971b191473752b466c5a1e69f5752425c112..b35035d5f5d0280c76c3b8acab22d80983501ece 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 @@ -83,7 +83,6 @@ This sequence of operations was run: "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } 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 ef7e4df7dbb7d6790709c8857ece70c0d6aff2a7..3a8879936092b5616d47fbfd4ff5a23d810e57aa 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 @@ -83,7 +83,6 @@ This sequence of operations was run: "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } 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 7adc069a5e59b569e2652080a312bb427ed4b982..36b6f9d5f93026e2e687eda8f3fd5586856383fe 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 @@ -83,7 +83,6 @@ This sequence of operations was run: "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 } 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 f35c6f59e5f9239bcb28ba2fef3b0c2d974e6926..fbe57dab1d5629f90fe9168b4c23c2fc78b75090 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 @@ -83,7 +83,6 @@ This sequence of operations was run: "sc_rollup_max_available_messages": 1000000, "sc_rollup_stake_amount": "32000000", "sc_rollup_commitment_period_in_blocks": 30, - "sc_rollup_commitment_storage_size_in_bytes": 84, "sc_rollup_max_lookahead_in_blocks": 30000, "sc_rollup_max_active_outbox_levels": 20160, "sc_rollup_max_outbox_messages_per_level": 100 }