Skip to content

Commit a1bd352

Browse files
authored
Merge pull request #40 from onchain-id/features/1.4.0
Features/1.4.0
2 parents b6c1146 + d9b83a9 commit a1bd352

9 files changed

+584
-684
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.4.0] - 2021-01-26
8+
### Updated
9+
- Remove constructor's visibility
10+
711
## [1.3.0] - 2021-01-21
812
### Added
913
- Ownable 0.8.0

contracts/ClaimIssuer.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "./Identity.sol";
77
contract ClaimIssuer is IClaimIssuer, Identity {
88
mapping (bytes => bool) public revokedClaims;
99

10-
constructor(address initialManagementKey) public Identity(initialManagementKey, false) {}
10+
constructor(address initialManagementKey) Identity(initialManagementKey, false) {}
1111

1212
/**
1313
* @dev Revoke a claim previously issued, the claim is no longer considered as valid after revocation.

contracts/Identity.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ contract Identity is Storage, IIdentity, Version {
1313
bool private initialized = false;
1414
bool private canInteract = true;
1515

16-
constructor(address initialManagementKey, bool _isLibrary) public {
16+
constructor(address initialManagementKey, bool _isLibrary) {
1717
canInteract = !_isLibrary;
1818

1919
if (canInteract) {

contracts/proxy/IdentityProxy.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "../interface/IImplementationAuthority.sol";
77
contract IdentityProxy {
88
address public implementationAuthority;
99

10-
constructor(address _implementationAuthority, address initialManagementKey) public {
10+
constructor(address _implementationAuthority, address initialManagementKey) {
1111
implementationAuthority = _implementationAuthority;
1212

1313
address logic = IImplementationAuthority(implementationAuthority).getImplementation();

contracts/proxy/ImplementationAuthority.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ contract ImplementationAuthority is IImplementationAuthority, Ownable {
1111

1212
address implementation;
1313

14-
constructor(address _implementation) public {
14+
constructor(address _implementation) {
1515
implementation = _implementation;
1616
emit UpdatedImplementation(_implementation);
1717
}

contracts/version/Version.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ contract Version {
1010
* @dev Returns the string of the current version.
1111
*/
1212
function version() public pure returns (string memory) {
13-
// version 1.3.0
14-
return "1.3.0";
13+
// version 1.4.0
14+
return "1.4.0";
1515
}
1616
}

0 commit comments

Comments
 (0)