Skip to content

Commit

Permalink
doc: rm incorrect comment on proxy pool
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed Oct 17, 2024
1 parent cecb762 commit 623c10c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions contracts/src/v0.8/ccip/pools/GHO/UpgradeableTokenPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,6 @@ abstract contract UpgradeableTokenPool is IPool, OwnerIsCreator, IERC165 {
}

/// @notice Setter for proxy pool address, only callable by the DAO.
/// @dev This router is currently set for the Eth/Arb lane, and this pool is not expected
/// to support any other lanes in the future - hence can be stored agnostic to chain selector.
/// @param proxyPool The address of the proxy pool.
function setProxyPool(address proxyPool) external onlyOwner {
if (proxyPool == address(0)) revert ZeroAddressNotAllowed();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
```diff
diff --git a/src/v0.8/ccip/pools/TokenPool.sol b/src/v0.8/ccip/pools/GHO/UpgradeableTokenPool.sol
index b3571bb449..950b87a080 100644
index b3571bb449..4808aa3998 100644
--- a/src/v0.8/ccip/pools/TokenPool.sol
+++ b/src/v0.8/ccip/pools/GHO/UpgradeableTokenPool.sol
@@ -1,21 +1,24 @@
Expand Down Expand Up @@ -98,7 +98,7 @@ index b3571bb449..950b87a080 100644
_;
}

@@ -323,4 +328,23 @@ abstract contract TokenPool is IPool, OwnerIsCreator, IERC165 {
@@ -323,4 +328,21 @@ abstract contract TokenPool is IPool, OwnerIsCreator, IERC165 {
if (IARM(i_armProxy).isCursed()) revert BadARMSignal();
_;
}
Expand All @@ -112,8 +112,6 @@ index b3571bb449..950b87a080 100644
+ }
+
+ /// @notice Setter for proxy pool address, only callable by the DAO.
+ /// @dev This router is currently set for the Eth/Arb lane, and this pool is not expected
+ /// to support any other lanes in the future - hence can be stored agnostic to chain selector.
+ /// @param proxyPool The address of the proxy pool.
+ function setProxyPool(address proxyPool) external onlyOwner {
+ if (proxyPool == address(0)) revert ZeroAddressNotAllowed();
Expand Down

0 comments on commit 623c10c

Please sign in to comment.