From af9b24644436110c1593b28a4be73217d1bc879f Mon Sep 17 00:00:00 2001 From: Diego <105765223+0xfuturistic@users.noreply.github.com> Date: Mon, 20 May 2024 19:14:17 +0200 Subject: [PATCH] contracts-bedrock: use oz for dependency set in L1BlockInterop --- packages/contracts-bedrock/src/L2/L1BlockInterop.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/contracts-bedrock/src/L2/L1BlockInterop.sol b/packages/contracts-bedrock/src/L2/L1BlockInterop.sol index 85e6b48d4dd1..c45b22faff06 100644 --- a/packages/contracts-bedrock/src/L2/L1BlockInterop.sol +++ b/packages/contracts-bedrock/src/L2/L1BlockInterop.sol @@ -2,7 +2,7 @@ pragma solidity 0.8.15; import { L1Block } from "src/L2/L1Block.sol"; -import { EnumerableSetLib } from "@solady/utils/EnumerableSetLib.sol"; +import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import { GasPayingToken } from "src/libraries/GasPayingToken.sol"; import { StaticConfig } from "src/libraries/StaticConfig.sol"; @@ -21,7 +21,7 @@ enum ConfigType { /// @title L1BlockInterop /// @notice Interop extenstions of L1Block. contract L1BlockInterop is L1Block { - using EnumerableSetLib for EnumerableSetLib.Uint256Set; + using EnumerableSet for EnumerableSet.UintSet; /// @notice Error when a chain ID is not in the interop dependency set. error NotDependency(); @@ -39,7 +39,7 @@ contract L1BlockInterop is L1Block { event DependencyRemoved(uint256 indexed chainId); /// @notice The interop dependency set, containing the chain IDs in it. - EnumerableSetLib.Uint256Set public dependencySet; + EnumerableSet.UintSet public dependencySet; /// @custom:semver 1.4.0+interop function version() public pure override returns (string memory) {