-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
134 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.9; | ||
|
||
import "./IRollupManager.sol"; | ||
|
||
contract EigenDABlobVerifierL1 is IRollupManager { | ||
|
||
IEigenDAServiceManager public immutable eigenDAServiceManager; | ||
|
||
constructor(address _eigenDAServiceManager) { | ||
eigenDAServiceManager = IEigenDAServiceManager(_eigenDAServiceManager); | ||
} | ||
|
||
function verifyBlob( | ||
IEigenDAServiceManager.BlobHeader calldata blobHeader, | ||
EigenDARollupUtils.BlobVerificationProof calldata blobVerificationProof | ||
) external view { | ||
EigenDARollupUtils.verifyBlob(blobHeader, eigenDAServiceManager, blobVerificationProof); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.9; | ||
|
||
import "./IRollupManager.sol"; | ||
|
||
contract EigenDABlobVerifierL2 is IRollupManager { | ||
|
||
function verifyBlob( | ||
IEigenDAServiceManager.BlobHeader calldata blobHeader, | ||
EigenDARollupUtils.BlobVerificationProof calldata blobVerificationProof | ||
) external view { | ||
//EigenDA blob verifcation is only supported on L1 currently | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.9; | ||
|
||
import {EigenDARollupUtils} from "@eigenda/eigenda-utils/libraries/EigenDARollupUtils.sol"; | ||
import {IEigenDAServiceManager} from "@eigenda/eigenda-utils/interfaces/IEigenDAServiceManager.sol"; | ||
|
||
interface IRollupManager { | ||
|
||
function verifyBlob( | ||
IEigenDAServiceManager.BlobHeader calldata blobHeader, | ||
EigenDARollupUtils.BlobVerificationProof calldata blobVerificationProof | ||
) external view; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.9; | ||
|
||
import "../../src/bridge/IRollupManager.sol"; | ||
|
||
contract DummyEigenDABlobVerifier is IRollupManager{ | ||
|
||
function verifyBlob( | ||
IEigenDAServiceManager.BlobHeader calldata blobHeader, | ||
EigenDARollupUtils.BlobVerificationProof calldata blobVerificationProof | ||
) external view {} | ||
} |
Oops, something went wrong.