feat: fetch and claim Merkl rewards #9825
Annotations
13 errors
checks
Argument of type '{ legacyPoolComptrollerContractAddress: string; isolatedPoolComptrollerAddresses: string[]; tokens: Token[]; xvsVestingVaultPoolCount: number; accountAddress: string; poolLensContract: PoolLens; venusLensContract: VenusLens; resilientOracleContract: ResilientOracle; vaiVaultContract: VaiVault; xvsVaultContract: XvsV...' is not assignable to parameter of type 'GetPendingRewardsInput'.
|
checks
Argument of type '{ legacyPoolComptrollerContractAddress: string; isolatedPoolComptrollerAddresses: string[]; tokens: Token[]; xvsVestingVaultPoolCount: number; accountAddress: string; poolLensContract: PoolLens; ... 4 more ...; primeContract: Prime; }' is not assignable to parameter of type 'GetPendingRewardsInput'.
|
checks
Property 'type' is missing in type '[string, string, BigNumber, PendingRewardStructOutput[]] & { distributorAddress: string; rewardTokenAddress: string; totalRewards: BigNumber; pendingRewards: PendingRewardStructOutput[]; }' but required in type 'Omit<PendingRewardSummary, "poolComptrollerAddress">'.
|
checks
@venusprotocol/evm#tsc: command (/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm) /tmp/yarn--1737049381283-0.8607738273850765/yarn run tsc exited (2)
|
checks
Property 'rewardType' is missing in type '{ rewardToken: Token; rewardAmountMantissa: BigNumber; rewardAmountCents: BigNumber; rewardsDistributorAddress: string; vTokenAddressesWithPendingReward: string[]; }' but required in type 'IsolatedPoolPendingReward'.
|
checks
Property 'rewardType' is missing in type '{ rewardToken: Token; rewardAmountMantissa: BigNumber; rewardAmountCents: BigNumber; rewardsDistributorAddress: string; vTokenAddressesWithPendingReward: string[]; }' but required in type 'IsolatedPoolPendingReward'.
|
checks
Unused '@ts-expect-error' directive.
|
checks
Type '(TDetails & { marketAddress: string; }) | undefined' is not assignable to type '{ marketAddress: string; merklCampaignIdentifier: string; description: string; }'.
|
checks
Process completed with exit code 2.
|
test
@venusprotocol/evm#test: command (/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm) /tmp/yarn--1737049377895-0.8750940683021424/yarn run test --coverage exited (1)
|
test
Process completed with exit code 1.
|
test
Failed to parse the json-summary at path "/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/coverage/coverage-summary.json."
Make sure to run vitest before this action and to include the "json-summary" reporter.
Original Error:
Error: ENOENT: no such file or directory, open '/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/coverage/coverage-summary.json'
at async open (node:internal/fs/promises:639:25)
at async readFile (node:internal/fs/promises:1242:14)
at async Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:797)
at async mu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:878)
at async uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:149:626)
|
test
Error: ENOENT: no such file or directory, open '/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/coverage/coverage-summary.json'
|