|
@@ -55,7 +55,7 @@ class App extends React.Component<IProps, IState> {
|
|
async updateStatus(api: ApiPromise, id: number): Promise<Status> {
|
|
async updateStatus(api: ApiPromise, id: number): Promise<Status> {
|
|
console.debug(`#${id}: Updating status`);
|
|
console.debug(`#${id}: Updating status`);
|
|
this.updateActiveProposals();
|
|
this.updateActiveProposals();
|
|
- getMints(api).then((mints) => this.save(`mints`, mints));
|
|
|
|
|
|
+ //getMints(api).then((mints) => this.save(`mints`, mints));
|
|
getTokenomics().then((tokenomics) => this.save(`tokenomics`, tokenomics));
|
|
getTokenomics().then((tokenomics) => this.save(`tokenomics`, tokenomics));
|
|
|
|
|
|
let { status, councils } = this.state;
|
|
let { status, councils } = this.state;
|
|
@@ -157,7 +157,7 @@ class App extends React.Component<IProps, IState> {
|
|
return era;
|
|
return era;
|
|
}
|
|
}
|
|
|
|
|
|
- async updateWorkingGroups(api: ApiPromise) {
|
|
|
|
|
|
+ async updateWorkingGroups(api: ApiPromise): Promise<void> {
|
|
const { members, openings, workers } = this.state;
|
|
const { members, openings, workers } = this.state;
|
|
updateWorkers(api, workers, members).then((workers) => {
|
|
updateWorkers(api, workers, members).then((workers) => {
|
|
this.save("workers", workers);
|
|
this.save("workers", workers);
|
|
@@ -165,7 +165,7 @@ class App extends React.Component<IProps, IState> {
|
|
this.save("openings", openings)
|
|
this.save("openings", openings)
|
|
);
|
|
);
|
|
});
|
|
});
|
|
- return this.save("council", await api.query.council.activeCouncil());
|
|
|
|
|
|
+ //return this.save("council", await api.query.council.activeCouncil());
|
|
}
|
|
}
|
|
|
|
|
|
updateValidators(api: ApiPromise) {
|
|
updateValidators(api: ApiPromise) {
|