Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions packages/contract-helpers/src/governance-contract/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { providers } from 'ethers';
import { CallOverrides, providers } from 'ethers';
import { formatEther } from 'ethers/lib/utils';
import BaseService from '../commons/BaseService';
import {
Expand Down Expand Up @@ -149,7 +149,10 @@ export class AaveGovernanceService
@GovHelperValidator
public async getProposal(
@is0OrPositiveAmount('proposalId')
{ proposalId }: GovGetProposalType,
{
proposalId,
overrides,
}: GovGetProposalType & { overrides?: CallOverrides },
) {
const helper: IGovernanceV2Helper = IGovernanceV2Helper__factory.connect(
this.aaveGovernanceV2HelperAddress,
Expand All @@ -158,6 +161,7 @@ export class AaveGovernanceService
const result = await helper.getProposal(
proposalId,
this.aaveGovernanceV2Address,
overrides,
);

return humanizeProposal(result);
Expand Down