Skip to content

Commit

Permalink
Merge pull request #39 from skalenetwork/release-1.10.0
Browse files Browse the repository at this point in the history
Release 1.10.0
  • Loading branch information
DimaStebaev authored Mar 20, 2024
2 parents 4901e22 + 3fc6f86 commit 42aff92
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 7 additions & 1 deletion contracts/INodes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ interface INodes {
uint16 nonce;
string domainName;
}


// struct for storing additional fields for Node
struct NodeExtras {
uint lastChangeIpTime;
}

/**
* @dev Emitted when a node is created.
*/
Expand Down Expand Up @@ -163,4 +168,5 @@ interface INodes {
function isNodeExist(address from, uint nodeIndex) external view returns (bool);
function isNodeActive(uint nodeIndex) external view returns (bool);
function isNodeLeaving(uint nodeIndex) external view returns (bool);
function getLastChangeIpTime(uint nodeIndex) external view returns (uint);
}
3 changes: 2 additions & 1 deletion contracts/ISkaleDKG.sol
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ interface ISkaleDKG {
bytes32 schainHash,
uint nodeIndex,
G2Point[] memory verificationVector,
KeyShare[] memory secretKeyContribution
KeyShare[] memory secretKeyContribution,
uint rotationCounter
)
external;
function complaintBadData(bytes32 schainHash, uint fromNodeIndex, uint toNodeIndex) external;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@skalenetwork/skale-manager-interfaces",
"version": "2.1.0",
"version": "3.0.0",
"description": "Definitions of interfaces needed to integrate with skale-manager smart contracts",
"main": "index.js",
"repository": "[email protected]:skalenetwork/skale-manager-interfaces.git",
Expand Down

0 comments on commit 42aff92

Please sign in to comment.