Skip to content

Commit 4284ed6

Browse files
viatrixlastperson
andauthored
Apply suggestions from code review
Co-authored-by: Oleksii Matiiasevych <oleksii@chainsafe.io>
1 parent 4b4961a commit 4284ed6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

contracts/Repayer.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ contract Repayer is IRepayer, AccessControlUpgradeable, CCTPAdapter {
6868
address cctpTokenMessenger,
6969
address cctpMessageTransmitter
7070
) {
71+
ERC7201Helper.validateStorageLocation(
72+
STORAGE_LOCATION,
73+
"sprinter.storage.Repayer"
74+
);
7175
require(address(assets) != address(0), ZeroAddress());
7276
DOMAIN = localDomain;
7377
ASSETS = assets;

contracts/utils/CCTPAdapter.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {IERC20, SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeE
66
import {IRoute} from ".././interfaces/IRoute.sol";
77

88
contract CCTPAdapter is IRoute {
9-
109
using SafeERC20 for IERC20;
1110

1211
error ProcessFailed();

0 commit comments

Comments
 (0)