Skip to content

Commit

Permalink
tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pahor167 committed Dec 4, 2024
1 parent ce65be4 commit 0c275fa
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ contract LockedGoldTest is TestWithUtils {
blocker = new TestBlocker();

lockedGold.setBlockedByContract(address(blocker));

(delegatorSigner, delegatorSignerPK) = actorWithPK("delegatorSigner");
(delegatorSigner2, delegatorSigner2PK) = actorWithPK("delegatorSigner2");
(delegateeSigner1, delegateeSigner1PK) = actorWithPK("delegateeSigner1");
(delegateeSigner2, delegateeSigner2PK) = actorWithPK("delegateeSigner2");
vm.deal(delegator, 10 ether);
vm.deal(delegator2, 10 ether);
}

function getParsedSignatureOfAddress(
Expand Down Expand Up @@ -1190,12 +1197,7 @@ contract LockedGoldTest_slash is LockedGoldTest {
accounts.createAccount();
vm.prank(delegator2);
accounts.createAccount();
(delegatorSigner, delegatorSignerPK) = actorWithPK("delegatorSigner");
(delegatorSigner2, delegatorSigner2PK) = actorWithPK("delegatorSigner2");
(delegateeSigner1, delegateeSigner1PK) = actorWithPK("delegateeSigner1");
(delegateeSigner2, delegateeSigner2PK) = actorWithPK("delegateeSigner2");
vm.deal(delegator, 10 ether);
vm.deal(delegator2, 10 ether);

}


Expand Down

0 comments on commit 0c275fa

Please sign in to comment.