Skip to content

Commit

Permalink
Assert owner is not one of the stakers used in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DrZoltanFazekas committed Dec 9, 2024
1 parent 8ec9498 commit 4623d00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/BaseDelegation.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ abstract contract BaseDelegationTest is Test {
constructor() {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
owner = vm.addr(deployerPrivateKey);
for (uint256 i = 0; i < stakers.length; i++)
assertNotEq(owner, stakers[i], "owner and staker must be different");
//console.log("Signer is %s", owner);
}

Expand Down

0 comments on commit 4623d00

Please sign in to comment.