Skip to content

Commit

Permalink
fix typo and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zimpha committed Jan 16, 2024
1 parent e951700 commit b644d4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions contracts/scripts/foundry/DeployLidoGateway.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ contract DeployLidoGateway is Script {
vm.startBroadcast(L2_DEPLOYER_PRIVATE_KEY);

if (keccak256(abi.encodePacked(NETWORK)) == keccak256(abi.encodePacked("L1"))) {
// depoly l1 lido gateway
// deploy l1 lido gateway
L1LidoGateway gateway = new L1LidoGateway(
L1_WSTETH_ADDR,
L2_WSTETH_ADDR,
Expand All @@ -43,7 +43,7 @@ contract DeployLidoGateway is Script {
);
logAddress("L1_LIDO_GATEWAY_IMPLEMENTATION_ADDR", address(gateway));
} else if (keccak256(abi.encodePacked(NETWORK)) == keccak256(abi.encodePacked("L2"))) {
// depoly l2 lido gateway
// deploy l2 lido gateway
L2LidoGateway gateway = new L2LidoGateway(
L1_WSTETH_ADDR,
L2_WSTETH_ADDR,
Expand Down
5 changes: 1 addition & 4 deletions contracts/src/lido/LidoGatewayManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ abstract contract LidoGatewayManager is ScrollGatewayBase {
/// @dev Stores the state of the bridging
/// @param isDepositsEnabled Stores the state of the deposits
/// @param isWithdrawalsEnabled Stores the state of the withdrawals
/// @param depositsEnabler The address of user who can enable deposits
/// @param depositsEnabler The address of user who can disable deposits
/// @param withdrawalsEnabler The address of user who can enable withdrawals
/// @param withdrawalsDisabler The address of user who can disable withdrawals
/// @param roles Mapping from role to list of role members.
struct State {
bool isDepositsEnabled;
bool isWithdrawalsEnabled;
Expand Down

0 comments on commit b644d4e

Please sign in to comment.