Skip to content

Commit e0481e9

Browse files
authored
Merge pull request #15 from init4tech/anna/naming
fix: naming
2 parents d41ac43 + 6e21c8d commit e0481e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Passage.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {IERC20} from "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";
66

77
/// @notice A contract deployed to Host chain that allows tokens to enter the rollup,
88
/// and enables Builders to fulfill requests to exchange tokens on the Rollup for tokens on the Host.
9-
contract HostPassage {
9+
contract Passage {
1010
/// @notice The chainId of the default rollup chain.
1111
uint256 immutable defaultRollupChainId;
1212

src/Zenith.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
pragma solidity ^0.8.24;
33

44
// import openzeppelin Role contracts
5-
import {HostPassage} from "./Passage.sol";
5+
import {Passage} from "./Passage.sol";
66
import {AccessControlDefaultAdminRules} from
77
"openzeppelin-contracts/contracts/access/extensions/AccessControlDefaultAdminRules.sol";
88

9-
contract Zenith is HostPassage, AccessControlDefaultAdminRules {
9+
contract Zenith is Passage, AccessControlDefaultAdminRules {
1010
/// @notice Block header information for the rollup block, signed by the sequencer.
1111
/// @param rollupChainId - the chainId of the rollup chain. Any chainId is accepted by the contract.
1212
/// @param sequence - the sequence number of the rollup block. Must be monotonically increasing. Enforced by the contract.
@@ -63,7 +63,7 @@ contract Zenith is HostPassage, AccessControlDefaultAdminRules {
6363
/// - Admin role can be transferred via two-step process with a 1 day timelock.
6464
/// @param admin - the address that will be the initial admin.
6565
constructor(uint256 defaultRollupChainId, address admin)
66-
HostPassage(defaultRollupChainId)
66+
Passage(defaultRollupChainId)
6767
AccessControlDefaultAdminRules(1 days, admin)
6868
{}
6969

0 commit comments

Comments
 (0)