Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Aug 28, 2024
1 parent 45cdd11 commit 054aa6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/proxy/Clones.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contract ClonesTest is Test {
bytes32 salt,
bytes memory args
) public {
vm.assume(args.length < 0xffd3);
vm.assume(args.length < 0xbfd3);

address predicted = Clones.predictDeterministicAddressWithImmutableArgs(implementation, args, salt);
bytes32 spillage;
Expand Down Expand Up @@ -69,7 +69,7 @@ contract ClonesTest is Test {
}

function testFetchCloneArgs(bytes memory args, bytes32 salt) external {
vm.assume(args.length < 0xffd3);
vm.assume(args.length < 0xbfd3);

address instance1 = Clones.cloneWithImmutableArgs(address(this), args);
address instance2 = Clones.cloneDeterministicWithImmutableArgs(address(this), args, salt);
Expand Down

0 comments on commit 054aa6a

Please sign in to comment.