Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Conversation

ccolorado
Copy link

Migrated ex01.
Pending dependencies with ex00base migration

ccolorado added 2 commits July 9, 2023 01:31
…functions

```cairo
error: Identifier not found.
 --> ex01.cairo:32:57
    use starknet_cairo_101::utils::ex00_base::Ex00Base::validate_exercise;
                                                        ^***************^

error: Identifier not found.
 --> ex01.cairo:33:57
    use starknet_cairo_101::utils::ex00_base::Ex00Base::ex_initializer;
                                                        ^************^

error: Identifier not found.
 --> ex01.cairo:34:57
    use starknet_cairo_101::utils::ex00_base::Ex00Base::distribute_points;
                                                        ^***************^

error: Identifier not found.
 --> ex01.cairo:35:57
    use starknet_cairo_101::utils::ex00_base::Ex00Base::update_class_hash_by_admin;
```
                                                        ^************************^
use zeroable::Zeroable;
use starknet::ContractAddress;
use starknet::ContractAddressZeroable;
// use starknet::ContractAddressZeroable;
Copy link

@TosinJs TosinJs Jul 13, 2023

Choose a reason for hiding this comment

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

Consider using this (starknet::contract_address::ContractAddressZeroable) in place of the comment.

https://book.cairo-lang.org/appendix-05-most-common-types-and-traits.html#:~:text=starknet%3A%3Acontract_address%3A%3AContractAddressZeroable

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants