diff --git a/docs/protocols/alpha.rst b/docs/protocols/alpha.rst index a07f7df6a611e1898016b5e65bcacd988095861e..23f3ac2ae51a589bd7e9825255402d96f10fa4ab 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) ---------------------------- diff --git a/src/proto_alpha/lib_protocol/apply_results.ml b/src/proto_alpha/lib_protocol/apply_results.ml index 9b7ee1634554c34f72668b9f5b45b2278e51de0a..01a77db55e8c02d1a1349b53d453cf11b94c735d 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