Skip to content

Commit ac3f2fa

Browse files
Merge branch 'beta' into feat/abiwan
2 parents 5f6aef7 + 42efef2 commit ac3f2fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+4152
-4023
lines changed

.github/workflows/_test.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@ name: _ Run Tests
22
on:
33
workflow_call:
44
inputs:
5-
use-rpc-devnet:
6-
type: boolean
7-
default: false
8-
use-seq-devnet:
5+
use-devnet:
96
type: boolean
107
default: false
118
secrets:
12-
TEST_PROVIDER_BASE_URL:
13-
required: false
149
TEST_RPC_URL:
1510
required: false
1611
TEST_ACCOUNT_PRIVATE_KEY:
@@ -26,20 +21,16 @@ jobs:
2621
# TODO - periodically check if conditional services are supported; https://github.com/actions/runner/issues/822
2722
services:
2823
devnet:
29-
image: ${{ inputs.use-rpc-devnet && 'shardlabs/starknet-devnet-rs:0c82d023f35bb77c4b5f4afd885ab14e44b73130-amd-seed0' || inputs.use-seq-devnet && 'shardlabs/starknet-devnet:0.6.3-seed0' || '' }}
30-
# image: ${{ (inputs.use-rpc-devnet || inputs.use-seq-devnet) && 'shardlabs/starknet-devnet:0.6.3-seed0' || '' }}
31-
# image: shardlabs/starknet-devnet-rs:0c82d023f35bb77c4b5f4afd885ab14e44b73130-amd-seed0
24+
image: ${{ (inputs.use-devnet) && 'shardlabs/starknet-devnet-rs:85495efb71a37ad3921c8986474b7e78a9a9f5fc-amd-seed0' || '' }}
3225
ports:
3326
- 5050:5050
3427

3528
env:
36-
TEST_PROVIDER_BASE_URL: ${{ secrets.TEST_PROVIDER_BASE_URL }}
3729
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
3830
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
3931
TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}
4032

4133
steps:
42-
- run: echo ${{ secrets.TEST_PROVIDER_BASE_URL }}
4334
- run: echo ${{ secrets.TEST_RPC_URL }}
4435
- uses: actions/checkout@v3
4536
- uses: actions/setup-node@v3

.github/workflows/manual-tests-devnet.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,12 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
name: [sequencer-devnet, rpc-devnet]
1110
include:
12-
- name: sequencer-devnet
13-
TEST_PROVIDER_BASE_URL: http://127.0.0.1:5050/
1411
- name: rpc-devnet
1512
TEST_RPC_URL: http://127.0.0.1:5050/rpc
1613

1714
uses: ./.github/workflows/_test.yml
1815
with:
19-
use-rpc-devnet: ${{ matrix.TEST_RPC_URL != '' }}
20-
use-seq-devnet: ${{ matrix.TEST_PROVIDER_BASE_URL != '' }}
16+
use-devnet: ${{ matrix.TEST_RPC_URL != '' }}
2117
secrets:
22-
TEST_PROVIDER_BASE_URL: ${{ matrix.TEST_PROVIDER_BASE_URL }}
2318
TEST_RPC_URL: ${{ matrix.TEST_RPC_URL }}

.github/workflows/manual-tests-testnet.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,12 @@ jobs:
55
tests:
66
name: Run test on ${{ matrix.name }}
77
strategy:
8-
max-parallel: 1 # needed until we get a seperate account for the rpc provider, until then running them in parallel would result in a nonce issue
8+
max-parallel: 1
99
matrix:
10-
name: [sequencer-goerli, rpc-goerli]
11-
include:
12-
- name: sequencer-goerli
13-
ENABLE_SEQUENCER: true
14-
ENABLE_RPC: false
15-
- name: rpc-goerli
16-
ENABLE_SEQUENCER: false
17-
ENABLE_RPC: true
10+
name: [rpc-goerli]
1811

1912
uses: ./.github/workflows/_test.yml
2013
secrets:
21-
TEST_PROVIDER_BASE_URL: ${{ matrix.ENABLE_SEQUENCER && secrets.TEST_PROVIDER_BASE_URL || ''}}
22-
TEST_RPC_URL: ${{ matrix.ENABLE_RPC && secrets.TEST_RPC_URL || ''}}
14+
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
2315
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
2416
TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}

.github/workflows/pr-push-dev.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,14 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
name: [sequencer-devnet, rpc-devnet]
4847
include:
49-
- name: sequencer-devnet
50-
TEST_PROVIDER_BASE_URL: http://127.0.0.1:5050/
5148
- name: rpc-devnet
5249
TEST_RPC_URL: http://127.0.0.1:5050/rpc
5350

