Skip to content

Commit

Permalink
chore: Updating Map Imports (#230)
Browse files Browse the repository at this point in the history
* Updating Map Imports

* Update exercises/starknet/basics/starknet3.cairo

* Update exercises/starknet/basics/starknet4.cairo

---------

Co-authored-by: Shramee Srivastav <[email protected]>
  • Loading branch information
CountryCousin and shramee authored Jan 1, 2025
1 parent 519dc87 commit cce398f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions exercises/starknet/basics/starknet3.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ trait IProgressTracker<TContractState> {
mod ProgressTracker {
use starknet::ContractAddress;
use starknet::get_caller_address; // Required to use get_caller_address function
use storage::StoragePointerReadAccess;
use storage::StoragePointerWriteAccess;
use storage::StoragePathEntry;
use storage::Map;
use starknet::storage::{StoragePointerReadAccess, StoragePointerWriteAccess, StoragePathEntry, Map};

#[storage]
struct Storage {
Expand Down
1 change: 1 addition & 0 deletions exercises/starknet/basics/starknet4.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ trait ILizInventory<TContractState> {
mod LizInventory {
use starknet::ContractAddress;
use starknet::get_caller_address;
use starknet::storage::{StoragePointerReadAccess, StoragePointerWriteAccess, StoragePathEntry, Map};

#[storage]
struct Storage {
Expand Down

0 comments on commit cce398f

Please sign in to comment.