Skip to content

Commit

Permalink
contracts: Update Celer MessageBus address for Sapphire Mainnet (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
CedarMist authored Jul 31, 2023
1 parent 38196f6 commit cc2d765
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/contracts/EthereumUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ library EthereumUtils {

secretKey = bytes32(randSeed);

(bytes memory pk, bytes memory tmp) = Sapphire.generateSigningKeyPair(
(bytes memory pk, ) = Sapphire.generateSigningKeyPair(
Sapphire.SigningAlg.Secp256k1PrehashedKeccak256,
randSeed
);
Expand Down
2 changes: 1 addition & 1 deletion contracts/contracts/opl/Endpoint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function _getChainConfig(uint256 _chainId)
return (0x940dAAbA3F713abFabD79CdD991466fe698CBe54, false);
if (_chainId == 0x5afe)
// sapphire
return (0x9Bb46D5100d2Db4608112026951c9C965b233f4D, false);
return (0x9B36f165baB9ebe611d491180418d8De4b8f3a1f, false);
if (_chainId == 0x5aff)
// sapphire testnet
return (0x9Bb46D5100d2Db4608112026951c9C965b233f4D, true);
Expand Down
2 changes: 1 addition & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oasisprotocol/sapphire-contracts",
"version": "0.2.3",
"version": "0.2.4",
"license": "Apache-2.0",
"description": "Solidity smart contract library for confidential contract development",
"homepage": "https://github.com/oasisprotocol/sapphire-paratime/tree/main/contracts",
Expand Down

0 comments on commit cc2d765

Please sign in to comment.