From c4a493a5c8a2e60dca71a482e8a7031948956dbb Mon Sep 17 00:00:00 2001 From: darlzan Date: Mon, 27 Jun 2022 11:19:00 +0800 Subject: [PATCH] update hard-fork information, update version for release --- consensus/chaos/systemcontract/hardfork_gravitation.go | 8 ++++---- params/config.go | 4 +++- params/version.go | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/consensus/chaos/systemcontract/hardfork_gravitation.go b/consensus/chaos/systemcontract/hardfork_gravitation.go index 7eae95e3b..4e8b7a09f 100644 --- a/consensus/chaos/systemcontract/hardfork_gravitation.go +++ b/consensus/chaos/systemcontract/hardfork_gravitation.go @@ -27,11 +27,11 @@ import ( ) var ( - addressListAdmin = common.HexToAddress("0x") - addressListAdminTestnet = common.HexToAddress("0x") + addressListAdmin = common.HexToAddress("0x6f326b326fea7d1786e45ff25adb67c8532b5234") + addressListAdminTestnet = common.HexToAddress("0x148c4f33de145c11bdcfbb0f188dfc8fa75d3568") - onChainDaoAdmin = common.HexToAddress("0x") - onChainDaoAdminTestnet = common.HexToAddress("0x") + onChainDaoAdmin = common.HexToAddress("0x93b54cbed48d92fb891ded0d02336dd1e2faa627") + onChainDaoAdminTestnet = common.HexToAddress("0x91e8bafe89c485645beed0c26fabc79a98a0ce2e") AdminDevnet common.Address ) diff --git a/params/config.go b/params/config.go index f951460de..7ea561069 100644 --- a/params/config.go +++ b/params/config.go @@ -57,6 +57,7 @@ var ( BerlinBlock: big.NewInt(0), LondonBlock: big.NewInt(0), HeliocentrismBlock: big.NewInt(0), + GravitationBlock: big.NewInt(829915), Chaos: &ChaosConfig{ Period: 3, Epoch: 200, @@ -81,7 +82,8 @@ var ( MuirGlacierBlock: nil, BerlinBlock: big.NewInt(0), LondonBlock: big.NewInt(0), - HeliocentrismBlock: big.NewInt(10000000), // TODO + HeliocentrismBlock: big.NewInt(1404110), + GravitationBlock: big.NewInt(1404110), Chaos: &ChaosConfig{ Period: 3, Epoch: 200, diff --git a/params/version.go b/params/version.go index dc5608706..66f437df2 100644 --- a/params/version.go +++ b/params/version.go @@ -22,8 +22,8 @@ import ( const ( VersionMajor = 1 // Major version component of the current release - VersionMinor = 0 // Minor version component of the current release - VersionPatch = 1 // Patch version component of the current release + VersionMinor = 1 // Minor version component of the current release + VersionPatch = 0 // Patch version component of the current release VersionMeta = "stable" // Version metadata to append to the version string )