Skip to content

Commit

Permalink
EVM: NttManager remove unused virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray committed Sep 21, 2024
1 parent 123d385 commit 3bb1077
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions evm/src/NttManager/NttManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -136,21 +136,21 @@ contract NttManager is INttManager, RateLimiter, ManagerBase {
/// @inheritdoc INttManager
function setOutboundLimit(
uint256 limit
) external virtual onlyOwner {
) external onlyOwner {
uint8 toDecimals = tokenDecimals();
_setOutboundLimit(limit.trim(toDecimals, toDecimals));
}

/// @inheritdoc INttManager
function setInboundLimit(uint256 limit, uint16 chainId_) external virtual onlyOwner {
function setInboundLimit(uint256 limit, uint16 chainId_) external onlyOwner {
uint8 toDecimals = tokenDecimals();
_setInboundLimit(limit.trim(toDecimals, toDecimals), chainId_);
}

/// ============== Invariants =============================================

/// @dev When we add new immutables, this function should be updated
function _checkImmutables() internal view virtual override {
function _checkImmutables() internal view override {
super._checkImmutables();
assert(this.rateLimitDuration() == rateLimitDuration);
}
Expand Down

0 comments on commit 3bb1077

Please sign in to comment.