From 5e2702240f78825f8349353b73205f389a440006 Mon Sep 17 00:00:00 2001 From: Bartosz Wojciechowski Date: Tue, 5 Sep 2023 14:28:05 +0200 Subject: [PATCH 1/3] Add stLINK reward pool to testnet deployment --- scripts/test/setup-test-env.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/test/setup-test-env.ts b/scripts/test/setup-test-env.ts index 19a61996..354d4258 100644 --- a/scripts/test/setup-test-env.ts +++ b/scripts/test/setup-test-env.ts @@ -107,6 +107,16 @@ async function main() { tx = await delegatorPool.addToken(LINK_StakingPool.address, stLINK_DelegatorRewardsPool.address) await tx.wait() + + updateDeployments( + { + stLINK_DelegatorRewardsPool: stLINK_DelegatorRewardsPool.address + }, + { + stLINK_DelegatorRewardsPool: 'stLINK_DelegatorRewardsPool' + } + ) + // ETH Liquid SD Index const lidoAdapter = (await deployUpgradeable('LSDIndexAdapterMock', [ From f14890e2b197415138f4e98c58b35bd8d392611d Mon Sep 17 00:00:00 2001 From: Bartosz Wojciechowski Date: Tue, 5 Sep 2023 14:29:00 +0200 Subject: [PATCH 2/3] prettier fix --- scripts/test/setup-test-env.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/test/setup-test-env.ts b/scripts/test/setup-test-env.ts index 354d4258..ff728c76 100644 --- a/scripts/test/setup-test-env.ts +++ b/scripts/test/setup-test-env.ts @@ -107,16 +107,15 @@ async function main() { tx = await delegatorPool.addToken(LINK_StakingPool.address, stLINK_DelegatorRewardsPool.address) await tx.wait() - updateDeployments( { - stLINK_DelegatorRewardsPool: stLINK_DelegatorRewardsPool.address + stLINK_DelegatorRewardsPool: stLINK_DelegatorRewardsPool.address, }, { - stLINK_DelegatorRewardsPool: 'stLINK_DelegatorRewardsPool' + stLINK_DelegatorRewardsPool: 'stLINK_DelegatorRewardsPool', } ) - + // ETH Liquid SD Index const lidoAdapter = (await deployUpgradeable('LSDIndexAdapterMock', [ From ca75c6b1e3071b15b9afca8206be656ff0d19715 Mon Sep 17 00:00:00 2001 From: Bartosz Wojciechowski Date: Tue, 5 Sep 2023 14:58:00 +0200 Subject: [PATCH 3/3] Fix value --- scripts/test/setup-test-env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test/setup-test-env.ts b/scripts/test/setup-test-env.ts index ff728c76..17456725 100644 --- a/scripts/test/setup-test-env.ts +++ b/scripts/test/setup-test-env.ts @@ -112,7 +112,7 @@ async function main() { stLINK_DelegatorRewardsPool: stLINK_DelegatorRewardsPool.address, }, { - stLINK_DelegatorRewardsPool: 'stLINK_DelegatorRewardsPool', + stLINK_DelegatorRewardsPool: 'RewardsPool', } )