Dual Data Posting Mechanisms
AnyTrust introduces two methods for posting data blocks on L1. Alongside the conventional approach of posting complete data blocks, it enables the posting of DACerts, serving as evidence of data availability. The L1 inbox contract validates DACerts, referencing the specified valid Keyset within each DACert.
L2 code, responsible for reading data from the inbox, is engineered to seamlessly handle both data formats. When encountering a DACert, it conducts validity assessments, ensuring the number of signers meets the Keyset requirements, validating the aggregated signature, and confirming that the expiration time extends beyond the current L2 timestamp. Valid DACerts guarantee the accessibility and usability of the data block by the L2 code.
Last updated