Commit b685182
authored
Support V3 transactions in the
* Remove TODO #1182 comment that was already done
* Move contract deploy related test to `test_deploy` file
* Split `prepare` method for: call, invoke_v1 and invoke_v3
* Adjust interaction tests to the new `Contract` interface
* Adjust remaining tests
* Break down `Contract.declare` into v1, v2 and v3
* Adjust tests to the new `Contract` declare interface
* Move `_unpack_provider` function to `contract_utils`
* Remove `_get_cairo_version` function from `Contract` class
* Split deploy contract methods in `Contract` class
* Adjust tests to the new `Contract` deploy interface
* Ignore pylint locals for `deploy_contract` methods to fix lint
* Add `_declare_contract` function
* Rename `CallToSend` to `PreparedCallBase`
* Replace Wei with Fri in docstrings
* Add test to get balance in STRK
* Update docstrings for deploy methods about sepolia network
* Add version postfix for `Abi` and `AbiParser` imports
* Use query version for fee estimation
* Fix docs build and add code examples
* Update docstringsContract class (#1262)1 parent df9a651 commit b685182
File tree
40 files changed
+1038
-395
lines changed- docs/api
- starknet_py
- net/account
- tests/e2e
- account
- client
- fixtures
- contract_interaction
- docs
- account_creation
- code_examples
- guide
- quickstart
- fixtures
- proxy
- tests_on_networks
40 files changed
+1038
-395
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
37 | 55 | | |
38 | 56 | | |
39 | 57 | | |
| |||
0 commit comments