From ac8bfe0d22dbd646816b1cdfcb632f5766ee8f73 Mon Sep 17 00:00:00 2001 From: Shrikant1212 Date: Fri, 20 May 2022 20:59:08 +0530 Subject: [PATCH 1/2] addresses update for skale-v2 staging --- addresses.json | 22 +++++++++++----------- core/contracts.go | 10 +++++----- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/addresses.json b/addresses.json index b5a2be08b..d68ee6d48 100644 --- a/addresses.json +++ b/addresses.json @@ -1,12 +1,12 @@ { - "Governance": "0xE77eb6AecBc5A8fC88EcDeAeA600a205220B89AC", - "BlockManager": "0xd53A336F07dd93Da46b709B3f3594039A5557867", - "CollectionManager": "0x5471A788c1D31CacAbeeEfA28dF2e0c6b279542C", - "StakeManager": "0xaa95236294661AB21E753AC68D816605A968DEc8", - "RewardManager": "0xA29d14Bbf9302cc22E32902b050EbdDa128D7895", - "VoteManager": "0xdd3baA3Ae01e14833e049aB7DDDD87f43DAddFcC", - "Delegator": "0x231e6F5D9479ea90aF03126793a61E7a7118b395", - "RAZOR": "0x254EEeac877b7EA3d79c17144d9f2611f28486db", - "StakedTokenFactory": "0x8a6b8d591ca37574fD9B5b5A05F8A3C04B7e81c4", - "RandomNoManager": "0x1241A7759e482f04048F12E4F645c8Cb38175817" -} \ No newline at end of file + "Governance": "0x671B8c42aF61c6E68d4a3343B6D0c7286eEEEc7D", + "BlockManager": "0x652bb9d32c9B87c715c286f63Fe82710a5174b8d", + "CollectionManager": "0x5dD27411F5D92F0FB668d4089Bf107A870071916", + "StakeManager": "0x826d3573d2E593A82c81Bd3A0667b0b01cAaE145", + "RewardManager": "0x3f1EF230A6Ffd59A73d3E657E7Ff705C72637725", + "VoteManager": "0x59062b0BF788eb37E7C2C74B6066C398a59774Df", + "Delegator": "0x4279543BD3a869DD51f09eccF35FDE6cedc0d814", + "RAZOR": "0x64116a089688127CBE339f3Cd796bE4Bb4FeD659", + "StakedTokenFactory": "0x32603B009Aa22b21D0d7eB81d9157e6F67760e8d", + "RandomNoManager": "0x735190f650Cbb8a29b3DcB66206A5e1375DA2a47" +} diff --git a/core/contracts.go b/core/contracts.go index 8d17794e1..cbc4edfdc 100644 --- a/core/contracts.go +++ b/core/contracts.go @@ -1,7 +1,7 @@ package core -var StakeManagerAddress = "0xaa95236294661AB21E753AC68D816605A968DEc8" -var RAZORAddress = "0x254EEeac877b7EA3d79c17144d9f2611f28486db" -var CollectionManagerAddress = "0x5471A788c1D31CacAbeeEfA28dF2e0c6b279542C" -var VoteManagerAddress = "0xdd3baA3Ae01e14833e049aB7DDDD87f43DAddFcC" -var BlockManagerAddress = "0xd53A336F07dd93Da46b709B3f3594039A5557867" +var StakeManagerAddress = "0x826d3573d2E593A82c81Bd3A0667b0b01cAaE145" +var RAZORAddress = "0x64116a089688127CBE339f3Cd796bE4Bb4FeD659" +var CollectionManagerAddress = "0x5dD27411F5D92F0FB668d4089Bf107A870071916" +var VoteManagerAddress = "0x59062b0BF788eb37E7C2C74B6066C398a59774Df" +var BlockManagerAddress = "0x652bb9d32c9B87c715c286f63Fe82710a5174b8d" From 7ab2e914c25ca6931c040c1712afd253ca05d79a Mon Sep 17 00:00:00 2001 From: Shrikant1212 Date: Sat, 21 May 2022 14:56:30 +0530 Subject: [PATCH 2/2] fix: update chainId for skale v2 --- core/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/constants.go b/core/constants.go index fc8888f50..77ddd5c6d 100644 --- a/core/constants.go +++ b/core/constants.go @@ -9,7 +9,7 @@ import ( var EpochLength int64 = 1800 var NumberOfStates int64 = 5 var StateBuffer uint64 = 5 -var ChainId = big.NewInt(0x17ac300421d1b) +var ChainId = big.NewInt(0x785B4B9847B9) var StateLength = uint64(EpochLength / NumberOfStates) var MaxRetries uint = 8 var NilHash = common.Hash{0x00}