Skip to content

Commit

Permalink
[worker] fix unused imports in encointer worker
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Apr 10, 2024
1 parent 57ab509 commit 2c11c03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/worker-api/src/encointerWorker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('worker', () => {
// skip it, as this requires a worker (and hence a node) to be running
// To my knowledge jest does not have an option to run skipped tests specifically, does it?
// Todo: add proper CI to test this too.
describe('needs worker and node running', () => {
describe.skip('needs worker and node running', () => {
// Tests specific for the encointer protocol
describe('encointer-worker', () => {
describe('getTotalIssuance', () => {
Expand Down
6 changes: 2 additions & 4 deletions packages/worker-api/src/encointerWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ import type {
MeetupIndexType,
ParticipantIndexType,
SchedulerState,
ShardIdentifier,
EncointerTrustedCallSigned,
Attestation,
} from '@encointer/types';

import {type CallOptions, Request} from './interface.js';
import {callGetter, sendTrustedCall} from './sendRequest.js';
import {callGetter} from './sendRequest.js';
import {PubKeyPinPair, toAccount} from "@encointer/util/common";
import type {KeyringPair} from "@polkadot/keyring/types";
import {Worker} from "@encointer/worker-api/worker.js";
import type {AccountId, Balance, Hash, Moment} from "@polkadot/types/interfaces/runtime";
import type {AccountId, Balance, Moment} from "@polkadot/types/interfaces/runtime";

export class EncointerWorker extends Worker {

Expand Down

0 comments on commit 2c11c03

Please sign in to comment.