Skip to content

Commit

Permalink
🔖(2.3.0) Update version and CHANGELOG (#96)
Browse files Browse the repository at this point in the history
* ✏️  Upgrade solidity compiler version to 0.8.24

* ✏️  Upgrade hardhat versiont to 2.21.0

* ✏️  Update changelog

---------

Co-authored-by: Bruno Campos <bc@unicsoft.com>
  • Loading branch information
CamposBruno and Bruno Campos authored Mar 27, 2024
1 parent a483cda commit f6acd45
Show file tree
Hide file tree
Showing 41 changed files with 5,001 additions and 16,274 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.3.0]

### Changed
- Changed solidity compiler version to v0.8.24. Newer version of the compiler implements several gas and security related improvements. also compatible with latest version of @openzeppelin/contracts.
- Changed hardhat version to 2.21.0. This version of hardhat comes with ethers v6 which implements modern ES6 features, like ES2020 BigInt.

## [2.2.1]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion contracts/ClaimIssuer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "./interface/IClaimIssuer.sol";

Check warning on line 4 in contracts/ClaimIssuer.sol

View workflow job for this annotation

GitHub Actions / Lint (16.x)

global import of path ./interface/IClaimIssuer.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
import "./Identity.sol";

Check warning on line 5 in contracts/ClaimIssuer.sol

View workflow job for this annotation

GitHub Actions / Lint (16.x)

global import of path ./Identity.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Expand Down
2 changes: 1 addition & 1 deletion contracts/Identity.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "./interface/IIdentity.sol";
import "./interface/IClaimIssuer.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/Test.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

contract Test {} // solhint-disable-line
2 changes: 1 addition & 1 deletion contracts/_testContracts/VerifierUser.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* solhint-disable */

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "../verifiers/Verifier.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/factory/IIdFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

interface IIdFactory {

Expand Down
2 changes: 1 addition & 1 deletion contracts/factory/IdFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "../proxy/IdentityProxy.sol";

Check warning on line 4 in contracts/factory/IdFactory.sol

View workflow job for this annotation

GitHub Actions / Lint (16.x)

global import of path ../proxy/IdentityProxy.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
import "./IIdFactory.sol";

Check warning on line 5 in contracts/factory/IdFactory.sol

View workflow job for this annotation

GitHub Actions / Lint (16.x)

global import of path ./IIdFactory.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
Expand Down
2 changes: 1 addition & 1 deletion contracts/gateway/Gateway.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interface/IClaimIssuer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "./IIdentity.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/interface/IERC734.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

/**
* @dev interface of the ERC734 (Key Holder) standard as defined in the EIP.
Expand Down
2 changes: 1 addition & 1 deletion contracts/interface/IERC735.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

/**
* @dev interface of the ERC735 (Claim Holder) standard as defined in the EIP.
Expand Down
2 changes: 1 addition & 1 deletion contracts/interface/IIdentity.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "./IERC734.sol";
import "./IERC735.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/interface/IImplementationAuthority.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity 0.8.24;

interface IImplementationAuthority {

Expand Down
2 changes: 1 addition & 1 deletion contracts/proxy/IdentityProxy.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "../interface/IImplementationAuthority.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/proxy/ImplementationAuthority.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "../interface/IImplementationAuthority.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/storage/Storage.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;
import "./Structs.sol";

contract Storage is Structs {
Expand Down
2 changes: 1 addition & 1 deletion contracts/storage/Structs.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.17;
pragma solidity 0.8.24;

contract Structs {

Expand Down
2 changes: 1 addition & 1 deletion contracts/verifiers/Verifier.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity 0.8.24;

import "@openzeppelin/contracts/access/Ownable.sol";
import "../interface/IClaimIssuer.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/version/Version.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.17;
pragma solidity 0.8.24;

/**
* @dev Version contract gives the versioning information of the implementation contract
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import "./tasks/remove-key.task";
import "./tasks/revoke.task";

const config: HardhatUserConfig = {
solidity: "0.8.17",
solidity: "0.8.24",
networks: {
mumbai: {
url: 'https://rpc-mumbai.maticvigil.com/v1/9cd3d6ce21f0a25bb8f33504a1820d616f700d24',
Expand Down
Loading

0 comments on commit f6acd45

Please sign in to comment.