Skip to content

Commit

Permalink
remove pending registerAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
mtabasco committed Aug 30, 2023
1 parent 5f23870 commit 530dd5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions test/liquidate/liquidated-cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ describe('Liquidate Tests', () => {
});

it('Remove validator -> withdraw -> try liquidate reverts "ClusterNotLiquidatable"', async () => {
await ssvNetworkContract.setRegisterAuth(helpers.DB.owners[2].address, false, true);

await helpers.DB.ssvToken.connect(helpers.DB.owners[2]).approve(ssvNetworkContract.address, minDepositAmount);
const register = await trackGas(ssvNetworkContract.connect(helpers.DB.owners[2]).registerValidator(
helpers.DataGenerator.publicKey(2),
Expand Down
1 change: 0 additions & 1 deletion test/operators/update-fee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ describe('Operator Fee Tests', () => {
it('Declare fee too high reverts "FeeTooHigh" -> DAO updates limit -> declare fee emits "OperatorFeeDeclared"', async () => {
const maxOperatorFee = 8e14;
await ssvNetworkContract.updateMaximumOperatorFee(maxOperatorFee);
await ssvNetworkContract.setRegisterAuth(helpers.DB.owners[3].address, true, false);

await ssvNetworkContract.connect(helpers.DB.owners[3]).registerOperator(helpers.DataGenerator.publicKey(10), maxOperatorFee);
const newOperatorFee = maxOperatorFee + maxOperatorFee / 10;
Expand Down

0 comments on commit 530dd5d

Please sign in to comment.