From bb80b5c1674655f0d0ee27bcfd60fd7a7901f20b Mon Sep 17 00:00:00 2001 From: Ameesha Agrawal Date: Wed, 1 Nov 2023 15:46:10 +0530 Subject: [PATCH] test: fix precompile error --- test/utils/AccessControl.t.sol | 2 +- test/utils/Ownable.t.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils/AccessControl.t.sol b/test/utils/AccessControl.t.sol index 139202ea..8b77f5b2 100644 --- a/test/utils/AccessControl.t.sol +++ b/test/utils/AccessControl.t.sol @@ -5,7 +5,7 @@ import "forge-std/Test.sol"; import "../../contracts/mocks/MockAccessControl.sol"; contract AccessControlTest is Test { - uint256 internal c = 1; + uint256 internal c = 1000; address immutable _owner = address(uint160(c++)); address immutable _giraffe_0 = address(uint160(c++)); address immutable _giraffe_1 = address(uint160(c++)); diff --git a/test/utils/Ownable.t.sol b/test/utils/Ownable.t.sol index e750c472..b66885de 100644 --- a/test/utils/Ownable.t.sol +++ b/test/utils/Ownable.t.sol @@ -5,7 +5,7 @@ import "forge-std/Test.sol"; import "../../contracts/mocks/MockOwnable.sol"; contract OwnableTest is Test { - uint256 internal c = 1; + uint256 internal c = 1000; address immutable _bob = address(uint160(c++)); address immutable _owner = address(uint160(c++)); address immutable _newOwner = address(uint160(c++));