Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/core/cairo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.0.0 (2025-02-25)

- **Breaking changes**:
- Use OpenZeppelin Contracts for Cairo v1.0.0. ([#458](https://github.com/OpenZeppelin/contracts-wizard/pull/458))

## 0.21.1 (2025-01-23)

- Update to use TypeScript v5. ([#231](https://github.com/OpenZeppelin/contracts-wizard/pull/231))
Expand Down
52 changes: 26 additions & 26 deletions packages/core/cairo/src/account.test.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -86,7 +86,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -142,7 +142,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -219,7 +219,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -275,7 +275,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -346,7 +346,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -396,7 +396,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -477,7 +477,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -550,7 +550,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -623,7 +623,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -698,7 +698,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -773,7 +773,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -850,7 +850,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -927,7 +927,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1005,7 +1005,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1062,7 +1062,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1140,7 +1140,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1197,7 +1197,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1269,7 +1269,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1320,7 +1320,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1402,7 +1402,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1476,7 +1476,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1550,7 +1550,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1626,7 +1626,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1702,7 +1702,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down Expand Up @@ -1780,7 +1780,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract(account)]␊
mod MyAccount {␊
Expand Down
Binary file modified packages/core/cairo/src/account.test.ts.snap
Binary file not shown.
16 changes: 8 additions & 8 deletions packages/core/cairo/src/contract.test.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod Foo {␊
Expand All @@ -24,7 +24,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod Foo {␊
Expand All @@ -44,7 +44,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod Foo {␊
Expand All @@ -64,7 +64,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod Foo {␊
Expand All @@ -89,7 +89,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod Foo {␊
Expand All @@ -114,7 +114,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod Foo {␊
Expand Down Expand Up @@ -154,7 +154,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod Foo {␊
Expand Down Expand Up @@ -195,7 +195,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod Foo {␊
Expand Down
Binary file modified packages/core/cairo/src/contract.test.ts.snap
Binary file not shown.
16 changes: 8 additions & 8 deletions packages/core/cairo/src/custom.test.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod MyContract {␊
Expand All @@ -24,7 +24,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod MyContract {␊
Expand Down Expand Up @@ -85,7 +85,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod MyContract {␊
Expand Down Expand Up @@ -171,7 +171,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod MyContract {␊
Expand Down Expand Up @@ -232,7 +232,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod MyContract {␊
Expand All @@ -247,7 +247,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod MyContract {␊
Expand Down Expand Up @@ -308,7 +308,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
const UPGRADER_ROLE: felt252 = selector!("UPGRADER_ROLE");␊
Expand Down Expand Up @@ -385,7 +385,7 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1

`// SPDX-License-Identifier: MIT␊
// Compatible with OpenZeppelin Contracts for Cairo ^0.20.0␊
// Compatible with OpenZeppelin Contracts for Cairo ^1.0.0␊
#[starknet::contract]␊
mod MyContract {␊
Expand Down
Binary file modified packages/core/cairo/src/custom.test.ts.snap
Binary file not shown.
Loading
Loading