Skip to content

Commit

Permalink
fix L1
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbir committed Nov 24, 2023
1 parent 04cb945 commit 17c314e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/p2pSsvProxy/IP2pSsvProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ interface IP2pSsvProxy is IOwnableWithOperator, IERC165 {
bytes4 indexed _selector
);

/// @notice Emits when an error occurred during the call of SSVNetwork via fallback
/// @param _caller caller of P2pSsvProxy
/// @param _selector selector of the function from SSVNetwork
event P2pSsvProxy__CallingViaFallbackFailed(
address indexed _caller,
bytes4 indexed _selector
);

/// @notice Initialize the P2pSsvProxy instance
/// @dev Should only be called by P2pSsvProxyFactory
/// @param _feeDistributor FeeDistributor instance that determines the identity of this P2pSsvProxy instance
Expand Down
2 changes: 0 additions & 2 deletions src/p2pSsvProxy/P2pSsvProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ contract P2pSsvProxy is OwnableAssetRecoverer, ERC165, IP2pSsvProxy {
return(add(data, 0x20), mload(data))
}
} else {
emit P2pSsvProxy__CallingViaFallbackFailed(caller, selector);

// Decode the reason from the error data returned from the call and revert with it.
revert(string(data));
}
Expand Down

0 comments on commit 17c314e

Please sign in to comment.