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

contracts: Update Celer MessageBus address for Sapphire Mainnet #157

Merged
merged 4 commits into from Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/contracts/EthereumUtils.sol
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
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
@@ -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