From c261fed78e09508e8a682ca06ded94005e91b172 Mon Sep 17 00:00:00 2001 From: Eugen Zalinescu Date: Wed, 3 Dec 2025 20:18:54 +0100 Subject: [PATCH 1/3] Alpha/DAL: introduce 'dynamic lag' feature flag --- src/proto_alpha/lib_dal/dal_plugin_registration.ml | 1 + .../lib_parameters/default_parameters.ml | 1 + src/proto_alpha/lib_protocol/alpha_context.mli | 5 +++++ .../lib_protocol/constants_parametric_repr.ml | 8 +++++++- .../lib_protocol/constants_parametric_repr.mli | 1 + src/proto_alpha/lib_protocol/dal_errors_repr.ml | 12 ++++++++++++ src/proto_alpha/lib_protocol/dal_storage.ml | 1 + src/proto_alpha/lib_protocol/raw_context.ml | 13 +++++++++++++ src/proto_alpha/lib_protocol/raw_context.mli | 8 ++++++++ .../test/unit/test_dal_past_parameters_storage.ml | 1 + 10 files changed, 50 insertions(+), 1 deletion(-) diff --git a/src/proto_alpha/lib_dal/dal_plugin_registration.ml b/src/proto_alpha/lib_dal/dal_plugin_registration.ml index 0b7b44cba22c..c2d97c7085de 100644 --- a/src/proto_alpha/lib_dal/dal_plugin_registration.ml +++ b/src/proto_alpha/lib_dal/dal_plugin_registration.ml @@ -105,6 +105,7 @@ module Plugin = struct let { Constants.Parametric.feature_enable; incentives_enable; + dynamic_lag_enable = _; number_of_slots; attestation_lag; attestation_threshold; diff --git a/src/proto_alpha/lib_parameters/default_parameters.ml b/src/proto_alpha/lib_parameters/default_parameters.ml index d0d7c6a55de7..8b96483ff79e 100644 --- a/src/proto_alpha/lib_parameters/default_parameters.ml +++ b/src/proto_alpha/lib_parameters/default_parameters.ml @@ -157,6 +157,7 @@ let default_dal = { feature_enable = true; incentives_enable = true; + dynamic_lag_enable = false; number_of_slots = 32; attestation_lag = 5; attestation_threshold = 66; diff --git a/src/proto_alpha/lib_protocol/alpha_context.mli b/src/proto_alpha/lib_protocol/alpha_context.mli index 418391a21e13..1996cc8019b0 100644 --- a/src/proto_alpha/lib_protocol/alpha_context.mli +++ b/src/proto_alpha/lib_protocol/alpha_context.mli @@ -860,6 +860,7 @@ module Constants : sig type dal = { feature_enable : bool; incentives_enable : bool; + dynamic_lag_enable : bool; number_of_slots : int; attestation_lag : int; attestation_threshold : int; @@ -2906,6 +2907,10 @@ module Dal : sig val only_if_incentives_enabled : t -> default:(t -> 'a) -> (t -> 'a) -> 'a + val assert_dynamic_lag_enabled : t -> unit tzresult + + val only_if_dynamic_lag_enabled : t -> default:(t -> 'a) -> (t -> 'a) -> 'a + (** This module re-exports definitions from {!Dal_slot_index_repr}. *) module Slot_index : sig type t diff --git a/src/proto_alpha/lib_protocol/constants_parametric_repr.ml b/src/proto_alpha/lib_protocol/constants_parametric_repr.ml index 2adc09727e2f..20903d1dca22 100644 --- a/src/proto_alpha/lib_protocol/constants_parametric_repr.ml +++ b/src/proto_alpha/lib_protocol/constants_parametric_repr.ml @@ -48,6 +48,7 @@ let between_zero_and_excluding_one_q_encoding = type dal = { feature_enable : bool; incentives_enable : bool; + dynamic_lag_enable : bool; number_of_slots : int; attestation_lag : int; attestation_threshold : int; @@ -82,6 +83,7 @@ let dal_encoding = (fun { feature_enable; incentives_enable; + dynamic_lag_enable; number_of_slots; attestation_lag; attestation_threshold; @@ -93,6 +95,7 @@ let dal_encoding = -> ( ( feature_enable, incentives_enable, + dynamic_lag_enable, number_of_slots, attestation_lag, attestation_threshold, @@ -102,6 +105,7 @@ let dal_encoding = cryptobox_parameters )) (fun ( ( feature_enable, incentives_enable, + dynamic_lag_enable, number_of_slots, attestation_lag, attestation_threshold, @@ -113,6 +117,7 @@ let dal_encoding = { feature_enable; incentives_enable; + dynamic_lag_enable; number_of_slots; attestation_lag; attestation_threshold; @@ -122,9 +127,10 @@ let dal_encoding = traps_fraction; }) (merge_objs - (obj8 + (obj9 (req "feature_enable" bool) (req "incentives_enable" bool) + (req "dynamic_lag_enable" bool) (req "number_of_slots" uint16) (req "attestation_lag" uint8) (req "attestation_threshold" uint8) diff --git a/src/proto_alpha/lib_protocol/constants_parametric_repr.mli b/src/proto_alpha/lib_protocol/constants_parametric_repr.mli index cb769ff99174..3d5fd7b8a132 100644 --- a/src/proto_alpha/lib_protocol/constants_parametric_repr.mli +++ b/src/proto_alpha/lib_protocol/constants_parametric_repr.mli @@ -73,6 +73,7 @@ type dal = { feature_enable : bool; incentives_enable : bool; + dynamic_lag_enable : bool; number_of_slots : int; attestation_lag : int; attestation_threshold : int; diff --git a/src/proto_alpha/lib_protocol/dal_errors_repr.ml b/src/proto_alpha/lib_protocol/dal_errors_repr.ml index 2645f9a25d29..8f44fd0e7d15 100644 --- a/src/proto_alpha/lib_protocol/dal_errors_repr.ml +++ b/src/proto_alpha/lib_protocol/dal_errors_repr.ml @@ -26,6 +26,7 @@ type error += | Dal_feature_disabled | Dal_incentives_disabled + | Dal_dynamic_lag_disabled | Dal_slot_index_above_hard_limit of {given : int; limit : int} | Dal_publish_commitment_invalid_index of { given : Dal_slot_index_repr.t; @@ -77,6 +78,17 @@ let () = (function Dal_incentives_disabled -> Some () | _ -> None) (fun () -> Dal_incentives_disabled) ; + let description = "The DAL dynamic lag feature is not yet enabled." in + register_error_kind + `Permanent + ~id:"dal_dynamic_lag_disabled" + ~title:"DAL dynamic lag feature is disabled" + ~description + ~pp:(fun ppf () -> Format.fprintf ppf "%s" description) + Data_encoding.unit + (function Dal_dynamic_lag_disabled -> Some () | _ -> None) + (fun () -> Dal_dynamic_lag_disabled) ; + let description = "Slot index above hard limit" in register_error_kind `Permanent diff --git a/src/proto_alpha/lib_protocol/dal_storage.ml b/src/proto_alpha/lib_protocol/dal_storage.ml index 184c51e70262..465db955f198 100644 --- a/src/proto_alpha/lib_protocol/dal_storage.ml +++ b/src/proto_alpha/lib_protocol/dal_storage.ml @@ -35,6 +35,7 @@ let save_parameters ctxt { feature_enable; incentives_enable; + dynamic_lag_enable = false; number_of_slots; attestation_lag; attestation_threshold; diff --git a/src/proto_alpha/lib_protocol/raw_context.ml b/src/proto_alpha/lib_protocol/raw_context.ml index cab958b3fb77..0aecf4f5c47d 100644 --- a/src/proto_alpha/lib_protocol/raw_context.ml +++ b/src/proto_alpha/lib_protocol/raw_context.ml @@ -1052,6 +1052,7 @@ let prepare_first_block ~level ~timestamp chain_id ctxt = let ({ feature_enable; incentives_enable; + dynamic_lag_enable; number_of_slots; attestation_lag; attestation_threshold; @@ -1066,6 +1067,7 @@ let prepare_first_block ~level ~timestamp chain_id ctxt = { Constants_parametric_repr.feature_enable; incentives_enable; + dynamic_lag_enable; number_of_slots; attestation_lag; attestation_threshold; @@ -1365,6 +1367,7 @@ let prepare_first_block ~level ~timestamp chain_id ctxt = { Constants_parametric_repr.feature_enable; incentives_enable; + dynamic_lag_enable = false; number_of_slots; attestation_lag = 5; attestation_threshold; @@ -2287,6 +2290,16 @@ module Dal = struct let only_if_incentives_enabled ctxt ~default f = let constants = constants ctxt in if constants.dal.incentives_enable then f ctxt else default ctxt + + let assert_dynamic_lag_enabled ctxt = + let constants = constants ctxt in + error_unless + Compare.Bool.(constants.dal.dynamic_lag_enable = true) + Dal_errors_repr.Dal_dynamic_lag_disabled + + let only_if_dynamic_lag_enabled ctxt ~default f = + let constants = constants ctxt in + if constants.dal.dynamic_lag_enable then f ctxt else default ctxt end module Address_registry = struct diff --git a/src/proto_alpha/lib_protocol/raw_context.mli b/src/proto_alpha/lib_protocol/raw_context.mli index b2dec486f0db..c70425099d7f 100644 --- a/src/proto_alpha/lib_protocol/raw_context.mli +++ b/src/proto_alpha/lib_protocol/raw_context.mli @@ -545,6 +545,14 @@ module Dal : sig (* [only_if_dal_incentives_enabled ctxt ~default f] executes [f ctxt] if the DAL incentives flag is enabled and otherwise [default ctxt]. *) val only_if_incentives_enabled : t -> default:(t -> 'a) -> (t -> 'a) -> 'a + + (* Check whether the DAL dynamic lag flag is set and return the error + {!Dal_dynamic_lag_disabled} if not. *) + val assert_dynamic_lag_enabled : t -> unit tzresult + + (* [only_if_dal_dynamic_lag_enabled ctxt ~default f] executes [f ctxt] if the + DAL dynamic flag is enabled and otherwise [default ctxt]. *) + val only_if_dynamic_lag_enabled : t -> default:(t -> 'a) -> (t -> 'a) -> 'a end module Address_registry : sig diff --git a/src/proto_alpha/lib_protocol/test/unit/test_dal_past_parameters_storage.ml b/src/proto_alpha/lib_protocol/test/unit/test_dal_past_parameters_storage.ml index 7f5faaf7af23..7604f068dfd7 100644 --- a/src/proto_alpha/lib_protocol/test/unit/test_dal_past_parameters_storage.ml +++ b/src/proto_alpha/lib_protocol/test/unit/test_dal_past_parameters_storage.ml @@ -69,6 +69,7 @@ let parameters_for_a_level () = { feature_enable; incentives_enable; + dynamic_lag_enable = false; number_of_slots; attestation_lag; attestation_threshold; -- GitLab From b31f7af13537aec90b4616ff6508f2dc20c33f46 Mon Sep 17 00:00:00 2001 From: Eugen Zalinescu Date: Thu, 4 Dec 2025 06:23:40 +0100 Subject: [PATCH 2/3] DAL: add dynamic_lag_enable to list of DAL constants --- src/lib_dal_node_services/types.ml | 8 +++++++- src/lib_dal_node_services/types.mli | 1 + src/proto_021_PsQuebec/lib_dal/dal_plugin_registration.ml | 1 + src/proto_022_PsRiotum/lib_dal/dal_plugin_registration.ml | 1 + src/proto_023_PtSeouLo/lib_dal/dal_plugin_registration.ml | 1 + src/proto_024_PtTALLiN/lib_dal/dal_plugin_registration.ml | 1 + src/proto_alpha/lib_dal/dal_plugin_registration.ml | 3 ++- 7 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/lib_dal_node_services/types.ml b/src/lib_dal_node_services/types.ml index 32b452bdb887..6cf9c377d4b3 100644 --- a/src/lib_dal_node_services/types.ml +++ b/src/lib_dal_node_services/types.ml @@ -368,6 +368,7 @@ type with_proof = {with_proof : bool} type proto_parameters = { feature_enable : bool; incentives_enable : bool; + dynamic_lag_enable : bool; number_of_slots : int; attestation_lag : int; attestation_threshold : int; @@ -525,6 +526,7 @@ let proto_parameters_encoding : proto_parameters Data_encoding.t = (fun { feature_enable; incentives_enable; + dynamic_lag_enable; number_of_slots; attestation_lag; attestation_threshold; @@ -539,6 +541,7 @@ let proto_parameters_encoding : proto_parameters Data_encoding.t = -> ( ( feature_enable, incentives_enable, + dynamic_lag_enable, number_of_slots, attestation_lag, attestation_threshold, @@ -551,6 +554,7 @@ let proto_parameters_encoding : proto_parameters Data_encoding.t = minimal_block_delay ) )) (fun ( ( feature_enable, incentives_enable, + dynamic_lag_enable, number_of_slots, attestation_lag, attestation_threshold, @@ -565,6 +569,7 @@ let proto_parameters_encoding : proto_parameters Data_encoding.t = { feature_enable; incentives_enable; + dynamic_lag_enable; number_of_slots; attestation_lag; attestation_threshold; @@ -577,9 +582,10 @@ let proto_parameters_encoding : proto_parameters Data_encoding.t = minimal_block_delay; }) (merge_objs - (obj6 + (obj7 (req "feature_enable" bool) (req "incentives_enable" bool) + (req "dynamic_lag_enable" bool) (req "number_of_slots" int31) (req "attestation_lag" int31) (req "attestation_threshold" int31) diff --git a/src/lib_dal_node_services/types.mli b/src/lib_dal_node_services/types.mli index 21e13ca68c4c..dc5839f51fab 100644 --- a/src/lib_dal_node_services/types.mli +++ b/src/lib_dal_node_services/types.mli @@ -271,6 +271,7 @@ type with_proof = {with_proof : bool} type proto_parameters = { feature_enable : bool; incentives_enable : bool; + dynamic_lag_enable : bool; number_of_slots : int; attestation_lag : int; attestation_threshold : int; diff --git a/src/proto_021_PsQuebec/lib_dal/dal_plugin_registration.ml b/src/proto_021_PsQuebec/lib_dal/dal_plugin_registration.ml index 4dc61c02cfa7..184eaf58f19c 100644 --- a/src/proto_021_PsQuebec/lib_dal/dal_plugin_registration.ml +++ b/src/proto_021_PsQuebec/lib_dal/dal_plugin_registration.ml @@ -62,6 +62,7 @@ module Plugin = struct { Tezos_dal_node_services.Types.feature_enable; incentives_enable; + dynamic_lag_enable = false; number_of_slots; attestation_lag; attestation_threshold; diff --git a/src/proto_022_PsRiotum/lib_dal/dal_plugin_registration.ml b/src/proto_022_PsRiotum/lib_dal/dal_plugin_registration.ml index 1bf36f85f575..5ea2b9d48ea7 100644 --- a/src/proto_022_PsRiotum/lib_dal/dal_plugin_registration.ml +++ b/src/proto_022_PsRiotum/lib_dal/dal_plugin_registration.ml @@ -65,6 +65,7 @@ module Plugin = struct { Tezos_dal_node_services.Types.feature_enable; incentives_enable; + dynamic_lag_enable = false; number_of_slots; attestation_lag; attestation_threshold; diff --git a/src/proto_023_PtSeouLo/lib_dal/dal_plugin_registration.ml b/src/proto_023_PtSeouLo/lib_dal/dal_plugin_registration.ml index d15aa56d5aea..48353cc7e1e4 100644 --- a/src/proto_023_PtSeouLo/lib_dal/dal_plugin_registration.ml +++ b/src/proto_023_PtSeouLo/lib_dal/dal_plugin_registration.ml @@ -66,6 +66,7 @@ module Plugin = struct { Tezos_dal_node_services.Types.feature_enable; incentives_enable; + dynamic_lag_enable = false; number_of_slots; attestation_lag; attestation_threshold; diff --git a/src/proto_024_PtTALLiN/lib_dal/dal_plugin_registration.ml b/src/proto_024_PtTALLiN/lib_dal/dal_plugin_registration.ml index 5e90316f1b94..c4f17a950374 100644 --- a/src/proto_024_PtTALLiN/lib_dal/dal_plugin_registration.ml +++ b/src/proto_024_PtTALLiN/lib_dal/dal_plugin_registration.ml @@ -83,6 +83,7 @@ module Plugin = struct { Tezos_dal_node_services.Types.feature_enable; incentives_enable; + dynamic_lag_enable = false; number_of_slots; attestation_lag; attestation_threshold; diff --git a/src/proto_alpha/lib_dal/dal_plugin_registration.ml b/src/proto_alpha/lib_dal/dal_plugin_registration.ml index c2d97c7085de..e8744f502391 100644 --- a/src/proto_alpha/lib_dal/dal_plugin_registration.ml +++ b/src/proto_alpha/lib_dal/dal_plugin_registration.ml @@ -105,7 +105,7 @@ module Plugin = struct let { Constants.Parametric.feature_enable; incentives_enable; - dynamic_lag_enable = _; + dynamic_lag_enable; number_of_slots; attestation_lag; attestation_threshold; @@ -120,6 +120,7 @@ module Plugin = struct { Tezos_dal_node_services.Types.feature_enable; incentives_enable; + dynamic_lag_enable; number_of_slots; attestation_lag; attestation_threshold; -- GitLab From 774f046c28483a30a78b6e8081e03c0ad2f89d51 Mon Sep 17 00:00:00 2001 From: Eugen Zalinescu Date: Wed, 3 Dec 2025 20:19:03 +0100 Subject: [PATCH 3/3] Tests: reset regression outputs --- ...n test for the FA deposit and withdrawal events.out | 10 +++++----- ...egression test for the claimed FA deposit event.out | 4 ++-- ...ode client) RPC regression tests- misc_protocol.out | 4 ++-- ...ient) RPC regression tests- misc_protocol_abaab.out | 4 ++-- ...mode light) RPC regression tests- misc_protocol.out | 4 ++-- ...ight) RPC regression tests- misc_protocol_abaab.out | 4 ++-- ...mode proxy) RPC regression tests- misc_protocol.out | 4 ++-- ...roxy) RPC regression tests- misc_protocol_abaab.out | 4 ++-- .../weeklynet.ml/Alpha- weeklynet regression test.out | 4 ++-- tezt/tests/weeklynet_configs/alpha.json | 1 + 10 files changed, 22 insertions(+), 21 deletions(-) diff --git a/etherlink/tezt/tests/expected/evm_sequencer.ml/Alpha- Regression test for the FA deposit and withdrawal events.out b/etherlink/tezt/tests/expected/evm_sequencer.ml/Alpha- Regression test for the FA deposit and withdrawal events.out index a79bfc7bacc3..8babebe3fadb 100644 --- a/etherlink/tezt/tests/expected/evm_sequencer.ml/Alpha- Regression test for the FA deposit and withdrawal events.out +++ b/etherlink/tezt/tests/expected/evm_sequencer.ml/Alpha- Regression test for the FA deposit and withdrawal events.out @@ -3,19 +3,19 @@ Address: 0xff00000000000000000000000000000000000002 Topics: - 0x7ee7a1de9c18ce695c95b8b19fbdf26cce3544e3ca9e08c9f487776783d7599f -- 0xd73f08b85d698e4307583ab28caa091500cfe976c9aa46c957e963246b4c217c +- 0x83fa75cb8976a0a19a558662f9a23b43ee119469ca5d1b1c25ab81b822280b27 Data: 0x0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002 # FA Withdrawal ## Log 0 Address: 0xff00000000000000000000000000000000000002 Topics: - 0xab68450c9e546f6062a861eebf8ec5bbd41b4425e26b20199c91227c7f9038ca -- 0xd73f08b85d698e4307583ab28caa091500cfe976c9aa46c957e963246b4c217c -Data: 0x0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c000000000000000000000000000000000000000000000000000000000000000001570e3b77b3e1db0ef4da1a0be85767bd91e158d1000000000000000000000000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000 +- 0x83fa75cb8976a0a19a558662f9a23b43ee119469ca5d1b1c25ab81b822280b27 +Data: 0x0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c000000000000000000000000000000000000000000000000000000000000000001a1bb750903c3e419b322ee388e74e3f97e00f09e000000000000000000000000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000 # FA Fast Withdrawal ## Log 0 Address: 0xff00000000000000000000000000000000000002 Topics: - 0x7e40c982e82bccb5e8bbd29f38bcfa3996f341ef9f51e2a9cffe086ec87a11c7 -- 0xd73f08b85d698e4307583ab28caa091500cfe976c9aa46c957e963246b4c217c -Data: 0x0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c0000c55cf02dbeecc978d9c84625dcae72bb77ea4fbd0000000000000000000001570e3b77b3e1db0ef4da1a0be85767bd91e158d1000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000005e0be103000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001 +- 0x83fa75cb8976a0a19a558662f9a23b43ee119469ca5d1b1c25ab81b822280b27 +Data: 0x0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c0000000000000000000000006ce4d79d4e77402e1ef3417fdda433aa744c6e1c0000c55cf02dbeecc978d9c84625dcae72bb77ea4fbd0000000000000000000001a1bb750903c3e419b322ee388e74e3f97e00f09e000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000005e0be103000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001 diff --git a/etherlink/tezt/tests/expected/evm_sequencer.ml/Alpha- Regression test for the claimed FA deposit event.out b/etherlink/tezt/tests/expected/evm_sequencer.ml/Alpha- Regression test for the claimed FA deposit event.out index b41a385848c4..e5dd1b372d5c 100644 --- a/etherlink/tezt/tests/expected/evm_sequencer.ml/Alpha- Regression test for the claimed FA deposit event.out +++ b/etherlink/tezt/tests/expected/evm_sequencer.ml/Alpha- Regression test for the claimed FA deposit event.out @@ -3,7 +3,7 @@ Address: 0xff00000000000000000000000000000000000002 Topics: - 0xb02d79c5657e344e23d91529b954c3087c60a974d598939583904a4f0b959614 -- 0x20439b11ccadf7fd68ed2cb1bacc80a1d3df10f2374a62cefe6d4f45b9ee101a +- 0x13d1ace30beaa763d08656e720bee6c9fbda87c1e78a5d8e400e904aa1a2529b - 0x000000000000000000000000d77420f73b4612a7a99dba8c2afd30a1886b0344 Data: 0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d77420f73b4612a7a99dba8c2afd30a1886b0344000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000003 # Claimed deposit @@ -11,5 +11,5 @@ Data: 0x000000000000000000000000000000000000000000000000000000000000000000000000 Address: 0xff00000000000000000000000000000000000002 Topics: - 0x7ee7a1de9c18ce695c95b8b19fbdf26cce3544e3ca9e08c9f487776783d7599f -- 0x20439b11ccadf7fd68ed2cb1bacc80a1d3df10f2374a62cefe6d4f45b9ee101a +- 0x13d1ace30beaa763d08656e720bee6c9fbda87c1e78a5d8e400e904aa1a2529b Data: 0x000000000000000000000000d77420f73b4612a7a99dba8c2afd30a1886b0344000000000000000000000000d77420f73b4612a7a99dba8c2afd30a1886b0344000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000003 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 e9181a3ed041..2420a7c6ba94 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 @@ -40,8 +40,8 @@ "cache_sampler_state_cycles": 5, "dal_parametric": { "feature_enable": true, "incentives_enable": true, - "number_of_slots": 16, "attestation_lag": 5, - "attestation_threshold": 66, + "dynamic_lag_enable": false, "number_of_slots": 16, + "attestation_lag": 5, "attestation_threshold": 66, "minimal_participation_ratio": { "numerator": "16", "denominator": "25" }, "rewards_ratio": { "numerator": "1", "denominator": "10" }, diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- misc_protocol_abaab.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- misc_protocol_abaab.out index 34e7a888cc5b..787beb645e2f 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- misc_protocol_abaab.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode client) RPC regression tests- misc_protocol_abaab.out @@ -40,8 +40,8 @@ "cache_sampler_state_cycles": 5, "dal_parametric": { "feature_enable": true, "incentives_enable": true, - "number_of_slots": 16, "attestation_lag": 5, - "attestation_threshold": 66, + "dynamic_lag_enable": false, "number_of_slots": 16, + "attestation_lag": 5, "attestation_threshold": 66, "minimal_participation_ratio": { "numerator": "16", "denominator": "25" }, "rewards_ratio": { "numerator": "1", "denominator": "10" }, 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 8fc513ca97f0..0b503d16958b 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 @@ -40,8 +40,8 @@ "cache_sampler_state_cycles": 5, "dal_parametric": { "feature_enable": true, "incentives_enable": true, - "number_of_slots": 16, "attestation_lag": 5, - "attestation_threshold": 66, + "dynamic_lag_enable": false, "number_of_slots": 16, + "attestation_lag": 5, "attestation_threshold": 66, "minimal_participation_ratio": { "numerator": "16", "denominator": "25" }, "rewards_ratio": { "numerator": "1", "denominator": "10" }, diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- misc_protocol_abaab.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- misc_protocol_abaab.out index 39d9c90c3d3a..1af73250ae9d 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- misc_protocol_abaab.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode light) RPC regression tests- misc_protocol_abaab.out @@ -40,8 +40,8 @@ "cache_sampler_state_cycles": 5, "dal_parametric": { "feature_enable": true, "incentives_enable": true, - "number_of_slots": 16, "attestation_lag": 5, - "attestation_threshold": 66, + "dynamic_lag_enable": false, "number_of_slots": 16, + "attestation_lag": 5, "attestation_threshold": 66, "minimal_participation_ratio": { "numerator": "16", "denominator": "25" }, "rewards_ratio": { "numerator": "1", "denominator": "10" }, 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 718cfdbf436e..81775501881d 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 @@ -40,8 +40,8 @@ "cache_sampler_state_cycles": 5, "dal_parametric": { "feature_enable": true, "incentives_enable": true, - "number_of_slots": 16, "attestation_lag": 5, - "attestation_threshold": 66, + "dynamic_lag_enable": false, "number_of_slots": 16, + "attestation_lag": 5, "attestation_threshold": 66, "minimal_participation_ratio": { "numerator": "16", "denominator": "25" }, "rewards_ratio": { "numerator": "1", "denominator": "10" }, diff --git a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- misc_protocol_abaab.out b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- misc_protocol_abaab.out index cf92eda46073..0d06f14ca1bc 100644 --- a/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- misc_protocol_abaab.out +++ b/tezt/tests/expected/RPC_test.ml/Alpha- (mode proxy) RPC regression tests- misc_protocol_abaab.out @@ -40,8 +40,8 @@ "cache_sampler_state_cycles": 5, "dal_parametric": { "feature_enable": true, "incentives_enable": true, - "number_of_slots": 16, "attestation_lag": 5, - "attestation_threshold": 66, + "dynamic_lag_enable": false, "number_of_slots": 16, + "attestation_lag": 5, "attestation_threshold": 66, "minimal_participation_ratio": { "numerator": "16", "denominator": "25" }, "rewards_ratio": { "numerator": "1", "denominator": "10" }, diff --git a/tezt/tests/expected/weeklynet.ml/Alpha- weeklynet regression test.out b/tezt/tests/expected/weeklynet.ml/Alpha- weeklynet regression test.out index c91bd5225fa4..c1046c07bbbe 100644 --- a/tezt/tests/expected/weeklynet.ml/Alpha- weeklynet regression test.out +++ b/tezt/tests/expected/weeklynet.ml/Alpha- weeklynet regression test.out @@ -30,8 +30,8 @@ "cache_sampler_state_cycles": 5, "dal_parametric": { "feature_enable": true, "incentives_enable": false, - "number_of_slots": 32, "attestation_lag": 5, - "attestation_threshold": 66, + "dynamic_lag_enable": false, "number_of_slots": 32, + "attestation_lag": 5, "attestation_threshold": 66, "minimal_participation_ratio": { "numerator": "16", "denominator": "25" }, "rewards_ratio": { "numerator": "0", "denominator": "1" }, diff --git a/tezt/tests/weeklynet_configs/alpha.json b/tezt/tests/weeklynet_configs/alpha.json index 172b0bc56100..53e0668e760a 100644 --- a/tezt/tests/weeklynet_configs/alpha.json +++ b/tezt/tests/weeklynet_configs/alpha.json @@ -74,6 +74,7 @@ "dal_parametric": { "feature_enable": true, "incentives_enable": false, + "dynamic_lag_enable": false, "number_of_slots": 32, "attestation_lag": 8, "attestation_threshold": 66, -- GitLab