From ce1e2282f24bee4e7d6522dd7bb25b027398d758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Thir=C3=A9?= Date: Wed, 7 Feb 2024 17:01:37 +0100 Subject: [PATCH 1/2] DAL: Update the block metadata encoding --- src/proto_alpha/lib_protocol/apply_results.ml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/proto_alpha/lib_protocol/apply_results.ml b/src/proto_alpha/lib_protocol/apply_results.ml index 9b7ee1634554..01a77db55e8c 100644 --- a/src/proto_alpha/lib_protocol/apply_results.ml +++ b/src/proto_alpha/lib_protocol/apply_results.ml @@ -2840,11 +2840,7 @@ let block_metadata_encoding ~use_legacy_attestation_name = (req "proposer_consensus_key" Signature.Public_key_hash.encoding) (req "baker_consensus_key" Signature.Public_key_hash.encoding) (req "consumed_milligas" Gas.Arith.n_fp_encoding) - (* DAL/FIXME https://gitlab.com/tezos/tezos/-/issues/3119 - This varopt is here while the DAL is behind a feature - flag. This should be replaced by a required field once - the feature flag will be activated. *) - (varopt "dal_attestation" Dal.Attestation.encoding))) + (opt "dal_attestation" Dal.Attestation.encoding))) let block_metadata_encoding_with_legacy_attestation_name = block_metadata_encoding ~use_legacy_attestation_name:true -- GitLab From 3dcd13bacc2c98dec8d45fc97670e3f33ca1b031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Thir=C3=A9?= Date: Wed, 7 Feb 2024 17:05:48 +0100 Subject: [PATCH 2/2] DAL: Update the changelog accordingly --- docs/protocols/alpha.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/protocols/alpha.rst b/docs/protocols/alpha.rst index a07f7df6a611..23f3ac2ae51a 100644 --- a/docs/protocols/alpha.rst +++ b/docs/protocols/alpha.rst @@ -59,6 +59,12 @@ Data Availability Layer (ongoing) +- An optional ``dal_attestation`` field is now present in the + ``block_metadata`` indicating the attested slots. The slots being + attested are the slots that were published ``attestation_lag`` blocks + ago (MR :gl:`!11903`) (see `DAL documentation + `_ for more context). + Adaptive Issuance (ongoing) ---------------------------- -- GitLab