Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-korotya committed Nov 18, 2024
1 parent 33ad9b9 commit f8a433b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/storage/blockchain/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './state';
export * from './onchain-zkp-verifier';
export * from './onchain-revocation';
export * from './onchain-issuer'
export * from './onchain-issuer';
6 changes: 5 additions & 1 deletion src/storage/blockchain/onchain-issuer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ export class OnchainIssuer {
}
this._url = url;
this._merklizationOptions = options;
this._contract = new Contract(this._contractAddress, abi, new ethers.JsonRpcProvider(this._url));
this._contract = new Contract(
this._contractAddress,
abi,
new ethers.JsonRpcProvider(this._url)
);
this._issuerDid = did;
}

Expand Down
4 changes: 2 additions & 2 deletions tests/adapter/onchain-issuer.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { OnchainIssuer } from '../../src/storage/blockchain/onchain-issuer';
import { OnchainIssuer } from '../../src/storage/blockchain/onchain-issuer';
import { RPC_URL, IPFS_URL } from '../helpers';
import { DID } from '@iden3/js-iden3-core';
import balanceCredentialHttpSchema from './testdata/balance_credential_http_schema.json';
Expand All @@ -11,7 +11,7 @@ describe('OnchainIssuer', () => {
const copyDefaultEthConnectionConfig = { ...defaultEthConnectionConfig };
copyDefaultEthConnectionConfig.url = RPC_URL;
copyDefaultEthConnectionConfig.chainId = 80002;

it('Test adapter for v0.0.1 HTTP schema', async () => {
const issuerDid = DID.parse(
'did:polygonid:polygon:amoy:2qQ68JkRcf3xyDFsGSWU5QqxbKpzM75quxS628JgvJ'
Expand Down

0 comments on commit f8a433b

Please sign in to comment.