diff --git a/src/BlockAllRegistry.sol b/src/BlockAllRegistry.sol index 7c49304..d4112f1 100644 --- a/src/BlockAllRegistry.sol +++ b/src/BlockAllRegistry.sol @@ -8,14 +8,13 @@ import {IBlockListRegistry} from "src/IBlockListRegistry.sol"; /// @author transientlabs.xyz /// @custom:version 4.0.2 contract BlockAllRegistry is IBlockListRegistry { - /// @inheritdoc IBlockListRegistry - function getBlockListStatus(address /*operator*/) external pure override returns(bool) { + function getBlockListStatus(address /*operator*/ ) external pure override returns (bool) { return true; } /// @inheritdoc IBlockListRegistry - function setBlockListStatus(address[] calldata /*operators*/, bool /*status*/) external pure override { + function setBlockListStatus(address[] calldata, /*operators*/ bool /*status*/ ) external pure override { revert(); } @@ -23,5 +22,4 @@ contract BlockAllRegistry is IBlockListRegistry { function clearBlockList() external pure override { revert(); } - -} \ No newline at end of file +} diff --git a/src/BlockListRegistry.sol b/src/BlockListRegistry.sol index 1f78efb..474f11c 100644 --- a/src/BlockListRegistry.sol +++ b/src/BlockListRegistry.sol @@ -10,7 +10,6 @@ import {IBlockListRegistry} from "src/IBlockListRegistry.sol"; /// @author transientlabs.xyz /// @custom:version 4.0.0 contract BlockListRegistry is IBlockListRegistry, OwnableAccessControlUpgradeable, ERC165Upgradeable { - /*////////////////////////////////////////////////////////////////////////// Constants //////////////////////////////////////////////////////////////////////////*/ diff --git a/src/IBlockListRegistry.sol b/src/IBlockListRegistry.sol index 74ab310..d5ef83a 100644 --- a/src/IBlockListRegistry.sol +++ b/src/IBlockListRegistry.sol @@ -1,10 +1,10 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity ^0.8.19; /// @title BlockList Registry /// @notice Interface for the BlockListRegistry Contract /// @author transientlabs.xyz -/// @custom:version 4.0.2 +/// @custom:version 4.0.3 interface IBlockListRegistry { /*////////////////////////////////////////////////////////////////////////// Events diff --git a/test/BlockAllRegistry.t.sol b/test/BlockAllRegistry.t.sol index a2612d5..eddf3f2 100644 --- a/test/BlockAllRegistry.t.sol +++ b/test/BlockAllRegistry.t.sol @@ -5,7 +5,6 @@ import "forge-std/Test.sol"; import {BlockAllRegistry} from "src/BlockAllRegistry.sol"; contract BlockAllRegistryUnitTest is Test { - BlockAllRegistry public registry; function setUp() public { @@ -26,4 +25,4 @@ contract BlockAllRegistryUnitTest is Test { vm.expectRevert(); registry.clearBlockList(); } -} \ No newline at end of file +}