Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.8.0-rc.0 #799

Merged
merged 9 commits into from
Oct 26, 2023
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Edit `scarb.toml` and add:

```toml
[dependencies]
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.7.0" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.8.0-rc.0" }
```

Build the project to download it:
Expand Down Expand Up @@ -97,7 +97,7 @@ mod MyToken {

### Unsupported

[`DualCase` dispatchers](https://docs.openzeppelin.com/contracts-cairo/0.7.0/interfaces#dualcase_dispatchers) rely on Sierra's ability to catch a revert to resume execution. Currently, Starknet live chains (testnets and mainnet) don't implement that behavior. Starknet's testing framework does support it.
[`DualCase` dispatchers](https://docs.openzeppelin.com/contracts-cairo/0.8.0-rc.0/interfaces#dualcase_dispatchers) rely on Sierra's ability to catch a revert to resume execution. Currently, Starknet live chains (testnets and mainnet) don't implement that behavior. Starknet's testing framework does support it.

## Learn

Expand Down Expand Up @@ -147,8 +147,8 @@ git clone git@github.com:OpenZeppelin/cairo-contracts.git
$ cd cairo-contracts
$ scarb build

Compiling lib(openzeppelin) openzeppelin v0.7.0 (~/cairo-contracts/Scarb.toml)
Compiling starknet-contract(openzeppelin) openzeppelin v0.7.0 (~/cairo-contracts/Scarb.toml)
Compiling lib(openzeppelin) openzeppelin v0.8.0-rc.0 (~/cairo-contracts/Scarb.toml)
Compiling starknet-contract(openzeppelin) openzeppelin v0.8.0-rc.0 (~/cairo-contracts/Scarb.toml)
Finished release target(s) in 16 seconds
```

Expand Down
2 changes: 1 addition & 1 deletion Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ version = 1

[[package]]
name = "openzeppelin"
version = "0.7.0"
version = "0.8.0-rc.0"
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "openzeppelin"
version = "0.7.0"
version = "0.8.0-rc.0"
cairo-version = "2.3.0"
authors = ["OpenZeppelin Community <maintainers@openzeppelin.org>"]
description = "OpenZeppelin Contracts written in Cairo for StarkNet, a decentralized ZK Rollup"
Expand Down
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: contracts-cairo
title: Contracts for Cairo
version: 0.7.0
version: 0.8.0-rc.0
nav:
- modules/ROOT/nav.adoc
asciidoc:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/access.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:ownable-cairo: link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/access/ownable/ownable.cairo[Ownable]
:ownable-cairo: link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/access/ownable/ownable.cairo[Ownable]
:sn_keccak: https://docs.starknet.io/documentation/architecture_and_concepts/Cryptography/hash-functions/#starknet_keccak[sn_keccak]
:extensibility-pattern: xref:extensibility.adoc#the_pattern

Expand Down
6 changes: 3 additions & 3 deletions docs/modules/ROOT/pages/api/access.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ assigned each to multiple accounts.

[.contract]
[[Ownable]]
=== `++Ownable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/access/ownable/ownable.cairo[{github-icon},role=heading-link]
=== `++Ownable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/access/ownable/ownable.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::access::ownable::Ownable;
Expand Down Expand Up @@ -144,7 +144,7 @@ Emitted when the ownership is transferred.

[.contract]
[[IAccessControl]]
=== `++IAccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/05429e4fd34a250ce7a01450190c53275e5c1c0b/src/access/accesscontrol/interface.cairo#L10[{github-icon},role=heading-link]
=== `++IAccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/access/accesscontrol/interface.cairo[{github-icon},role=heading-link]

:grant_role: xref:#IAccessControl-grant_role[grant_role]
:revoke_role: xref:#IAccessControl-revoke_role[revoke_role]
Expand Down Expand Up @@ -277,7 +277,7 @@ Emitted when `account` is revoked `role`.

[.contract]
[[AccessControl]]
=== `++AccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/access/accesscontrol/accesscontrol.cairo[{github-icon},role=heading-link]
=== `++AccessControl++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/access/accesscontrol/accesscontrol.cairo[{github-icon},role=heading-link]

:assert_only_role: xref:#AccessControl-assert_only_role
:grant_role: xref:#AccessControl-grant_role[grant_role]
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/account.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Reference of interfaces, presets, and utilities related to account contracts.

[.contract]
[[ISRC6]]
=== `++ISRC6++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/account/interface.cairo#L12[{github-icon},role=heading-link]
=== `++ISRC6++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/account/interface.cairo#L12[{github-icon},role=heading-link]

```javascript
use openzeppelin::account::interface::ISRC6;
Expand Down Expand Up @@ -63,7 +63,7 @@ Returns the short string `'VALID'` if valid, otherwise it reverts.

[.contract]
[[Account]]
=== `++Account++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/account/account.cairo#L27[{github-icon},role=heading-link]
=== `++Account++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/account/account.cairo#L27[{github-icon},role=heading-link]

:OwnerAdded: xref:Account-OwnerAdded[OwnerAdded]
:OwnerRemoved: xref:Account-OwnerRemoved[OwnerRemoved]
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/erc20.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ TIP: For an overview of ERC20, read our {erc20-guide}.

[.contract]
[[IERC20]]
=== `++IERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/cairo-2/src/token/erc20/interface.cairo#L6-L19[{github-icon},role=heading-link]
=== `++IERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/token/erc20/interface.cairo[{github-icon},role=heading-link]

[.hljs-theme-dark]
```javascript
Expand Down Expand Up @@ -142,7 +142,7 @@ Emitted when the allowance of a `spender` for an `owner` is set.

[.contract]
[[ERC20]]
=== `++ERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/cairo-2/src/token/erc20/erc20.cairo[{github-icon},role=heading-link]
=== `++ERC20++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/token/erc20/erc20.cairo[{github-icon},role=heading-link]

[.hljs-theme-dark]
```javascript
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/introspection.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Reference of interfaces and utilities related to https://en.wikipedia.org/wiki/T

[.contract]
[[ISRC5]]
=== `++ISRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/introspection/interface.cairo#L7[{github-icon},role=heading-link]
=== `++ISRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/introspection/interface.cairo#L7[{github-icon},role=heading-link]

```javascript
use openzeppelin::introspection::interface::ISRC5;
Expand Down Expand Up @@ -44,7 +44,7 @@ on how to compute this ID.

[.contract]
[[SRC5]]
=== `++SRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/introspection/src5.cairo[{github-icon},role=heading-link]
=== `++SRC5++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/introspection/src5.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::introspection::src5::SRC5;
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/upgrades.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Reference of interfaces and utilities related to upgradeability.

[.contract]
[[IUpgradeable]]
=== `++IUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/upgrades/interface.cairo#L3[{github-icon},role=heading-link]
=== `++IUpgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/upgrades/interface.cairo#L3[{github-icon},role=heading-link]

:Upgraded: xref:Upgradeable-Upgraded[Upgraded]

Expand Down Expand Up @@ -38,7 +38,7 @@ NOTE: This function is usually protected by an xref:access.adoc[Access Control]

[.contract]
[[Upgradeable]]
=== `++Upgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/upgrades/upgradeable.cairo[{github-icon},role=heading-link]
=== `++Upgradeable++` link:https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/upgrades/upgradeable.cairo[{github-icon},role=heading-link]

```javascript
use openzeppelin::upgrades::upgradeable::Upgradeable;
Expand Down
6 changes: 3 additions & 3 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ before proceeding, and run the following command to check that the installation
----
$ scarb --version

scarb 0.7.0 (58cc88efb 2023-08-23)
cairo: 2.2.0 (https://crates.io/crates/cairo-lang-compiler/2.2.0)
scarb 2.3.0 (f306f9a91 2023-10-23)
cairo: 2.3.0 (https://crates.io/crates/cairo-lang-compiler/2.3.0)
sierra: 1.3.0
----

Expand Down Expand Up @@ -56,7 +56,7 @@ Install the library by declaring it as a dependency in the project's `Scarb.toml
[,text]
----
[dependencies]
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.7.0" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.8.0-rc.0" }
----

WARNING: Make sure the tag matches the target release.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/upgrades.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:contract_classes: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/contract-classes/[Contract Classes]
:class_hash: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/class-hash/[class hash]
:replace_class_syscall: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/system-calls-cairo1/#replace_class[replace_class]
:upgradeable: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.7.0/src/upgrades/upgradeable.cairo[Upgradeable]
:upgradeable: https://github.com/OpenZeppelin/cairo-contracts/blob/release-v0.8.0-rc.0/src/upgrades/upgradeable.cairo[Upgradeable]
:ownable: xref:access.adoc#ownership_and_ownable[Ownable]
:i_upgradeable: xref:api/upgrades.adoc#IUpgradeable[IUpgradeable]
:library_calls: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/system-calls-cairo1/#library_call[library calls]
Expand Down
2 changes: 1 addition & 1 deletion src/access/accesscontrol/accesscontrol.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (access/accesscontrol/accesscontrol.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (access/accesscontrol/accesscontrol.cairo)

/// # AccessControl Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/access/accesscontrol/dual_accesscontrol.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (access/accesscontrol/dual_accesscontrol.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (access/accesscontrol/dual_accesscontrol.cairo)

use openzeppelin::utils::Felt252TryIntoBool;
use openzeppelin::utils::UnwrapAndCast;
Expand Down
2 changes: 1 addition & 1 deletion src/access/accesscontrol/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (access/accesscontrol/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (access/accesscontrol/interface.cairo)

use starknet::ContractAddress;

Expand Down
2 changes: 1 addition & 1 deletion src/access/ownable/dual_ownable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (access/ownable/dual_ownable.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (access/ownable/dual_ownable.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/access/ownable/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (access/ownable/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (access/ownable/interface.cairo)

use starknet::ContractAddress;

Expand Down
2 changes: 1 addition & 1 deletion src/access/ownable/ownable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (access/ownable/ownable.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (access/ownable/ownable.cairo)

/// # Ownable Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/account/account.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (account/account.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (account/account.cairo)

#[starknet::interface]
trait IPublicKey<TState> {
Expand Down
2 changes: 1 addition & 1 deletion src/account/dual_account.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (account/dual_account.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (account/dual_account.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/account/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (account/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (account/interface.cairo)

use starknet::ContractAddress;
use starknet::account::Call;
Expand Down
2 changes: 1 addition & 1 deletion src/introspection/dual_src5.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (introspection/dual_src5.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (introspection/dual_src5.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/introspection/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (introspection/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (introspection/interface.cairo)

const ISRC5_ID: felt252 = 0x3f918d17e5ee77373b56385708f855659a07f75997f365cf87748628532a055;

Expand Down
2 changes: 1 addition & 1 deletion src/introspection/src5.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (introspection/src5.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (introspection/src5.cairo)

/// # SRC5 Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/security/initializable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (security/initializable.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (security/initializable.cairo)

/// # Initializable Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/security/pausable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (security/pausable.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (security/pausable.cairo)

#[starknet::interface]
trait IPausable<TState> {
Expand Down
2 changes: 1 addition & 1 deletion src/security/reentrancyguard.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (security/reentrancyguard.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (security/reentrancyguard.cairo)

/// # ReentrancyGuard Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/token/erc20/dual20.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (token/erc20/dual20.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (token/erc20/dual20.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/token/erc20/erc20.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! SPDX-License-Identifier: MIT
//! OpenZeppelin Contracts for Cairo v0.7.0 (token/erc20/erc20.cairo)
//! OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (token/erc20/erc20.cairo)
//!
//! # ERC20 Contract and Implementation
//!
Expand Down
2 changes: 1 addition & 1 deletion src/token/erc20/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (token/erc20/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (token/erc20/interface.cairo)

use starknet::ContractAddress;

Expand Down
2 changes: 1 addition & 1 deletion src/token/erc721/dual721.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (token/erc721/dual721.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (token/erc721/dual721.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/token/erc721/dual721_receiver.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (token/erc721/dual721_receiver.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (token/erc721/dual721_receiver.cairo)

use openzeppelin::utils::UnwrapAndCast;
use openzeppelin::utils::selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/token/erc721/erc721.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (token/erc721/erc721.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (token/erc721/erc721.cairo)

#[starknet::contract]
mod ERC721 {
Expand Down
2 changes: 1 addition & 1 deletion src/token/erc721/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (token/erc721/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (token/erc721/interface.cairo)

use starknet::ContractAddress;

Expand Down
2 changes: 1 addition & 1 deletion src/upgrades/interface.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (upgrades/interface.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (upgrades/interface.cairo)

use starknet::ClassHash;

Expand Down
2 changes: 1 addition & 1 deletion src/upgrades/upgradeable.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (upgrades/upgradeable.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (upgrades/upgradeable.cairo)

/// # Upgradeable Component
///
Expand Down
2 changes: 1 addition & 1 deletion src/utils.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (utils.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (utils.cairo)

mod constants;
mod selectors;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (utils/constants.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (utils/constants.cairo)

//
// Interface ids
Expand Down
2 changes: 1 addition & 1 deletion src/utils/selectors.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (utils/selectors.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (utils/selectors.cairo)

//
// AccessControl
Expand Down
2 changes: 1 addition & 1 deletion src/utils/serde.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (utils/serde.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (utils/serde.cairo)

trait SerializedAppend<T> {
fn append_serde(ref self: Array<felt252>, value: T);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/unwrap_and_cast.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts for Cairo v0.7.0 (utils/unwrap_and_cast.cairo)
// OpenZeppelin Contracts for Cairo v0.8.0-rc.0 (utils/unwrap_and_cast.cairo)

use openzeppelin::utils::Felt252TryIntoBool;
use starknet::ContractAddress;
Expand Down