You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All transaction's dataclasses can be imported from the ``starknet_py.net.models.transaction`` module.
88
+
The main differences between them and those from the Cairo-lang:
89
+
90
+
- ``tx_type`` field is renamed to ``type``,
91
+
- fields are not validated while creating.
92
+
93
+
All of them can be used as usual.
94
+
95
+
96
+
ContractClass
97
+
-------------
98
+
99
+
``DeclaredContract`` has been renamed to ``ContractClass``.
100
+
There also exists ``CompiledContract`` dataclass, which specifies **abi** attribute to be required.
101
+
102
+
|
103
+
104
+
.. raw:: html
105
+
106
+
<hr>
107
+
108
+
|
109
+
110
+
**********************
111
+
0.14.0 Migration guide
112
+
**********************
113
+
114
+
This version deprecates several modules and fixes underlying issues with several others.
115
+
116
+
0.14.0 Breaking changes
117
+
-----------------------
118
+
13
119
1. Renamed first parameter of :class:`~starknet_py.net.udc_deployer.deployer.ContractDeployment` from ``udc`` to ``call``, that is returned from :meth:`~starknet_py.net.udc_deployer.deployer.Deployer.create_deployment_call`.
14
120
15
121
16
-
Deprecations
17
-
------------
122
+
0.14.0 Deprecations
123
+
-------------------
18
124
19
125
1. :ref:`compiler` module. It will be removed in the future. We recommend transitioning to building contracts through Starknet CLI or external tools and using only compiled contracts with starknet.py.
20
126
2. ``utils.data_transformer`` module. It has been replaced with :ref:`serializers` module.
0 commit comments