Skip to content

Commit 97e06c6

Browse files
authored
Remove Cairo lang version (#337)
1 parent dc9e3e3 commit 97e06c6

12 files changed

+6
-39
lines changed

packages/core-cairo/CHANGELOG.md

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

3+
## 0.9.2 (2024-02-26)
4+
5+
- Remove code comment for Cairo lang version. ([#337](https://github.com/OpenZeppelin/contracts-wizard/pull/337))
6+
37
## 0.9.1 (2024-02-22)
48

59
- Add code comments for compatible OpenZeppelin Contracts for Cairo and Cairo lang versions. ([#331](https://github.com/OpenZeppelin/contracts-wizard/pull/331))

packages/core-cairo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openzeppelin/wizard-cairo",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "A boilerplate generator to get started with OpenZeppelin Contracts for Cairo",
55
"license": "MIT",
66
"repository": "github:OpenZeppelin/contracts-wizard",

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Generated by [AVA](https://avajs.dev).
1010
1111
`// SPDX-License-Identifier: MIT␊
1212
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
13-
// Cairo lang 2.5.3␊
1413
1514
#[starknet::contract]␊
1615
mod Foo {␊
@@ -26,7 +25,6 @@ Generated by [AVA](https://avajs.dev).
2625
2726
`// SPDX-License-Identifier: MIT␊
2827
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
29-
// Cairo lang 2.5.3␊
3028
3129
#[starknet::contract]␊
3230
mod Foo {␊
@@ -47,7 +45,6 @@ Generated by [AVA](https://avajs.dev).
4745
4846
`// SPDX-License-Identifier: MIT␊
4947
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
50-
// Cairo lang 2.5.3␊
5148
5249
#[starknet::contract]␊
5350
mod Foo {␊
@@ -68,7 +65,6 @@ Generated by [AVA](https://avajs.dev).
6865
6966
`// SPDX-License-Identifier: MIT␊
7067
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
71-
// Cairo lang 2.5.3␊
7268
7369
#[starknet::contract]␊
7470
mod Foo {␊
@@ -94,7 +90,6 @@ Generated by [AVA](https://avajs.dev).
9490
9591
`// SPDX-License-Identifier: MIT␊
9692
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
97-
// Cairo lang 2.5.3␊
9893
9994
#[starknet::contract]␊
10095
mod Foo {␊
@@ -120,7 +115,6 @@ Generated by [AVA](https://avajs.dev).
120115
121116
`// SPDX-License-Identifier: MIT␊
122117
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
123-
// Cairo lang 2.5.3␊
124118
125119
#[starknet::contract]␊
126120
mod Foo {␊
@@ -159,7 +153,6 @@ Generated by [AVA](https://avajs.dev).
159153
160154
`// SPDX-License-Identifier: MIT␊
161155
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
162-
// Cairo lang 2.5.3␊
163156
164157
#[starknet::contract]␊
165158
mod Foo {␊
-16 Bytes
Binary file not shown.

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Generated by [AVA](https://avajs.dev).
1010
1111
`// SPDX-License-Identifier: MIT␊
1212
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
13-
// Cairo lang 2.5.3␊
1413
1514
#[starknet::contract]␊
1615
mod MyContract {␊
@@ -26,7 +25,6 @@ Generated by [AVA](https://avajs.dev).
2625
2726
`// SPDX-License-Identifier: MIT␊
2827
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
29-
// Cairo lang 2.5.3␊
3028
3129
#[starknet::contract]␊
3230
mod MyContract {␊
@@ -93,7 +91,6 @@ Generated by [AVA](https://avajs.dev).
9391
9492
`// SPDX-License-Identifier: MIT␊
9593
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
96-
// Cairo lang 2.5.3␊
9794
9895
#[starknet::contract]␊
9996
mod MyContract {␊
@@ -152,7 +149,6 @@ Generated by [AVA](https://avajs.dev).
152149
153150
`// SPDX-License-Identifier: MIT␊
154151
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
155-
// Cairo lang 2.5.3␊
156152
157153
#[starknet::contract]␊
158154
mod MyContract {␊
@@ -168,7 +164,6 @@ Generated by [AVA](https://avajs.dev).
168164
169165
`// SPDX-License-Identifier: MIT␊
170166
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
171-
// Cairo lang 2.5.3␊
172167
173168
#[starknet::contract]␊
174169
mod MyContract {␊
@@ -210,7 +205,6 @@ Generated by [AVA](https://avajs.dev).
210205
211206
`// SPDX-License-Identifier: MIT␊
212207
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
213-
// Cairo lang 2.5.3␊
214208
215209
#[starknet::contract]␊
216210
mod MyContract {␊
@@ -263,7 +257,6 @@ Generated by [AVA](https://avajs.dev).
263257
264258
`// SPDX-License-Identifier: MIT␊
265259
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
266-
// Cairo lang 2.5.3␊
267260
268261
#[starknet::contract]␊
269262
mod MyContract {␊
-14 Bytes
Binary file not shown.

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Generated by [AVA](https://avajs.dev).
1010
1111
`// SPDX-License-Identifier: MIT␊
1212
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
13-
// Cairo lang 2.5.3␊
1413
1514
#[starknet::contract]␊
1615
mod MyToken {␊
@@ -53,7 +52,6 @@ Generated by [AVA](https://avajs.dev).
5352
5453
`// SPDX-License-Identifier: MIT␊
5554
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
56-
// Cairo lang 2.5.3␊
5755
5856
#[starknet::contract]␊
5957
mod MyToken {␊
@@ -107,7 +105,6 @@ Generated by [AVA](https://avajs.dev).
107105
108106
`// SPDX-License-Identifier: MIT␊
109107
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
110-
// Cairo lang 2.5.3␊
111108
112109
#[starknet::contract]␊
113110
mod MyToken {␊
@@ -241,7 +238,6 @@ Generated by [AVA](https://avajs.dev).
241238
242239
`// SPDX-License-Identifier: MIT␊
243240
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
244-
// Cairo lang 2.5.3␊
245241
246242
const PAUSER_ROLE: felt252 = selector!("PAUSER_ROLE");␊
247243
@@ -390,7 +386,6 @@ Generated by [AVA](https://avajs.dev).
390386
391387
`// SPDX-License-Identifier: MIT␊
392388
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
393-
// Cairo lang 2.5.3␊
394389
395390
#[starknet::contract]␊
396391
mod MyToken {␊
@@ -532,7 +527,6 @@ Generated by [AVA](https://avajs.dev).
532527
533528
`// SPDX-License-Identifier: MIT␊
534529
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
535-
// Cairo lang 2.5.3␊
536530
537531
#[starknet::contract]␊
538532
mod MyToken {␊
@@ -578,7 +572,6 @@ Generated by [AVA](https://avajs.dev).
578572
579573
`// SPDX-License-Identifier: MIT␊
580574
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
581-
// Cairo lang 2.5.3␊
582575
583576
#[starknet::contract]␊
584577
mod MyToken {␊
@@ -621,7 +614,6 @@ Generated by [AVA](https://avajs.dev).
621614
622615
`// SPDX-License-Identifier: MIT␊
623616
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
624-
// Cairo lang 2.5.3␊
625617
626618
#[starknet::contract]␊
627619
mod MyToken {␊
@@ -687,7 +679,6 @@ Generated by [AVA](https://avajs.dev).
687679
688680
`// SPDX-License-Identifier: MIT␊
689681
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
690-
// Cairo lang 2.5.3␊
691682
692683
const MINTER_ROLE: felt252 = selector!("MINTER_ROLE");␊
693684
@@ -768,7 +759,6 @@ Generated by [AVA](https://avajs.dev).
768759
769760
`// SPDX-License-Identifier: MIT␊
770761
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
771-
// Cairo lang 2.5.3␊
772762
773763
#[starknet::contract]␊
774764
mod MyToken {␊
@@ -936,7 +926,6 @@ Generated by [AVA](https://avajs.dev).
936926
937927
`// SPDX-License-Identifier: MIT␊
938928
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
939-
// Cairo lang 2.5.3␊
940929
941930
const PAUSER_ROLE: felt252 = selector!("PAUSER_ROLE");␊
942931
const MINTER_ROLE: felt252 = selector!("MINTER_ROLE");␊
-15 Bytes
Binary file not shown.

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Generated by [AVA](https://avajs.dev).
1010
1111
`// SPDX-License-Identifier: MIT␊
1212
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
13-
// Cairo lang 2.5.3␊
1413
1514
#[starknet::contract]␊
1615
mod MyToken {␊
@@ -63,7 +62,6 @@ Generated by [AVA](https://avajs.dev).
6362
6463
`// SPDX-License-Identifier: MIT␊
6564
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
66-
// Cairo lang 2.5.3␊
6765
6866
#[starknet::contract]␊
6967
mod MyToken {␊
@@ -128,7 +126,6 @@ Generated by [AVA](https://avajs.dev).
128126
129127
`// SPDX-License-Identifier: MIT␊
130128
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
131-
// Cairo lang 2.5.3␊
132129
133130
#[starknet::contract]␊
134131
mod MyToken {␊
@@ -311,7 +308,6 @@ Generated by [AVA](https://avajs.dev).
311308
312309
`// SPDX-License-Identifier: MIT␊
313310
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
314-
// Cairo lang 2.5.3␊
315311
316312
#[starknet::contract]␊
317313
mod MyToken {␊
@@ -405,7 +401,6 @@ Generated by [AVA](https://avajs.dev).
405401
406402
`// SPDX-License-Identifier: MIT␊
407403
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
408-
// Cairo lang 2.5.3␊
409404
410405
const MINTER_ROLE: felt252 = selector!("MINTER_ROLE");␊
411406
@@ -506,7 +501,6 @@ Generated by [AVA](https://avajs.dev).
506501
507502
`// SPDX-License-Identifier: MIT␊
508503
// Compatible with OpenZeppelin Contracts for Cairo ^0.9.0␊
509-
// Cairo lang 2.5.3␊
510504
511505
#[starknet::contract]␊
512506
mod MyToken {␊
-11 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)