Skip to content

Commit

Permalink
add correct validator ids
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrowDom committed Jan 7, 2025
1 parent 44da67a commit d6bffbc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions contracts/deploy/sonic/001_origin_sonic.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ module.exports = deployOnSonic(
);

// verify validators here: https://explorer.soniclabs.com/staking
// TODO: change to actual validators we want to use on the sonic mainnet
for (const validatorId of [14, 16]) {
for (const validatorId of [15, 16, 17, 18]) {
await cSonicStakingStrategy
.connect(sDeployer)
.supportValidator(validatorId)
Expand Down
3 changes: 1 addition & 2 deletions contracts/test/behaviour/sfcStakingStrategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ const shouldBehaveLikeASFCStakingStrategy = (context) => {
"Incorrect SFC address set"
);

// TODO: change once the official supported validators change
expect(await sonicStakingStrategy.supportedValidatorsLength()).to.equal(
2,
4,
"Incorrect Supported validators length"
);

Expand Down
2 changes: 1 addition & 1 deletion contracts/test/strategies/sonicStaking.sonic.fork-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("Sonic ForkTest: Sonic Staking Strategy", function () {
addresses.sonic.SFC
),
// see validators here: https://explorer.soniclabs.com/staking
testValidatorIds: [14, 16],
testValidatorIds: [15, 16, 17, 18],
};
});
});

0 comments on commit d6bffbc

Please sign in to comment.