Skip to content

Commit

Permalink
fix: mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnordelo committed Apr 30, 2024
1 parent fc8f3e0 commit 38e349f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Added

- before_update and after_update hooks to ERC1155Component (#982)

### Changed (Breaking)

- ERC1155Component implementations now require an ERC1155HooksTrait implementation in scope.

## 0.12.0 (2024-04-21)

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/tests/mocks/erc1155_mocks.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ mod SnakeERC1155Mock {
#[starknet::contract]
mod CamelERC1155Mock {
use openzeppelin::introspection::src5::SRC5Component;
use openzeppelin::token::erc1155::ERC1155Component;
use openzeppelin::token::erc1155::{ERC1155Component, ERC1155HooksEmptyImpl};
use starknet::ContractAddress;

component!(path: ERC1155Component, storage: erc1155, event: ERC1155Event);
Expand Down

0 comments on commit 38e349f

Please sign in to comment.