diff --git a/domain/consensus/processes/difficultymanager/difficultymanager_test.go b/domain/consensus/processes/difficultymanager/difficultymanager_test.go index 23082d2..88b5379 100644 --- a/domain/consensus/processes/difficultymanager/difficultymanager_test.go +++ b/domain/consensus/processes/difficultymanager/difficultymanager_test.go @@ -132,7 +132,7 @@ func TestDifficulty(t *testing.T) { case dagconfig.TestnetParams.Name: expectedBits = uint32(0x1e7f007a) case dagconfig.DevnetParams.Name: - expectedBits = uint32(0x1f4e54ab) + expectedBits = uint32(0x203f12d3) case dagconfig.MainnetParams.Name: expectedBits = uint32(0x2001f2ab) } diff --git a/domain/consensus/processes/pruningmanager/pruning_test.go b/domain/consensus/processes/pruningmanager/pruning_test.go index 86affc5..1427a45 100644 --- a/domain/consensus/processes/pruningmanager/pruning_test.go +++ b/domain/consensus/processes/pruningmanager/pruning_test.go @@ -39,7 +39,7 @@ func TestPruning(t *testing.T) { "dag-for-test-pruning.json": { dagconfig.MainnetParams.Name: "503", dagconfig.TestnetParams.Name: "503", - dagconfig.DevnetParams.Name: "503", + dagconfig.DevnetParams.Name: "502", dagconfig.SimnetParams.Name: "502", }, } diff --git a/domain/dagconfig/genesis.go b/domain/dagconfig/genesis.go index fbc652e..1b8a457 100644 --- a/domain/dagconfig/genesis.go +++ b/domain/dagconfig/genesis.go @@ -88,10 +88,10 @@ var devnetGenesisCoinbaseTx = transactionhelper.NewSubnetworkTransaction(0, // devGenesisHash is the hash of the first block in the block DAG for the development // network (genesis block). var devnetGenesisHash = externalapi.NewDomainHashFromByteArray(&[externalapi.DomainHashSize]byte{ - 0xAB, 0x08, 0x47, 0x48, 0x55, 0x48, 0xA7, 0x1D, - 0x8B, 0xE4, 0xCF, 0x22, 0x68, 0x2F, 0x96, 0xF2, - 0x71, 0x06, 0x8D, 0x46, 0xCB, 0x00, 0x17, 0xE5, - 0x61, 0x3E, 0x5F, 0x54, 0x01, 0xAC, 0x35, 0x0B, + 0x6C, 0x34, 0x89, 0xBF, 0xB5, 0x92, 0xCA, 0x0A, + 0x0C, 0x12, 0xED, 0xB7, 0xAD, 0x86, 0x2D, 0x62, + 0x27, 0x92, 0x3E, 0xC2, 0xD2, 0x77, 0x7E, 0x0D, + 0xFD, 0x93, 0xF3, 0xC5, 0xB8, 0xA5, 0x5C, 0x35, }) // devnetGenesisMerkleRoot is the hash of the first transaction in the genesis block @@ -113,7 +113,7 @@ var devnetGenesisBlock = externalapi.DomainBlock{ &externalapi.DomainHash{}, externalapi.NewDomainHashFromByteArray(muhash.EmptyMuHashHash.AsArray()), 1713884849877, - 525264379, // Prime number + 541034453, // Prime number 241421, // Silver ratio 0, 0, diff --git a/util/difficulty/difficulty_test.go b/util/difficulty/difficulty_test.go index b33d195..462b530 100644 --- a/util/difficulty/difficulty_test.go +++ b/util/difficulty/difficulty_test.go @@ -17,7 +17,7 @@ func TestGetHashrateString(t *testing.T) { var results = map[string]string{ dagconfig.MainnetParams.Name: "130 H/s", dagconfig.TestnetParams.Name: "131.15 KH/s", - dagconfig.DevnetParams.Name: "830 H/s", + dagconfig.DevnetParams.Name: "4 H/s", dagconfig.SimnetParams.Name: "2.47 KH/s", } testutils.ForAllNets(t, false, func(t *testing.T, consensusConfig *consensus.Config) {