Skip to content

Commit

Permalink
fix: weierstrass import
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkelawala committed Jan 24, 2023
1 parent 41e27b3 commit c963f90
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/types/lib.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { SignatureType } from '@noble/curves/abstract/weierstrass';

import { weierstrass } from '../utils/ec';
import type { BigNumberish } from '../utils/number';
import { RPC } from './api/rpc';

// Common Signature Type which needs to be imported from weierstrass
// and imported at many places
// This is because stark.ts doesn't export SignatureType
export type Signature = SignatureType;
export type Signature = weierstrass.SignatureType;

export type RawCalldata = BigNumberish[];
export type AllowArray<T> = T | T[];
Expand Down

0 comments on commit c963f90

Please sign in to comment.