From 9f839c7fd9c5285e7d542e99e62128fc7df768f4 Mon Sep 17 00:00:00 2001 From: Anton Bukov Date: Tue, 19 Mar 2024 13:08:30 +0100 Subject: [PATCH] Replace mapping with array in AddressArray --- contracts/libraries/AddressArray.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/libraries/AddressArray.sol b/contracts/libraries/AddressArray.sol index dc21b3cf..0f68ad02 100644 --- a/contracts/libraries/AddressArray.sol +++ b/contracts/libraries/AddressArray.sol @@ -10,7 +10,7 @@ library AddressArray { /// @dev Data struct containing raw mapping. struct Data { - mapping(uint256 => uint256) _raw; + uint256[1 << 32] _raw; } /// @dev Length of array.