Skip to content

Commit d45b820

Browse files
authored
fix: [N-06] TODO Comments (#325)
* fix: [N02] Add docstring Signed-off-by: Matt Rice <matthewcrice32@gmail.com> * fix: [N-06] TODO Comments Signed-off-by: Matt Rice <matthewcrice32@gmail.com> --------- Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
1 parent 7886269 commit d45b820

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

contracts/ZkSync_SpokePool.sol

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ interface ZkBridgeLike {
1212
) external;
1313
}
1414

15-
// TODO: Find the mainnet source code, can't seem to find it in here:
16-
// https://github.com/matter-labs/era-contracts/blob/6391c0d7bf6184d7f6718060e3991ba6f0efe4a7/zksync/contracts
17-
// https://github.com/matter-labs/v2-testnet-contracts/blob/main/l2/system-contracts/L2EthToken.sol#L74
1815
interface IL2ETH {
1916
function withdraw(address _l1Receiver) external payable;
2017
}

contracts/chain-adapters/ZkSync_Adapter.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ contract ZkSync_Adapter is AdapterInterface {
154154
// Bridges to send ERC20 and ETH to L2. Fetchable via `zks_getBridgeContracts` method on JSON RPC.
155155
ZkBridgeLike public constant zkErc20Bridge = ZkBridgeLike(0x57891966931Eb4Bb6FB81430E6cE0A03AAbDe063);
156156

157-
// Set l1Weth at construction time to make testing easier. TODO: Think of some way to be able to hardcode this
158-
// while keeping unit tests easy to write with custom WETH that we can mint/transfer.
157+
// Set l1Weth at construction time to make testing easier.
159158
WETH9Interface public immutable l1Weth;
160159

161160
event ZkSyncMessageRelayed(bytes32 canonicalTxHash);

0 commit comments

Comments
 (0)