aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@byzantine-lab.io>2019-06-19 19:26:30 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-09-17 16:57:30 +0800
commitce2828224362aad655adec7d190fd2f3adb33459 (patch)
tree0e6367c81a16ba39c5536b310a59411720295d33
parentd28bc17950188b8623211b26f623aab769c61a59 (diff)
downloadgo-tangerine-ce2828224362aad655adec7d190fd2f3adb33459.tar
go-tangerine-ce2828224362aad655adec7d190fd2f3adb33459.tar.gz
go-tangerine-ce2828224362aad655adec7d190fd2f3adb33459.tar.bz2
go-tangerine-ce2828224362aad655adec7d190fd2f3adb33459.tar.lz
go-tangerine-ce2828224362aad655adec7d190fd2f3adb33459.tar.xz
go-tangerine-ce2828224362aad655adec7d190fd2f3adb33459.tar.zst
go-tangerine-ce2828224362aad655adec7d190fd2f3adb33459.zip
params: update testnet dMoment
-rw-r--r--cmd/gtan/dao_test.go2
-rw-r--r--core/genesis_test.go2
-rw-r--r--params/config.go6
3 files changed, 5 insertions, 5 deletions
diff --git a/cmd/gtan/dao_test.go b/cmd/gtan/dao_test.go
index ba62a91de..800d43f41 100644
--- a/cmd/gtan/dao_test.go
+++ b/cmd/gtan/dao_test.go
@@ -77,7 +77,7 @@ var daoProForkGenesis = `{
}
}`
-var daoGenesisHash = common.HexToHash("0xa530369e97a85c4f3522bf5e89be851b00aac7c30080c4ca624ce7c4ff5c9a80")
+var daoGenesisHash = common.HexToHash("0x212688360e5160cae6fe6074a38b41cacddc65abdb65419e8783e250cebf65b1")
var daoGenesisForkBlock = big.NewInt(314)
// TestDAOForkBlockNewChain tests that the DAO hard-fork number and the nodes support/opposition is correctly
diff --git a/core/genesis_test.go b/core/genesis_test.go
index 826a42c22..8c2c5e99a 100644
--- a/core/genesis_test.go
+++ b/core/genesis_test.go
@@ -43,7 +43,7 @@ func TestDefaultGenesisBlock(t *testing.T) {
func TestSetupGenesis(t *testing.T) {
var (
- customghash = common.HexToHash("0x1f619d2e0f8293d83dad154ef95f6e09dcfdbe92b7f06f658d5dece20e5132e4")
+ customghash = common.HexToHash("0x5434fb7e64d951dd3934beb7566e7c8f5e71fab0ed3f3c7fffe2253f68f5596b")
customg = Genesis{
Config: &params.ChainConfig{HomesteadBlock: big.NewInt(3)},
Alloc: GenesisAlloc{
diff --git a/params/config.go b/params/config.go
index a7394fd0d..047325d12 100644
--- a/params/config.go
+++ b/params/config.go
@@ -26,8 +26,8 @@ import (
// Genesis hashes to enforce below configs on.
var (
- MainnetGenesisHash = common.HexToHash("0x7108ec505c66c3735053746697442050175db51753b3f8c721294b3ba15fa598")
- TestnetGenesisHash = common.HexToHash("0xa14765567d0e8b58a4090f9ade5804454aa53d50ef804b3ffd7ebe4904cd052d")
+ MainnetGenesisHash = common.HexToHash("0x2ab080a9ff5d0bbdcdc9e6938f4e17268b4bdd2be857cb522aa104e29e5a54b4")
+ TestnetGenesisHash = common.HexToHash("0x84892079e15a32aaf15d3acb21d714133d6db73e80a60fd98f527f67d3521bc4")
)
// TrustedCheckpoints associates each known checkpoint with the genesis hash of
@@ -86,7 +86,7 @@ var (
// TestnetChainConfig contains the chain parameters to run a node on the Taiwan test network.
TestnetChainConfig = &ChainConfig{
ChainID: big.NewInt(374),
- DMoment: 1560677600,
+ DMoment: 1560948200,
HomesteadBlock: big.NewInt(0),
DAOForkBlock: nil,
DAOForkSupport: true,