Skip to content

Commit

Permalink
fix: modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Jan 2, 2025
1 parent 045c5db commit ac3f4d0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions test/TransparentProxyFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,12 @@ contract TestTransparentProxyFactory is Test {

address predictedAddress1 = factory.predictCreateDeterministic(
address(mockImpl),
deterministicProxyAdmin,
owner,
data,
proxySalt
);

address proxy1 = factory.createDeterministic(
address(mockImpl),
deterministicProxyAdmin,
data,
proxySalt
);
address proxy1 = factory.createDeterministic(address(mockImpl), owner, data, proxySalt);

assertEq(predictedAddress1, proxy1);
assertEq(MockImpl(proxy1).getFoo(), FOO);
Expand Down

0 comments on commit ac3f4d0

Please sign in to comment.