From 5054f9f34e413389d44fc209f95bbb8b5b53f855 Mon Sep 17 00:00:00 2001 From: dimazhornyk Date: Fri, 13 Dec 2024 12:48:15 +0100 Subject: [PATCH] chore: add comment to the attestations mapping in AvailAttestationLib --- da-contracts/contracts/da-layers/avail/AvailAttestationLib.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/da-contracts/contracts/da-layers/avail/AvailAttestationLib.sol b/da-contracts/contracts/da-layers/avail/AvailAttestationLib.sol index 26a2dbf4e..2f6942446 100644 --- a/da-contracts/contracts/da-layers/avail/AvailAttestationLib.sol +++ b/da-contracts/contracts/da-layers/avail/AvailAttestationLib.sol @@ -13,6 +13,8 @@ abstract contract AvailAttestationLib { IAvailBridge public bridge; IVectorx public vectorx; + /// @dev Mapping from attestation leaf to attestation data. + /// It is necessary for recovery of the state from the onchain data. mapping(bytes32 => AttestationData) public attestations; error InvalidAttestationProof();