From 9949ef02715079feb943e1254b1071da2826494b Mon Sep 17 00:00:00 2001 From: Yashk767 <76935991+Yashk767@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:42:24 +0530 Subject: [PATCH] hotfix: updated mainnet addresses to 7.5 minute epoch contract addresses (#1248) * chore: updated mainnet contract addresses to 7.5 min epoch contract addresses * chore: updated razor-network/contracts npm version to v2.0.3 --- addresses/mainnet.json | 18 +++++++++--------- core/contracts.go | 8 ++++---- package-lock.json | 8 ++++---- package.json | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/addresses/mainnet.json b/addresses/mainnet.json index 8fc56366..bcfa1758 100644 --- a/addresses/mainnet.json +++ b/addresses/mainnet.json @@ -1,12 +1,12 @@ { - "Governance": "0x4a33c6f8CEc5a8D8A5Dca2ec43bc0f78f132d31b", - "BlockManager": "0x2B28f0C3c74ADf9c5C6B3e1a998Ed37BDfF64f53", - "CollectionManager": "0xFe8627C79E85447c3ea643F388613D5E69C8Ca4a", - "StakeManager": "0xC5d2795324B40475F99739017DeA9eD946008006", - "RewardManager": "0x161F55f7019B67D24E05D0f018cc7f9ba2cdFC22", - "VoteManager": "0xeDA9a9c1F7E36cB2F90f902dF06acE880EC18e83", - "Delegator": "0x7e325b078Cee5De7795672EE59b7Cd7DF4e7a79b", + "Governance": "0xBFF76e9E6B394e6945ef92C686444Ee4Ed5f1216", + "BlockManager": "0xEa74913E6Ed2dce4c89c89F5A328b507AfD86c0e", + "CollectionManager": "0x389B9dCe6819735059d23bDdadCB91a6d89eFE77", + "StakeManager": "0xd492408e4901CF658c7874285984F6D5Db648D1E", + "RewardManager": "0xc9F3fc25B57B7F954A5e051b0f81CDF7A83dB610", + "VoteManager": "0xa1f4Ff01bc744Db0aF31360f85D35366c7CfBA9F", + "Delegator": "0x66468f0FD37c3A0f5EaFA4cbDD0552ef9FbE7DAB", "RAZOR": "0xCA46B70cA3c510Ce9D0c43D25817032e2F5354c0", - "StakedTokenFactory": "0x24f11293993f71CAcA17bD182F3351E5c46910c5", - "RandomNoManager": "0x59AE1bE01C74ABCBb4AE0c24CCF9C30d7f638A0F" + "StakedTokenFactory": "0x75f3E9b560BcF36Ae5fB9E9a218f8e0AAfa88446", + "RandomNoManager": "0xF7c2F6362Cd8e3a7ec1CCa368d84799F7C49A609" } \ No newline at end of file diff --git a/core/contracts.go b/core/contracts.go index c6132e4b..3730acc5 100644 --- a/core/contracts.go +++ b/core/contracts.go @@ -1,7 +1,7 @@ package core -var StakeManagerAddress = "0xC5d2795324B40475F99739017DeA9eD946008006" +var StakeManagerAddress = "0xd492408e4901CF658c7874285984F6D5Db648D1E" var RAZORAddress = "0xCA46B70cA3c510Ce9D0c43D25817032e2F5354c0" -var CollectionManagerAddress = "0xFe8627C79E85447c3ea643F388613D5E69C8Ca4a" -var VoteManagerAddress = "0xeDA9a9c1F7E36cB2F90f902dF06acE880EC18e83" -var BlockManagerAddress = "0x2B28f0C3c74ADf9c5C6B3e1a998Ed37BDfF64f53" +var CollectionManagerAddress = "0x389B9dCe6819735059d23bDdadCB91a6d89eFE77" +var VoteManagerAddress = "0xa1f4Ff01bc744Db0aF31360f85D35366c7CfBA9F" +var BlockManagerAddress = "0xEa74913E6Ed2dce4c89c89F5A328b507AfD86c0e" diff --git a/package-lock.json b/package-lock.json index e387fe20..e973c75c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "v2.0.0", "license": "ISC", "dependencies": { - "@razor-network/contracts": "v2.0.2" + "@razor-network/contracts": "v2.0.3" } }, "node_modules/@babel/code-frame": { @@ -1279,9 +1279,9 @@ } }, "node_modules/@razor-network/contracts": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@razor-network/contracts/-/contracts-2.0.2.tgz", - "integrity": "sha512-+zUvHy1j8fXMawkPG97JwiTA7IgqVnxL1dSM+M8yNj3uYvdbF2Igim49HCleace/ojMW16SKVOS7BwpaIdf9TA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@razor-network/contracts/-/contracts-2.0.3.tgz", + "integrity": "sha512-PayPtXZjJY13T5+kAE8L3oSPq9320+NZYTYq4XfSBrIngFzZe8thmfv6iidHwJmXKRho35E2XQmH7EsHvIYJGA==", "hasInstallScript": true, "dependencies": { "@openzeppelin/contracts": "4.7.3", diff --git a/package.json b/package.json index 0d87de2a..ca6b261a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/razor-network/razor-go#readme", "dependencies": { - "@razor-network/contracts": "v2.0.2" + "@razor-network/contracts": "v2.0.3" } } \ No newline at end of file