Skip to content

Commit

Permalink
fix: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkelawala committed Dec 28, 2022
1 parent f65eb63 commit a151afc
Show file tree
Hide file tree
Showing 6 changed files with 164 additions and 173 deletions.
2 changes: 1 addition & 1 deletion __tests__/account.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { pedersen, sign } from '@noble/curves/lib/stark';
import { pedersen, sign } from '@noble/curves/stark';

import typedDataExample from '../__mocks__/typedDataExample.json';
import { Account, Contract, Provider, number, stark } from '../src';
Expand Down
2 changes: 1 addition & 1 deletion __tests__/rpcProvider.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getStarkKey, utils } from '@noble/curves/lib/stark';
import { getStarkKey, utils } from '@noble/curves/stark';

import { Account, GetBlockResponse, RpcProvider } from '../src';
import { StarknetChainId } from '../src/constants';
Expand Down
2 changes: 1 addition & 1 deletion __tests__/utils/ellipticalCurve.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getPublicKey, getStarkKey, pedersen, sign, verify } from '@noble/curves/lib/stark';
import { getPublicKey, getStarkKey, pedersen, sign, verify } from '@noble/curves/stark';

import { StarknetChainId } from '../../src/constants';
import {
Expand Down
3 changes: 2 additions & 1 deletion __tests__/utils/merkle.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { pedersen } from '../../src/utils/hash';
import { pedersen } from '@noble/curves/stark';

import { MerkleTree, proofMerklePath } from '../../src/utils/merkle';

describe('MerkleTree class', () => {
Expand Down
2 changes: 1 addition & 1 deletion __tests__/utils/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs';

import { pedersen } from '@noble/curves/lib/stark';
import { pedersen } from '@noble/curves/stark';

import { constants, hash, json, number, stark } from '../../src';
import { Block } from '../../src/provider/utils';
Expand Down
Loading

0 comments on commit a151afc

Please sign in to comment.