Skip to content

Commit

Permalink
chore: fix lint, new deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
halaprix committed Oct 17, 2024
1 parent 1ecf668 commit 23f60e7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/arbitrum.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const config: SystemConfig = {
AaveRewardsProxyActions: {
name: 'AaveRewardsProxyActions',
deploy: true,
address: '0xcd57BE1B1cD6ae0A85462FC543Fc9c028c6F51dc',
address: '0x09e13fF37ad8d94381f8dE549D77e6F04cEFfA6F',
history: [],
constructorArgs: [],
},
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/base.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const config: SystemConfig = {
AaveRewardsProxyActions: {
name: 'AaveRewardsProxyActions',
deploy: true,
address: '0xBF854161AE4fd715c6A22C178B6206c1A88Dc499',
address: '0x2b1c1925987009Fd39ced009a1b11Db21BE3c2AC',
history: [],
constructorArgs: [],
},
Expand Down
4 changes: 2 additions & 2 deletions packages/deploy-configurations/configs/mainnet.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ export const config: SystemConfig = {
AaveRewardsProxyActions: {
name: 'AaveRewardsProxyActions',
deploy: true,
address: '0x8aD75eFF83EbcB2E343b1b8d76eFBC796Cf38594',
history: [],
address: '0x1498fEb3731b3ED60443F67dB323f0807d887a4a',
history: ['0x8aD75eFF83EbcB2E343b1b8d76eFBC796Cf38594'],
constructorArgs: [],
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-configurations/configs/optimism.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const config: SystemConfig = {
AaveRewardsProxyActions: {
name: 'AaveRewardsProxyActions',
deploy: true,
address: '0x262A4721A97C28531590D0dd279b0e5369B836Ea',
address: '0x85859Ab683019a4E345D963E455B5e3Ce133Ef49',
history: [],
constructorArgs: [],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ describe.only('AAVE V3 | Claim Rewards | E2E', async () => {
},
operationExecutor: system.OperationExecutor.contract.address,
chainlinkEthUsdPriceFeed: addresses.chainlinkEthUsdPriceFeed,
oracle: ADDRESSES[network].spark.Oracle!,
lendingPool: ADDRESSES[network].spark.LendingPool!,
poolDataProvider: ADDRESSES[network].spark.PoolDataProvider!,
oracle: ADDRESSES[network].spark.Oracle,
lendingPool: ADDRESSES[network].spark.LendingPool,
poolDataProvider: ADDRESSES[network].spark.PoolDataProvider,
}
rewardsControllerAddress = ADDRESSES[network].spark.RewardsController!
rewardsControllerAddress = ADDRESSES[network].spark.RewardsController
// we use mainnet address since we user forked network and an existing dpm proxy
const accountGuardAddress = ADDRESSES['mainnet'].mpa.core.AccountGuard
rewardsControllerProxyActionsAddress = system.AaveRewardsProxyActions.contract.address
Expand Down Expand Up @@ -107,15 +107,16 @@ describe.only('AAVE V3 | Claim Rewards | E2E', async () => {
// Prepare the calldata for claiming rewards
const { poolDataProvider } = await getAaveLikeSystemContracts(
aaveLikeAddresses,
impersonatedSigner.provider!,
// @ts-ignore
impersonatedSigner.provider,
'Spark',
)
const tokens = await poolDataProvider.getReserveTokensAddresses(addresses.WETH)
const assets = [tokens.spTokenAddress, tokens.variableDebtTokenAddress]

const rewards = await rewardsControllerProxyActionsContract.getAllUserRewards(
rewardsControllerAddress,
ADDRESSES[network].spark.PoolDataProvider!,
ADDRESSES[network].spark.PoolDataProvider,
PROXY,
addresses.WETH,
)
Expand Down

0 comments on commit 23f60e7

Please sign in to comment.