Skip to content

Commit

Permalink
feat: support mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
janek26 committed Nov 29, 2021
1 parent 0f4170f commit de07149
Show file tree
Hide file tree
Showing 4 changed files with 1,918 additions and 83 deletions.
6 changes: 3 additions & 3 deletions __tests__/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ describe('defaultProvider', () => {
)
).resolves.not.toThrow();
});
test('getTransactionStatus()', () => {
test('getTransactionStatus()', async () => {
return expect(
defaultProvider.getTransactionStatus(
'0x774f7856b1ce6d5ce023a18cd5a06ab67e3a6d81c7bfcd01f99f32243c2d2ef'
'0x72add9621ecdcb07405a4f943fe410bf57003ca250400f01ce70f8a6fc72147'
)
).resolves.not.toThrow();
});
test('getTransaction()', async () => {
return expect(
defaultProvider.getTransaction(
'0x774f7856b1ce6d5ce023a18cd5a06ab67e3a6d81c7bfcd01f99f32243c2d2ef'
'0x72add9621ecdcb07405a4f943fe410bf57003ca250400f01ce70f8a6fc72147'
)
).resolves.not.toThrow();
});
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 { getKeyPair, getStarkKey, sign, verify, ec } from '../../src/utils/ellipticCurve';
import { ec, getKeyPair, getStarkKey, sign, verify } from '../../src/utils/ellipticCurve';
import { removeHexPrefix } from '../../src/utils/encode';
import { hashCalldata, hashMessage, pedersen } from '../../src/utils/hash';
import { toBN, toHex } from '../../src/utils/number';
Expand Down
Loading

0 comments on commit de07149

Please sign in to comment.