From 6e21c8d9f6a40419a8ed367cb3c168366d3d6f72 Mon Sep 17 00:00:00 2001 From: Anna Carroll Date: Tue, 30 Apr 2024 19:40:42 -0500 Subject: [PATCH] fix: naming --- src/Passage.sol | 2 +- src/Zenith.sol | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Passage.sol b/src/Passage.sol index b7f85c5..db76c43 100644 --- a/src/Passage.sol +++ b/src/Passage.sol @@ -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; diff --git a/src/Zenith.sol b/src/Zenith.sol index 3dbda6f..664c82d 100644 --- a/src/Zenith.sol +++ b/src/Zenith.sol @@ -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. @@ -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) {}