Commit 74249a6
Support RPC v0.6.0 (#1243)
* Modify transaction models and add hash computation logic
* Create broadcasted v3 transactions
* Add account sign and execute v3
* Fix models
* Prepare devnet for tests with STRK
* Run devnet with flag to keep states
* Fix helper for deploy account
* Add declare and deploy account tests
* Add more tests
* Fix client models
* Update devnet env variables in github workflow
* Fix typo in `TransactionV3` class
* Add `auto_estimate` parameter to v3 sign methods
* Add missing `account_deployment_data`
* Rename `fee_contract` to `eth_fee_contract`
* Align v3 common fields to match with the snip
Co-authored-by: Maksim Zdobnikau <43750648+DelevoXDG@users.noreply.github.com>
* Rename `get_common_tx_fields`
Co-authored-by: Maksim Zdobnikau <43750648+DelevoXDG@users.noreply.github.com>
* Fix lint and failing tests
* Add docstrings for compute hash functions
* Change `class_hash` and `contract_class` validation in compute_declare_v2_hash
* Add `auto_estimate` to `execute_v3` and fix typos
* Fix punctuation and typos in `_prepare_invoke_v3` docstring
Co-authored-by: Maksim Zdobnikau <43750648+DelevoXDG@users.noreply.github.com>
* Fix docs build
* Disallow passing currently unused v3 fields to `init`
* Add V1 postfix for deprecated transaction types
* Add `DeprecatedTransaction` and `DeprecatedTransactionSchema`
* Add intermediary `_DeprecatedAccountTransaction` class
* Rename sign functions to have transaction version in names
* Fix `simulate_transactions` description
* Replace `resource_bounds` with `l1_resource_bounds` in sign methods
* RPC v0.6.0 documentation (#1250)
---------
Co-authored-by: Maksim Zdobnikau <43750648+DelevoXDG@users.noreply.github.com>1 parent 9fc34be commit 74249a6
File tree
49 files changed
+1867
-400
lines changed- .github/workflows
- docs
- api
- guide
- starknet_py
- hash
- net
- account
- models
- schemas
- signer
- tests/e2e
- account
- client
- fixtures
- declare
- deploy_account
- deploy
- docs
- account_creation
- code_examples
- guide
- migration_guide
- fixtures
- tests_on_networks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
49 files changed
+1867
-400
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
8 | 45 | | |
9 | 46 | | |
10 | 47 | | |
11 | 48 | | |
12 | 49 | | |
13 | 50 | | |
14 | 51 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
18 | 61 | | |
19 | 62 | | |
20 | 63 | | |
21 | 64 | | |
22 | 65 | | |
23 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
24 | 73 | | |
25 | 74 | | |
26 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | | - | |
| 671 | + | |
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
| |||
0 commit comments