Skip to content

Commit

Permalink
Merge pull request #1267 from skalenetwork/enhancement/fix-interfaces
Browse files Browse the repository at this point in the history
Add interfaces
  • Loading branch information
yavrsky authored Sep 5, 2022
2 parents 453f0ed + 6ffac67 commit 08ed0cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion proxy/contracts/MessageProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ abstract contract MessageProxy is AccessControlEnumerableUpgradeable, IMessagePr
/**
* @dev Should return block number of the last message transferred to schain
*/
function getLastOutgoingMessageBlockId(string memory targetSchainName) external view returns (uint) {
function getLastOutgoingMessageBlockId(string memory targetSchainName) external view override returns (uint) {
bytes32 dstChainHash = keccak256(abi.encodePacked(targetSchainName));
require(connectedChains[dstChainHash].inited, "Destination chain is not initialized");
return connectedChains[dstChainHash].lastOutgoingMessageBlockId;
Expand Down
2 changes: 1 addition & 1 deletion proxy/contracts/mainnet/Twin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ abstract contract Twin is SkaleManagerClient, ITwin {
messageProxy = newMessageProxy;
}

function getSchainContract(bytes32 schainHash) public view returns (address) {
function getSchainContract(bytes32 schainHash) public override view returns (address) {
require(
schainLinks[schainHash] != address(0),
"Destination contract must be defined"
Expand Down
2 changes: 1 addition & 1 deletion proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@openzeppelin/contracts-upgradeable": "^4.7.1",
"@openzeppelin/hardhat-upgrades": "^1.9.0",
"@skalenetwork/etherbase-interfaces": "^0.0.1-develop.20",
"@skalenetwork/ima-interfaces": "1.0.0-develop.20",
"@skalenetwork/ima-interfaces": "1.0.0-develop.22",
"@skalenetwork/skale-manager-interfaces": "1.0.0",
"axios": "^0.21.4",
"dotenv": "^10.0.0",
Expand Down
8 changes: 4 additions & 4 deletions proxy/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -757,10 +757,10 @@
resolved "https://registry.yarnpkg.com/@skalenetwork/etherbase-interfaces/-/etherbase-interfaces-0.0.1-develop.20.tgz#33f61e18d695fd47063aa39dce4df335d26b9528"
integrity sha512-j3xnuQtOtjvjAoUMJgSUFxRa9/Egkg1RyA8r6PjcEb33VksE4LWLBy0PNFUFehLZv48595JROTcViGeXXwg5HQ==

"@skalenetwork/[email protected].20":
version "1.0.0-develop.20"
resolved "https://registry.yarnpkg.com/@skalenetwork/ima-interfaces/-/ima-interfaces-1.0.0-develop.20.tgz#e4ae92f9832c08d289690f080b22363fa8f3a339"
integrity sha512-OV6lHSg/UiezfLHM/STawOlu2P0IxAXXVL0LilyunuOAtSg3lLfRRyTJKD3D+JePfhgIc25B8DUxJiRyQg4UIg==
"@skalenetwork/[email protected].22":
version "1.0.0-develop.22"
resolved "https://registry.yarnpkg.com/@skalenetwork/ima-interfaces/-/ima-interfaces-1.0.0-develop.22.tgz#ffbdd626840669634b555782c33ef976c27a79a2"
integrity sha512-sdtfJJN0QIWnmESY56RV0L6EO0YsNaRp2OAXwCNe7WUnYz9J9xB6aoEsFww0nA+tlIQz8jYi5u23QhKi97E/xQ==
dependencies:
"@skalenetwork/skale-manager-interfaces" "^0.1.2"

Expand Down

0 comments on commit 08ed0cc

Please sign in to comment.