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

v2.2.2 #103

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
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.2.2]

### Updated
- changed solidity version from fixed to flexible (adding ^ before version) to allow using other compilation settings on contracts importing the interfaces

## [2.2.1]

### Changed
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.17;

interface IIdFactory {

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.17;

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.17;

/**
* @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.17;

/**
* @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.17;

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.17;

interface IImplementationAuthority {

Expand Down
5 changes: 3 additions & 2 deletions contracts/version/Version.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ contract Version {
* @dev Returns the string of the current version.
*/
function version() external pure returns (string memory) {
// version 2.2.0
return "2.2.1";
// version 2.2.2
return "2.2.2";

}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onchain-id/solidity",
"version": "2.2.1",
"version": "2.2.2-beta2",
"description": "EVM solidity smart contracts for Blockchain OnchainID identities.",
"files": [
"artifacts",
Expand Down
3 changes: 1 addition & 2 deletions test/identities/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ describe('Identity', () => {

it('should return the version of the implementation', async () => {
const {identityImplementation} = await loadFixture(deployIdentityFixture);

expect(await identityImplementation.version()).to.equal('2.2.1');
expect(await identityImplementation.version()).to.equal('2.2.2');
});
});
Loading