Skip to content

Commit 18e65dd

Browse files
committed
refactor: add reward percentage to collateral management deployment
1 parent ff56174 commit 18e65dd

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

test/discovery/fixtures.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,17 @@ export async function deployDiscoveryFixture() {
1515
const MIN_COLLATERAL = ethers.parseEther("0.6");
1616
const INITIAL_DELAY = 500n;
1717
const RESIGN_DELAY = 500n;
18+
const REWARD_PERCENTAGE = 50n; // 50% reward for punishers
1819

1920
const collateralManagement = await upgrades.deployProxy(
2021
CollateralManagement,
21-
[owner.address, INITIAL_DELAY, MIN_COLLATERAL, RESIGN_DELAY]
22+
[
23+
owner.address,
24+
INITIAL_DELAY,
25+
MIN_COLLATERAL,
26+
RESIGN_DELAY,
27+
REWARD_PERCENTAGE,
28+
]
2229
);
2330

2431
const discovery = await upgrades.deployProxy(FlyoverDiscovery, [

0 commit comments

Comments
 (0)