Skip to content

Commit

Permalink
✏️ fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tekkac committed Nov 19, 2024
1 parent dd5c9c7 commit 7186103
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/presets/erc4906_preset.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pub mod ERC4906Preset {
use starknet::ContractAddress;
use starknet::storage::{StoragePointerReadAccess, StoragePointerWriteAccess};

//use openzeppelin_access::ownable::ownable::OwnableComponent::InternalTrait;
use openzeppelin_access::ownable::OwnableComponent;
use openzeppelin_introspection::src5::SRC5Component;
use openzeppelin_token::erc721::{ERC721Component, ERC721HooksEmptyImpl};
Expand Down
2 changes: 1 addition & 1 deletion src/tests/units/test_initialization.cairo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use openzeppelin::token::erc721::interface::{
use openzeppelin_token::erc721::interface::{
IERC721MetadataDispatcher, IERC721MetadataDispatcherTrait
};

Expand Down
6 changes: 3 additions & 3 deletions src/tests/utils.cairo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// External deps

use openzeppelin::utils::serde::SerializedAppend;
use openzeppelin_utils::serde::SerializedAppend;
use snforge_std as snf;
use snforge_std::ContractClassTrait;
use snforge_std::{ContractClassTrait, DeclareResultTrait};

// Starknet deps

Expand Down Expand Up @@ -32,7 +32,7 @@ pub fn OWNER() -> ContractAddress {

// Deploys an ERC4906 Preset contract.
pub fn deploy() -> ContractAddress {
let contract = snf::declare("ERC4906Preset").expect('Declaration failed');
let contract = snf::declare("ERC4906Preset").expect('Declaration failed').contract_class();

let mut calldata: Array<felt252> = array![];
calldata.append_serde(NAME());
Expand Down

0 comments on commit 7186103

Please sign in to comment.