Skip to content

Conversation

@kkawula
Copy link
Contributor

@kkawula kkawula commented Aug 21, 2024

Closes #1334

Introduced changes

  • Removed Contract.declare_v1
  • Removed Account.sign_declare_v1
  • Remove DeclareV1 schema
  • Updated docs

  • This PR contains breaking changes

Declaring contracts made in Cairo 0 is no longer supported

  • Removed Contract.declare_v1
  • Removed Account.sign_declare_v1

kkawula added 30 commits July 30, 2024 12:18
@kkawula kkawula changed the title Remove sign_declare_v1 method from Account class Remove sign_declare_v1 and declare_v1 methods Aug 21, 2024
@kkawula kkawula requested a review from franciszekjob August 21, 2024 13:03
Copy link
Collaborator

@franciszekjob franciszekjob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left one little question, overall looks good 👍

Copy link
Collaborator

@franciszekjob franciszekjob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Base automatically changed from kkawula/replace-cairo-0-contracts-vol4 to development August 28, 2024 14:19
 Conflicts:
	starknet_py/abi/v0/parser_test.py
	starknet_py/abi/v0/schemas_test.py
	starknet_py/serialization/serialization_test.py
	starknet_py/tests/e2e/account/account_test.py
	starknet_py/tests/e2e/block_test.py
@kkawula kkawula changed the title Remove sign_declare_v1 and declare_v1 methods Remove sign_declare_v1 and declare_v1 methods Aug 29, 2024
@kkawula kkawula merged commit d8b2436 into development Aug 29, 2024
@kkawula kkawula deleted the kkawula/remove-sign-declare-v1 branch August 29, 2024 08:36
kkawula added a commit that referenced this pull request Sep 10, 2024
This reverts commit d8b2436.

 Conflicts:
	starknet_py/tests/e2e/fixtures/contracts.py

 Changes to be committed:
	modified:   starknet_py/contract.py
	modified:   starknet_py/net/account/account.py
	modified:   starknet_py/net/account/base_account.py
	modified:   starknet_py/net/client_models.py
	modified:   starknet_py/net/models/__init__.py
	modified:   starknet_py/net/models/transaction.py
	modified:   starknet_py/net/schemas/rpc/transactions.py
kkawula added a commit that referenced this pull request Sep 10, 2024
* Revert "Remove `sign_declare_v1` and `declare_v1` methods (#1451)"

This reverts commit d8b2436.

 Conflicts:
	starknet_py/tests/e2e/fixtures/contracts.py

 Changes to be committed:
	modified:   starknet_py/contract.py
	modified:   starknet_py/net/account/account.py
	modified:   starknet_py/net/account/base_account.py
	modified:   starknet_py/net/client_models.py
	modified:   starknet_py/net/models/__init__.py
	modified:   starknet_py/net/models/transaction.py
	modified:   starknet_py/net/schemas/rpc/transactions.py

* Add proper docstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove declaration of cairo 0 contracts

3 participants