Closed teddyknox closed 1 week ago
Since this logic isn't deploy under a singelton we'll have to reproduce the library verification code within golang. This will require replicating the following invariant checks: A. The blob header hash stored on-chain is equivalent to the one generated from the disperser returned batch metadata: https://github.com/Layr-Labs/eigenda/blob/2ade91370441ebfefe717865f64a4ace11241639/contracts/src/libraries/EigenDARollupUtils.sol#L38-L42 B. The inclusion proof can be merkalized to generate the batch header root stored on-chain: https://github.com/Layr-Labs/eigenda/blob/2ade91370441ebfefe717865f64a4ace11241639/contracts/src/libraries/EigenDARollupUtils.sol#L44-L52 C. All quorums are sufficiently expressed in accordance with their respective thresholds: https://github.com/Layr-Labs/eigenda/blob/2ade91370441ebfefe717865f64a4ace11241639/contracts/src/libraries/EigenDARollupUtils.sol#L57-L86
Doing local DA cert verification means: