From 34f82ad7b1ff6123a16f53d7742c07e9762df600 Mon Sep 17 00:00:00 2001 From: Nguyen Ba Tam Date: Thu, 9 Aug 2018 16:34:14 +0700 Subject: [PATCH] add params.AllCliqueProtocolChanges for consensus/clique/snapshot_test.go --- params/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/params/config.go b/params/config.go index 9eabf8bb84..3ef9090ca2 100644 --- a/params/config.go +++ b/params/config.go @@ -90,7 +90,7 @@ var ( // This configuration is intentionally not using keyed fields to force anyone // adding flags to the config to also have to set these fields. AllPosvProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, nil,nil, &PosvConfig{Period: 0, Epoch: 30000}} - + AllCliqueProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, nil, &CliqueConfig{Period: 0, Epoch: 30000},nil} TestChainConfig = &ChainConfig{big.NewInt(1), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), nil, new(EthashConfig), nil,nil} TestRules = TestChainConfig.Rules(new(big.Int)) )