Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Oct 7, 2024
1 parent d07c7a6 commit 9f98e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions l1-contracts/contracts/eigenda/EigenDAVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {IEigenDAServiceManager} from "@eigenda/eigenda-utils/interfaces/IEigenDA
import "@openzeppelin/contracts/access/Ownable.sol";

Check failure on line 6 in l1-contracts/contracts/eigenda/EigenDAVerifier.sol

View workflow job for this annotation

GitHub Actions / lint

global import of path @openzeppelin/contracts/access/Ownable.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)

Check failure on line 6 in l1-contracts/contracts/eigenda/EigenDAVerifier.sol

View workflow job for this annotation

GitHub Actions / lint

global import of path @openzeppelin/contracts/access/Ownable.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)

Check failure on line 6 in l1-contracts/contracts/eigenda/EigenDAVerifier.sol

View workflow job for this annotation

GitHub Actions / lint

global import of path @openzeppelin/contracts/access/Ownable.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)

contract EigenDAVerifier is Ownable {

struct BlobInfo {
IEigenDAServiceManager.BlobHeader blobHeader;
EigenDARollupUtils.BlobVerificationProof blobVerificationProof;
Expand All @@ -23,9 +22,7 @@ contract EigenDAVerifier is Ownable {
EIGEN_DA_SERVICE_MANAGER = IEigenDAServiceManager(_eigenDAServiceManager);
}

function verifyBlob(
BlobInfo calldata blobInfo
) external view returns (bool) {
function verifyBlob(BlobInfo calldata blobInfo) external view returns (bool) {
require(address(EIGEN_DA_SERVICE_MANAGER) != address(0), "EigenDAVerifier: EIGEN_DA_SERVICE_MANAGER not set");
EigenDARollupUtils.verifyBlob(blobInfo.blobHeader, EIGEN_DA_SERVICE_MANAGER, blobInfo.blobVerificationProof);
return true;
Expand Down
2 changes: 1 addition & 1 deletion l1-contracts/deploy-scripts/DeployL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ contract DeployL1Script is Script {
function deployEigenDAVerifier() internal {
bytes memory bytecode = abi.encodePacked(
type(EigenDAVerifier).creationCode,
abi.encode(config.deployerAddress,config.contracts.eigenServiceManager)
abi.encode(config.deployerAddress, config.contracts.eigenServiceManager)
);
address contractAddress = deployViaCreate2(bytecode);
console.log("EigenDAVerifier deployed at:", contractAddress);
Expand Down

0 comments on commit 9f98e7b

Please sign in to comment.