Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Oct 24, 2024
1 parent 39aa817 commit 160d446
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion contracts/script/SetupPayments.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {HelloWorldDeploymentLib} from "./utils/HelloWorldDeploymentLib.sol";
import {CoreDeploymentLib} from "./utils/CoreDeploymentLib.sol";
import {SetupPaymentsLib} from "./utils/SetupPaymentsLib.sol";
import {IRewardsCoordinator} from "@eigenlayer/contracts/interfaces/IRewardsCoordinator.sol";
import {IHelloWorldServiceManager} from "../../src/IHelloWorldServiceManager.sol";

contract SetupPayments is Script {
struct PaymentInfo {
Expand Down
3 changes: 0 additions & 3 deletions contracts/script/utils/SetupPaymentsLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ pragma solidity ^0.8.0;

import {IRewardsCoordinator} from "@eigenlayer/contracts/interfaces/IRewardsCoordinator.sol";
import {IStrategy} from "eigenlayer-contracts/src/contracts/interfaces/IStrategyManager.sol";
import {IHelloWorldServiceManager} from "../../src/IHelloWorldServiceManager.sol";
import {IServiceManager} from "@eigenlayer-middleware/src/interfaces/IServiceManager.sol";
import {ECDSAServiceManagerBase} from "@eigenlayer-middleware/src/unaudited/ECDSAServiceManagerBase.sol";
import {Vm} from "forge-std/Vm.sol";

Expand Down Expand Up @@ -44,7 +42,6 @@ library SetupPaymentsLib {

rewardsSubmissions[i] = rewardsSubmission;
}
// emit log_named_uint("numPayments", numPayments);
ECDSAServiceManagerBase(helloWorldServiceManager).createAVSRewardsSubmission(rewardsSubmissions);
}

Expand Down
1 change: 0 additions & 1 deletion contracts/src/HelloWorldServiceManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {IHelloWorldServiceManager} from "./IHelloWorldServiceManager.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@eigenlayer/contracts/interfaces/IRewardsCoordinator.sol";
import {TransparentUpgradeableProxy} from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol";
import {IRewardsCoordinator} from "@eigenlayer/contracts/interfaces/IRewardsCoordinator.sol";

/**
* @title Primary entrypoint for procuring services from HelloWorld.
Expand Down
4 changes: 0 additions & 4 deletions contracts/src/IHelloWorldServiceManager.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;

import {IRewardsCoordinator} from "@eigenlayer/contracts/interfaces/IRewardsCoordinator.sol";

interface IHelloWorldServiceManager {
event NewTaskCreated(uint32 indexed taskIndex, Task task);

Expand Down Expand Up @@ -33,6 +31,4 @@ interface IHelloWorldServiceManager {
uint32 referenceTaskIndex,
bytes calldata signature
) external;

// function createAVSRewardsSubmission(IRewardsCoordinator.RewardsSubmission[] calldata rewardsSubmissions) external;
}

0 comments on commit 160d446

Please sign in to comment.