Skip to content

Commit

Permalink
removed testing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhartha Jagannath authored and Siddhartha Jagannath committed Aug 1, 2023
1 parent d64653b commit 877cfba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions src/contracts/core/StrategyManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ import "../interfaces/IEigenPodManager.sol";
import "../permissions/Pausable.sol";
import "./StrategyManagerStorage.sol";


import "forge-std/Test.sol";

/**
* @title The primary entry- and exit-point for funds into and out of EigenLayer.
* @author Layr Labs, Inc.
Expand All @@ -32,8 +29,7 @@ contract StrategyManager is
OwnableUpgradeable,
ReentrancyGuardUpgradeable,
Pausable,
StrategyManagerStorage,
Test
StrategyManagerStorage
{
using SafeERC20 for IERC20;

Expand Down
6 changes: 1 addition & 5 deletions src/contracts/pods/EigenPod.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import "../interfaces/IPausable.sol";

import "./EigenPodPausingConstants.sol";

import "forge-std/Test.sol";

/**
* @title The implementation contract used for restaking beacon chain ETH on EigenLayer
* @author Layr Labs, Inc.
Expand All @@ -35,7 +33,7 @@ import "forge-std/Test.sol";
* @dev Note that all beacon chain balances are stored as gwei within the beacon chain datastructures. We choose
* to account balances in terms of gwei in the EigenPod contract and convert to wei when making calls to other contracts
*/
contract EigenPod is IEigenPod, Initializable, ReentrancyGuardUpgradeable, EigenPodPausingConstants, Test {
contract EigenPod is IEigenPod, Initializable, ReentrancyGuardUpgradeable, EigenPodPausingConstants {
using BytesLib for bytes;

// CONSTANTS + IMMUTABLES
Expand Down Expand Up @@ -344,8 +342,6 @@ contract EigenPod is IEigenPod, Initializable, ReentrancyGuardUpgradeable, Eigen
"EigenPod.verifyAndProcessWithdrawal: withdrawal has already been proven for this slot");

{
emit log_named_bytes32("withdrawalProofs.beaconStateRoot", withdrawalProofs.beaconStateRoot);
emit log_named_bytes32("withdrawalProofs.latestBlockHeaderRoot", eigenPodManager.getBeaconChainStateRoot(oracleTimestamp));
// verify that the provided state root is verified against the oracle-provided latest block header
BeaconChainProofs.verifyStateRootAgainstLatestBlockHeaderRoot(withdrawalProofs.beaconStateRoot, eigenPodManager.getBeaconChainStateRoot(oracleTimestamp), withdrawalProofs.latestBlockHeaderProof);

Expand Down

0 comments on commit 877cfba

Please sign in to comment.