Skip to content

Commit

Permalink
fix: feedback from review
Browse files Browse the repository at this point in the history
  • Loading branch information
0xteddybear committed Jul 22, 2024
1 parent 15eac0e commit c4e89a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/BCoWPool/BCoWPool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ contract BCoWPool is BCoWPoolBase {
assumeNotForgeAddress(_settler);
vm.mockCall(_settler, abi.encodePacked(ISettlement.domainSeparator.selector), abi.encode(_separator));
vm.mockCall(_settler, abi.encodePacked(ISettlement.vaultRelayer.selector), abi.encode(_relayer));
// it should query the solution settler for the domain separator
vm.expectCall(_settler, abi.encodePacked(ISettlement.domainSeparator.selector));
// it should query the solution settler for the vault relayer
vm.expectCall(_settler, abi.encodePacked(ISettlement.vaultRelayer.selector));
MockBCoWPool pool = new MockBCoWPool(_settler, _appData);
// it should set the solution settler
assertEq(address(pool.SOLUTION_SETTLER()), _settler);
Expand Down
2 changes: 2 additions & 0 deletions test/unit/BCoWPool/BCoWPool.tree
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
BCoWPool::Constructor
└── when called
├── it should set the solution settler
├── it should query the solution settler for the domain separator
├── it should set the domain separator
├── it should query the solution settler for the vault relayer
├── it should set the vault relayer
└── it should set the app data

Expand Down

0 comments on commit c4e89a2

Please sign in to comment.