Skip to content

Commit

Permalink
Removes 'should be at a height higher than' test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-then committed Nov 27, 2024
1 parent 7f75240 commit 9195b42
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/01_02_51-post_wasabi_fed_pubkeys_fork.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const { assertContractCallFails, assertContractCallReturnsWithCallback } = requi
const expect = require('chai').expect;
const { assertIsPublicKey } = require('../lib/assertions/misc');
const { KEY_TYPE_BTC } = require('../lib/constants/federation-constants');
const CustomError = require('../lib/CustomError');
const { getBridge } = require('../lib/bridge-provider');
const { getRskTransactionHelper } = require('../lib/rsk-tx-helper-provider');

Expand All @@ -14,25 +13,13 @@ let fedChangeAddress;
let bridge;

describe('Multiple federation member keys test after fork', () => {

const ACTIVATION_BLOCK = Runners.common.forks.wasabi100.activationHeight;

before(async () => {
rskTxHelper = getRskTransactionHelper();
fedChangeAddress = await rskTxHelper.importAccount(FEDERATION_CHANGE_PK);
bridge = getBridge(rskTxHelper.getClient());
});

it(`should be at a height higher than ${ACTIVATION_BLOCK}`, async () => {
try{
const blockNum = await rskTxHelper.getBlockNumber();
expect(blockNum > ACTIVATION_BLOCK).to.be.true;
}
catch (err) {
throw new CustomError('Activation block height failure', err);
}
});

it('method getFederatorPublicKey should NOT work', () => {
return assertContractCallFails(bridge.methods.getFederatorPublicKey(0));
});
Expand Down

0 comments on commit 9195b42

Please sign in to comment.