feat: fetch remote proposals #9101
Annotations
10 errors and 2 warnings
Typecheck
@venusprotocol/evm#tsc: command (/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm) /tmp/yarn--1728030222771-0.44590852714542306/yarn run tsc exited (2)
|
Typecheck
Module '"/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/src/__mocks__/models/proposals"' has no default export. Did you mean to use 'import { proposals } from "/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/src/__mocks__/models/proposals"' instead?
|
Typecheck
Object literal may only specify known properties, and 'proposalExecutionGracePeriodMs' does not exist in type '{ gqlProposal: BscProposalFragment; gqlRemoteProposalsMapping: { [proposalId: number]: NonBscProposalFragment; }; currentBlockNumber: number; proposalMinQuorumVotesMantissa: BigNumber; accountAddress?: string | undefined; }'.
|
Typecheck
Module '"/home/runner/work/venus-protocol-interface/venus-protocol-interface/apps/evm/src/__mocks__/models/proposals"' has no default export.
|
Typecheck
Object literal may only specify known properties, and 'proposalExecutionGracePeriodMs' does not exist in type '{ gqlProposal: BscProposalFragment; gqlRemoteProposalsMapping: { [proposalId: number]: NonBscProposalFragment; }; currentBlockNumber: number; proposalMinQuorumVotesMantissa: BigNumber; accountAddress?: string | undefined; }'.
|
Typecheck
Property 'remoteProposals' is missing in type '{ abstainedVotesMantissa: BigNumber; againstVotesMantissa: BigNumber; cancelDate: Date | undefined; createdDate: Date | undefined; description: DescriptionV2 | DescriptionV1; ... 20 more ...; userVoteSupport: VoteSupport | undefined; }' but required in type 'Proposal'.
|
Typecheck
Module '"constants/chainMetadata"' declares 'PROPOSAL_EXECUTION_GRACE_PERIOD_MS' locally, but it is not exported.
|
Typecheck
Module '"constants/chainMetadata"' declares 'PROPOSAL_EXECUTION_GRACE_PERIOD_MS' locally, but it is not exported.
|
Typecheck
Module '"constants/chainMetadata"' declares 'PROPOSAL_EXECUTION_GRACE_PERIOD_MS' locally, but it is not exported.
|
Typecheck
Module '"constants/chainMetadata"' declares 'PROPOSAL_EXECUTION_GRACE_PERIOD_MS' locally, but it is not exported.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading