Skip to content

Commit

Permalink
Merge pull request #15 from init4tech/anna/naming
Browse files Browse the repository at this point in the history
fix: naming
  • Loading branch information
anna-carroll authored May 1, 2024
2 parents d41ac43 + 6e21c8d commit e0481e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Passage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {IERC20} from "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";

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

Expand Down
6 changes: 3 additions & 3 deletions src/Zenith.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
pragma solidity ^0.8.24;

// import openzeppelin Role contracts
import {HostPassage} from "./Passage.sol";
import {Passage} from "./Passage.sol";
import {AccessControlDefaultAdminRules} from
"openzeppelin-contracts/contracts/access/extensions/AccessControlDefaultAdminRules.sol";

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

Expand Down

0 comments on commit e0481e9

Please sign in to comment.