Skip to content

Commit 5fa4e7c

Browse files
Bump cairo version to 0.15 (#378)
Co-authored-by: Eric Lau <[email protected]>
1 parent ce867d9 commit 5fa4e7c

15 files changed

+146
-94
lines changed

.github/workflows/cairo-compilation.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

packages/core-cairo/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
- **Breaking changes**:
6+
- Use OpenZeppelin Contracts for Cairo v0.15.0. ([#378](https://github.com/OpenZeppelin/contracts-wizard/pull/378))
7+
38
## 0.14.0 (2024-06-20)
49

510
- **Breaking changes**:

packages/core-cairo/src/contract.test.ts.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Generated by [AVA](https://avajs.dev).
99
> Snapshot 1
1010
1111
`// SPDX-License-Identifier: MIT␊
12-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
12+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
1313
1414
#[starknet::contract]␊
1515
mod Foo {␊
@@ -24,7 +24,7 @@ Generated by [AVA](https://avajs.dev).
2424
> Snapshot 1
2525
2626
`// SPDX-License-Identifier: MIT␊
27-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
27+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
2828
2929
#[starknet::contract]␊
3030
mod Foo {␊
@@ -44,7 +44,7 @@ Generated by [AVA](https://avajs.dev).
4444
> Snapshot 1
4545
4646
`// SPDX-License-Identifier: MIT␊
47-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
47+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
4848
4949
#[starknet::contract]␊
5050
mod Foo {␊
@@ -64,7 +64,7 @@ Generated by [AVA](https://avajs.dev).
6464
> Snapshot 1
6565
6666
`// SPDX-License-Identifier: MIT␊
67-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
67+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
6868
6969
#[starknet::contract]␊
7070
mod Foo {␊
@@ -89,7 +89,7 @@ Generated by [AVA](https://avajs.dev).
8989
> Snapshot 1
9090
9191
`// SPDX-License-Identifier: MIT␊
92-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
92+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
9393
9494
#[starknet::contract]␊
9595
mod Foo {␊
@@ -114,7 +114,7 @@ Generated by [AVA](https://avajs.dev).
114114
> Snapshot 1
115115
116116
`// SPDX-License-Identifier: MIT␊
117-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
117+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
118118
119119
#[starknet::contract]␊
120120
mod Foo {␊
@@ -152,7 +152,7 @@ Generated by [AVA](https://avajs.dev).
152152
> Snapshot 1
153153
154154
`// SPDX-License-Identifier: MIT␊
155-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
155+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
156156
157157
#[starknet::contract]␊
158158
mod Foo {␊
1 Byte
Binary file not shown.

packages/core-cairo/src/custom.test.ts.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Generated by [AVA](https://avajs.dev).
99
> Snapshot 1
1010
1111
`// SPDX-License-Identifier: MIT␊
12-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
12+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
1313
1414
#[starknet::contract]␊
1515
mod MyContract {␊
@@ -24,7 +24,7 @@ Generated by [AVA](https://avajs.dev).
2424
> Snapshot 1
2525
2626
`// SPDX-License-Identifier: MIT␊
27-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
27+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
2828
2929
#[starknet::contract]␊
3030
mod MyContract {␊
@@ -80,7 +80,7 @@ Generated by [AVA](https://avajs.dev).
8080
> Snapshot 1
8181
8282
`// SPDX-License-Identifier: MIT␊
83-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
83+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
8484
8585
#[starknet::contract]␊
8686
mod MyContract {␊
@@ -161,7 +161,7 @@ Generated by [AVA](https://avajs.dev).
161161
> Snapshot 1
162162
163163
`// SPDX-License-Identifier: MIT␊
164-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
164+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
165165
166166
#[starknet::contract]␊
167167
mod MyContract {␊
@@ -217,7 +217,7 @@ Generated by [AVA](https://avajs.dev).
217217
> Snapshot 1
218218
219219
`// SPDX-License-Identifier: MIT␊
220-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
220+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
221221
222222
#[starknet::contract]␊
223223
mod MyContract {␊
@@ -232,7 +232,7 @@ Generated by [AVA](https://avajs.dev).
232232
> Snapshot 1
233233
234234
`// SPDX-License-Identifier: MIT␊
235-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
235+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
236236
237237
#[starknet::contract]␊
238238
mod MyContract {␊
@@ -288,7 +288,7 @@ Generated by [AVA](https://avajs.dev).
288288
> Snapshot 1
289289
290290
`// SPDX-License-Identifier: MIT␊
291-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
291+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
292292
293293
const UPGRADER_ROLE: felt252 = selector!("UPGRADER_ROLE");␊
294294
@@ -361,7 +361,7 @@ Generated by [AVA](https://avajs.dev).
361361
> Snapshot 1
362362
363363
`// SPDX-License-Identifier: MIT␊
364-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
364+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
365365
366366
#[starknet::contract]␊
367367
mod MyContract {␊
-16 Bytes
Binary file not shown.

packages/core-cairo/src/erc1155.test.ts.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Generated by [AVA](https://avajs.dev).
99
> Snapshot 1
1010
1111
`// SPDX-License-Identifier: MIT␊
12-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
12+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
1313
1414
#[starknet::contract]␊
1515
mod MyToken {␊
@@ -80,7 +80,7 @@ Generated by [AVA](https://avajs.dev).
8080
> Snapshot 1
8181
8282
`// SPDX-License-Identifier: MIT␊
83-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
83+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
8484
8585
#[starknet::contract]␊
8686
mod MyToken {␊
@@ -168,7 +168,7 @@ Generated by [AVA](https://avajs.dev).
168168
> Snapshot 1
169169
170170
`// SPDX-License-Identifier: MIT␊
171-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
171+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
172172
173173
const URI_SETTER_ROLE: felt252 = selector!("URI_SETTER_ROLE");␊
174174
const UPGRADER_ROLE: felt252 = selector!("UPGRADER_ROLE");␊
@@ -272,7 +272,7 @@ Generated by [AVA](https://avajs.dev).
272272
> Snapshot 1
273273
274274
`// SPDX-License-Identifier: MIT␊
275-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
275+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
276276
277277
#[starknet::contract]␊
278278
mod MyToken {␊
@@ -345,7 +345,7 @@ Generated by [AVA](https://avajs.dev).
345345
> Snapshot 1
346346
347347
`// SPDX-License-Identifier: MIT␊
348-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
348+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
349349
350350
#[starknet::contract]␊
351351
mod MyToken {␊
@@ -467,7 +467,7 @@ Generated by [AVA](https://avajs.dev).
467467
> Snapshot 1
468468
469469
`// SPDX-License-Identifier: MIT␊
470-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
470+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
471471
472472
#[starknet::contract]␊
473473
mod MyToken {␊
@@ -597,7 +597,7 @@ Generated by [AVA](https://avajs.dev).
597597
> Snapshot 1
598598
599599
`// SPDX-License-Identifier: MIT␊
600-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
600+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
601601
602602
#[starknet::contract]␊
603603
mod MyToken {␊
@@ -720,7 +720,7 @@ Generated by [AVA](https://avajs.dev).
720720
> Snapshot 1
721721
722722
`// SPDX-License-Identifier: MIT␊
723-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
723+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
724724
725725
const MINTER_ROLE: felt252 = selector!("MINTER_ROLE");␊
726726
const URI_SETTER_ROLE: felt252 = selector!("URI_SETTER_ROLE");␊
@@ -862,7 +862,7 @@ Generated by [AVA](https://avajs.dev).
862862
> Snapshot 1
863863
864864
`// SPDX-License-Identifier: MIT␊
865-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
865+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
866866
867867
const PAUSER_ROLE: felt252 = selector!("PAUSER_ROLE");␊
868868
const MINTER_ROLE: felt252 = selector!("MINTER_ROLE");␊
@@ -1063,7 +1063,7 @@ Generated by [AVA](https://avajs.dev).
10631063
> Snapshot 1
10641064
10651065
`// SPDX-License-Identifier: MIT␊
1066-
// Compatible with OpenZeppelin Contracts for Cairo ^0.14.0␊
1066+
// Compatible with OpenZeppelin Contracts for Cairo ^0.15.0␊
10671067
10681068
const PAUSER_ROLE: felt252 = selector!("PAUSER_ROLE");␊
10691069
const MINTER_ROLE: felt252 = selector!("MINTER_ROLE");␊
-12 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)