Skip to content

Commit

Permalink
Run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
immrsd committed Oct 29, 2024
1 parent b5d49c4 commit b71dd53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/test_common/src/mocks.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ pub mod checkpoint;
pub mod erc1155;
pub mod erc20;
pub mod erc2981;
pub mod erc721_enumerable;
pub mod erc721;
pub mod erc721_enumerable;
pub mod non_implementing;
pub mod nonces;
pub mod security;
Expand Down
7 changes: 4 additions & 3 deletions packages/test_common/src/mocks/erc721_enumerable.cairo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#[starknet::contract]
pub mod ERC721EnumerableMock {
use openzeppelin_introspection::src5::SRC5Component;
use openzeppelin_token::erc721::ERC721Component;
use openzeppelin_token::erc721::extensions::ERC721EnumerableComponent;
use openzeppelin_introspection::src5::SRC5Component;
use starknet::ContractAddress;

component!(path: ERC721Component, storage: erc721, event: ERC721Event);
Expand All @@ -24,7 +24,8 @@ pub mod ERC721EnumerableMock {

// ERC721EnumerableExtended
#[abi(embed_v0)]
impl ERC721EnumerableExtendedImpl = ERC721EnumerableComponent::ERC721EnumerableExtendedImpl<ContractState>;
impl ERC721EnumerableExtendedImpl =
ERC721EnumerableComponent::ERC721EnumerableExtendedImpl<ContractState>;

// SRC5
#[abi(embed_v0)]
Expand Down Expand Up @@ -80,9 +81,9 @@ pub mod ERC721EnumerableMock {

#[starknet::contract]
pub mod SnakeERC721EnumerableMock {
use openzeppelin_introspection::src5::SRC5Component;
use openzeppelin_token::erc721::ERC721Component;
use openzeppelin_token::erc721::extensions::ERC721EnumerableComponent;
use openzeppelin_introspection::src5::SRC5Component;

use starknet::ContractAddress;

Expand Down

0 comments on commit b71dd53

Please sign in to comment.