|
@@ -4,7 +4,6 @@ import moment from "moment";
|
|
|
// types
|
|
|
import { AccountBalance, ElectionInfo, Round, ProposalDetail } from "./types";
|
|
|
import { Option, u32, u64, Vec, StorageKey } from "@polkadot/types";
|
|
|
-import type { Codec, Observable } from "@polkadot/types/types";
|
|
|
import {
|
|
|
AccountId,
|
|
|
AccountInfo,
|
|
@@ -15,26 +14,14 @@ import {
|
|
|
EventRecord,
|
|
|
Exposure,
|
|
|
Hash,
|
|
|
- Moment,
|
|
|
} from "@polkadot/types/interfaces";
|
|
|
import { SignedBlock } from "@polkadot/types/interfaces/runtime";
|
|
|
import { types } from "@joystream/types";
|
|
|
import { MemberId, PostId, ThreadId } from "@joystream/types/common";
|
|
|
import { CategoryId, Category, Thread, Post } from "@joystream/types/forum";
|
|
|
-import {
|
|
|
- Candidate,
|
|
|
- CouncilMember,
|
|
|
- CouncilStage,
|
|
|
-} from "@joystream/types/council";
|
|
|
+import { CouncilStage } from "@joystream/types/council";
|
|
|
import { Membership } from "@joystream/types/members";
|
|
|
-import {
|
|
|
- Proposal,
|
|
|
- ProposalId,
|
|
|
- ProposalCreationParameters,
|
|
|
- DiscussionPost,
|
|
|
- SpendingParams,
|
|
|
- VoteKind,
|
|
|
-} from "@joystream/types/proposals";
|
|
|
+import { ProposalId, DiscussionPost } from "@joystream/types/proposals";
|
|
|
import { WorkerId, Worker } from "@joystream/types/working-group";
|
|
|
import { ProposalOf, ProposalDetailsOf } from "@joystream/types/augment/types";
|
|
|
|
|
@@ -384,8 +371,8 @@ export const getProposal = async (
|
|
|
status,
|
|
|
votingResults,
|
|
|
exactExecutionBlock,
|
|
|
- nrOfCouncilConfirmations,
|
|
|
- stakingAccountId,
|
|
|
+ //nrOfCouncilConfirmations,
|
|
|
+ //stakingAccountId,
|
|
|
} = proposal;
|
|
|
const stage: string = status.isActive ? "Active" : "Finalized";
|
|
|
const member: Membership = await getMember(api, proposerId);
|