5451
uses: ./.github/workflows/_test.yml
5552
with:
56-
use-rpc-devnet: ${{ matrix.TEST_RPC_URL != '' }}
57-
use-seq-devnet: ${{ matrix.TEST_PROVIDER_BASE_URL != '' }}
53+
use-devnet: ${{ matrix.TEST_RPC_URL != '' }}
5854
secrets:
59-
TEST_PROVIDER_BASE_URL: ${{ matrix.TEST_PROVIDER_BASE_URL }}
6055
TEST_RPC_URL: ${{ matrix.TEST_RPC_URL }}
6156

6257
release:

.github/workflows/pr-push-main.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,13 @@ jobs:
3838
needs: [skip_check]
3939
if: needs.skip_check.outputs.should_skip != 'true'
4040
strategy:
41-
max-parallel: 1 # needed until we get a seperate account for the rpc provider, until then running them in parallel would result in a nonce issue
41+
max-parallel: 1
4242
matrix:
43-
name: [sequencer-goerli, rpc-goerli]
44-
include:
45-
- name: sequencer-goerli
46-
ENABLE_SEQUENCER: true
47-
ENABLE_RPC: false
48-
- name: rpc-goerli
49-
ENABLE_SEQUENCER: false
50-
ENABLE_RPC: true
43+
name: [rpc-goerli]
5144

5245
uses: ./.github/workflows/_test.yml
5346
secrets:
54-
TEST_PROVIDER_BASE_URL: ${{ matrix.ENABLE_SEQUENCER && secrets.TEST_PROVIDER_BASE_URL || ''}}
55-
TEST_RPC_URL: ${{ matrix.ENABLE_RPC && secrets.TEST_RPC_URL || ''}}
47+
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
5648
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
5749
TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}
5850

CHANGELOG.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,66 @@
44

55
- sepolia ([26d7044](https://github.com/starknet-io/starknet.js/commit/26d70446edd7c098b7f257d9242cc9d9d220b11e))
66

7+
# [6.0.0-beta.12](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.11...v6.0.0-beta.12) (2024-01-23)
8+
9+
### Features
10+
11+
- add provider.decodeParameters ([be6eec9](https://github.com/starknet-io/starknet.js/commit/be6eec94c8ae5d92df631502c9a1d61663d80101))
12+
- ethereum signer ([8473adb](https://github.com/starknet-io/starknet.js/commit/8473adbcfa5ef642297b8a7f448a0d789703037f))
13+
- ethereum-signer ([f37bfb2](https://github.com/starknet-io/starknet.js/commit/f37bfb2788b7c6befc10efca8b102ee2a975ee55))
14+
15+
# [6.0.0-beta.11](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.10...v6.0.0-beta.11) (2024-01-04)
16+
17+
### Bug Fixes
18+
19+
- utilize provided resourceBounds value ([65bea53](https://github.com/starknet-io/starknet.js/commit/65bea53ab03a04fdd4c122ba2fecbb1010100e18))
20+
21+
# [6.0.0-beta.10](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.9...v6.0.0-beta.10) (2023-12-20)
22+
23+
### Features
24+
25+
- req id counter ([cedd1ea](https://github.com/starknet-io/starknet.js/commit/cedd1ea32cd58107c504d357a3dd5e9a40010a80))
26+
27+
# [6.0.0-beta.9](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.8...v6.0.0-beta.9) (2023-12-19)
28+
29+
### Bug Fixes
30+
31+
- acc deploy_acc ([732cd94](https://github.com/starknet-io/starknet.js/commit/732cd946f26c2b0fe893067f25c1fe712d72d49b))
32+
33+
# [6.0.0-beta.8](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.7...v6.0.0-beta.8) (2023-12-19)
34+
35+
### Bug Fixes
36+
37+
- estimateFeeBulk provided version ([da717be](https://github.com/starknet-io/starknet.js/commit/da717be8e656087eaba21c865a6dd0b648664491))
38+
39+
# [6.0.0-beta.7](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.6...v6.0.0-beta.7) (2023-12-14)
40+
41+
### Bug Fixes
42+
43+
- provider rpc 0.5-0.6 getTransactionReceipt response standardization ([76b6ab4](https://github.com/starknet-io/starknet.js/commit/76b6ab49f6721d1f76c3f30d3d88d6dbc8b80bda))
44+
45+
### Features
46+
47+
- curves ([405de46](https://github.com/starknet-io/starknet.js/commit/405de462032579ef0e8e434c62976dcb84ee1af8))
48+
- **provider:** fix and clean provider response and response parser, removed seqeuncer api ([7ecb069](https://github.com/starknet-io/starknet.js/commit/7ecb069e3d2c37653cedc44dfbb635c5bc8eec7f))
49+
- **provider:** pending response discrimination, pending type guards ([013a22b](https://github.com/starknet-io/starknet.js/commit/013a22bf4dd8cb6df817ccf6ff2d82837fe91693))
50+
51+
# [6.0.0-beta.6](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.5...v6.0.0-beta.6) (2023-12-11)
52+
53+
### Features
54+
55+
- def rpc 0_6, sepolia nodes ([4f59a8f](https://github.com/starknet-io/starknet.js/commit/4f59a8f01439662ae7eb785cafcf781c68b2cb04))
56+
- default account UniversalDetails, rpc spec update, update interface ([8dc9b8a](https://github.com/starknet-io/starknet.js/commit/8dc9b8ab28a82a9a0eaa47e0271c12b79e8cff39))
57+
- sepolia constants, rpc open change ([6de46b5](https://github.com/starknet-io/starknet.js/commit/6de46b59d22bfda959c083b3ac5570cb8d4c6d0a))
58+
59+
# [6.0.0-beta.5](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.4...v6.0.0-beta.5) (2023-12-10)
60+
61+
### Bug Fixes
62+
63+
- apply bound for contract address from hash calculation ([6d8c291](https://github.com/starknet-io/starknet.js/commit/6d8c291bce130d7b00ae6d81aff071c4986f04af))
64+
- **Calldata.compile:** do not split long `entrypoint` names before calling `getSelectorFromName` ([89715da](https://github.com/starknet-io/starknet.js/commit/89715da3fdb4b497cc5771eb83a88460007740b6))
65+
- prioritize error states in waitForTransaction evaluation ([ac54404](https://github.com/starknet-io/starknet.js/commit/ac544045e2079b68042d850a09b203fc5536c0d0))
66+
767
## [5.24.5](https://github.com/starknet-io/starknet.js/compare/v5.24.4...v5.24.5) (2023-12-10)
868

969
### Bug Fixes
@@ -12,6 +72,50 @@
1272
- **Calldata.compile:** do not split long `entrypoint` names before calling `getSelectorFromName` ([89715da](https://github.com/starknet-io/starknet.js/commit/89715da3fdb4b497cc5771eb83a88460007740b6))
1373
- prioritize error states in waitForTransaction evaluation ([ac54404](https://github.com/starknet-io/starknet.js/commit/ac544045e2079b68042d850a09b203fc5536c0d0))
1474

75+
# [6.0.0-beta.4](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.3...v6.0.0-beta.4) (2023-12-08)
76+
77+
### Bug Fixes
78+
79+
- remove account_deployment_data from deploy Account ([ede83bf](https://github.com/starknet-io/starknet.js/commit/ede83bfda3c6fcfa9dd397c92bd709293c8dda9b))
80+
81+
### Features
82+
83+
- simulate skip validate by default, spec deploy acc fix ([1b3e7ae](https://github.com/starknet-io/starknet.js/commit/1b3e7aeadaba5b7d59377e249b535f6a8cb8862e))
84+
85+
# [6.0.0-beta.3](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.2...v6.0.0-beta.3) (2023-12-07)
86+
87+
### Bug Fixes
88+
89+
- **beta:** deploy account ([#880](https://github.com/starknet-io/starknet.js/issues/880)) ([00c58e3](https://github.com/starknet-io/starknet.js/commit/00c58e3c6d03b716b68c1b96b5a4adc1cff87dd0))
90+
91+
# [6.0.0-beta.2](https://github.com/starknet-io/starknet.js/compare/v6.0.0-beta.1...v6.0.0-beta.2) (2023-12-07)
92+
93+
### Features
94+
95+
- v3 wip with est ([b95c462](https://github.com/starknet-io/starknet.js/commit/b95c462df0bd59293b7b42b5474311a3bbbfab1d))
96+
97+
# [6.0.0-beta.1](https://github.com/starknet-io/starknet.js/compare/v5.24.4...v6.0.0-beta.1) (2023-12-06)
98+
99+
### Features
100+
101+
- account preferred transaction version, setup v3 ([5652eb2](https://github.com/starknet-io/starknet.js/commit/5652eb211e1accaefbb2f24bcb756ccf9170c07a))
102+
- dual specification with 0.6 implementation, not yet integrated ([ac8c763](https://github.com/starknet-io/starknet.js/commit/ac8c76383bb3f566164bc4f38c477e3e3dc45f31))
103+
- hashes, signer, vip account, types, versions as string enum ([6ceb9e3](https://github.com/starknet-io/starknet.js/commit/6ceb9e31e51d51a6ce374144fd3ddb82a6ea01b3))
104+
- pretty print rpc LibraryError params, make env.DEBUG usefull ([cca723f](https://github.com/starknet-io/starknet.js/commit/cca723f13009ce7048c7be6b8a6f466aca0d5e19))
105+
- remove old version constants, default types api rpc ([ed9cb08](https://github.com/starknet-io/starknet.js/commit/ed9cb089460640af96a73eca66e9971ca5832041))
106+
- rpc 0.6 implementation as superset of 0.5 tx ([5b2b299](https://github.com/starknet-io/starknet.js/commit/5b2b2997ee7e54144864315ed20175017e4218b4))
107+
- rpc 0.6.0-rc3 implementation ([c2607ed](https://github.com/starknet-io/starknet.js/commit/c2607ed64f26d18ea66f2184acf34d3ca9ee4766))
108+
- rpc provider ([0d9c2e5](https://github.com/starknet-io/starknet.js/commit/0d9c2e5ba0298af7b608ccbd9dd2eff3dc0bb69a))
109+
- rpcChannel ([181eea3](https://github.com/starknet-io/starknet.js/commit/181eea3e4eabc52cdf46b796f0861e2641d59668))
110+
- update default rpc nodes and version ([9b9fe0e](https://github.com/starknet-io/starknet.js/commit/9b9fe0e4c5d8d54323bb82ab7ceed3a78d6fc1bc))
111+
- update verson ([5dfe445](https://github.com/starknet-io/starknet.js/commit/5dfe445a5ed09dd531d91156633321fdae4b70cd))
112+
- v3 transaction hashes ([4fe40a1](https://github.com/starknet-io/starknet.js/commit/4fe40a1419031cd6328509e2439744d0ff98c8e7))
113+
- v3 tx hashes calculation ([f0e760d](https://github.com/starknet-io/starknet.js/commit/f0e760d109e488b70b16eed24e94b889d708d257))
114+
115+
### BREAKING CHANGES
116+
117+
- v3 transactions
118+
15119
## [5.24.4](https://github.com/starknet-io/starknet.js/compare/v5.24.3...v5.24.4) (2023-12-06)
16120

17121
### Bug Fixes

__tests__/account.test.ts

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import {
33
Account,
44
Contract,
55
DeclareDeployUDCResponse,
6-
DeployTransactionReceiptResponse,
76
Provider,
87
TransactionType,
98
cairo,
9+
constants,
1010
contractClassResponseToLegacyCompiledContract,
1111
ec,
1212
extractContractHashes,
@@ -17,6 +17,7 @@ import {
1717
stark,
1818
} from '../src';
1919
import {
20+
TEST_TX_VERSION,
2021
compiledErc20,
2122
compiledHelloSierra,
2223
compiledHelloSierraCasm,
@@ -29,8 +30,8 @@ import {
2930
erc20ClassHash,
3031
getTestAccount,
3132
getTestProvider,
32-
} from './fixtures';
33-
import { initializeMatcher } from './schema';
33+
} from './config/fixtures';
34+
import { initializeMatcher } from './config/schema';
3435

3536
const { cleanHex, hexToDecimalString, toBigInt, toHex } = num;
3637
const { encodeShortString } = shortString;
@@ -95,7 +96,9 @@ describe('deploy and test Wallet', () => {
9596
});
9697

9798
expect(result).toMatchSchemaRef('EstimateFee');
98-
expect(innerInvokeEstFeeSpy.mock.calls[0][1].version).toBe(hash.feeTransactionVersion);
99+
expect([constants.TRANSACTION_VERSION.F1, constants.TRANSACTION_VERSION.F3]).toContain(
100+
innerInvokeEstFeeSpy.mock.calls[0][1].version
101+
);
99102
innerInvokeEstFeeSpy.mockClear();
100103
});
101104

@@ -137,7 +140,13 @@ describe('deploy and test Wallet', () => {
137140
await account.waitForTransaction(transaction_hash);
138141

139142
// deploy account
140-
const accountOZ = new Account(provider, tobeAccountAddress, priKey);
143+
const accountOZ = new Account(
144+
provider,
145+
tobeAccountAddress,
146+
priKey,
147+
undefined,
148+
TEST_TX_VERSION
149+
);
141150
const deployed = await accountOZ.deploySelf({
142151
classHash: accountClassHash,
143152
constructorCalldata: calldata,
@@ -559,7 +568,7 @@ describe('deploy and test Wallet', () => {
559568

560569
// check pre-calculated address
561570
const txReceipt = await provider.waitForTransaction(deployment.transaction_hash);
562-
const udcEvent = parseUDCEvent(txReceipt as DeployTransactionReceiptResponse);
571+
const udcEvent = parseUDCEvent(txReceipt as any); // todo: when time fix types
563572
expect(cleanHex(deployment.contract_address[0])).toBe(cleanHex(udcEvent.contract_address));
564573
});
565574

@@ -580,7 +589,7 @@ describe('deploy and test Wallet', () => {
580589

581590
// check pre-calculated address
582591
const txReceipt = await provider.waitForTransaction(deployment.transaction_hash);
583-
const udcEvent = parseUDCEvent(txReceipt as DeployTransactionReceiptResponse);
592+
const udcEvent = parseUDCEvent(txReceipt as any); // todo: when time fix types
584593
expect(cleanHex(deployment.contract_address[0])).toBe(cleanHex(udcEvent.contract_address));
585594
});
586595

__tests__/cairo1.test.ts

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
DeclareDeployUDCResponse,
1111
RawArgsArray,
1212
RawArgsObject,
13-
SequencerProvider,
1413
cairo,
1514
ec,
1615
hash,
@@ -20,18 +19,18 @@ import {
2019
stark,
2120
} from '../src';
2221
import {
22+
TEST_TX_VERSION,
2323
compiledC1Account,
2424
compiledC1AccountCasm,
2525
compiledComplexSierra,
2626
compiledHelloSierra,
2727
compiledHelloSierraCasm,
2828
describeIfDevnet,
29-
describeIfDevnetSequencer,
3029
describeIfSequencerGoerli,
3130
getTestAccount,
3231
getTestProvider,
33-
} from './fixtures';
34-
import { initializeMatcher } from './schema';
32+
} from './config/fixtures';
33+
import { initializeMatcher } from './config/schema';
3534

3635
const { uint256, tuple, isCairo1Abi } = cairo;
3736
const { toHex } = num;
@@ -491,15 +490,6 @@ describeIfDevnet('Cairo 1 Devnet', () => {
491490
expect(callDataFromObject).toStrictEqual(expectedResult);
492491
expect(callDataFromArray).toStrictEqual(expectedResult);
493492
});
494-
495-
describeIfDevnetSequencer('Sequencer only', () => {
496-
test('getCompiledClassByClassHash', async () => {
497-
const compiledClass = await (provider as SequencerProvider).getCompiledClassByClassHash(
498-
dd.deploy.classHash
499-
);
500-
expect(compiledClass).toMatchSchemaRef('CompiledClass');
501-
});
502-
});
503493
});
504494

505495
describe('Cairo1 Account contract', () => {
@@ -544,7 +534,7 @@ describeIfDevnet('Cairo 1 Devnet', () => {
544534
await account.waitForTransaction(transaction_hash);
545535

546536
// deploy account
547-
accountC1 = new Account(provider, toBeAccountAddress, priKey, '1');
537+
accountC1 = new Account(provider, toBeAccountAddress, priKey, '1', TEST_TX_VERSION);
548538
const deployed = await accountC1.deploySelf({
549539
classHash: accountClassHash,
550540
constructorCalldata: calldata,
@@ -562,7 +552,7 @@ describeIfDevnet('Cairo 1 Devnet', () => {
562552

563553
describeIfSequencerGoerli('Cairo1 Testnet', () => {
564554
describe('Sequencer API - C1 Testnet C:0x00305e...', () => {
565-
const provider = getTestProvider() as SequencerProvider;
555+
const provider = getTestProvider();
566556
const account = getTestAccount(provider);
567557
const classHash: any = '0x022332bb9c1e22ae13ae7fd9f3101eced4644533c6bfe51a25cf8dea028e5045';
568558
const contractAddress: any =
@@ -576,11 +566,6 @@ describeIfSequencerGoerli('Cairo1 Testnet', () => {
576566
cairo1Contract = new Contract(cairoClass.abi as Abi, contractAddress, account);
577567
});
578568

579-
test('getCompiledClassByClassHash', async () => {
580-
const compiledClass = await provider.getCompiledClassByClassHash(classHash);
581-
expect(compiledClass).toMatchSchemaRef('CompiledClass');
582-
});
583-
584569
test('GetClassByHash', async () => {
585570
const classResponse = await provider.getClassByHash(classHash);
586571
expect(classResponse).toMatchSchemaRef('SierraContractClass');

0 commit comments

Comments
 (0)