From 23714b346a9d32e8bfcc53c119ccaadd937c92ea Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Tue, 26 Mar 2019 11:16:22 +0800 Subject: core: set extended round block reward to zero (#298) To discourage DKG set from prolonging the round indefinitely, we set the block reward of the extended round to 0. The gas fee is send to the DEXON governance owner for safe keeping and later used by the foundation. --- eth/tracers/tracers_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'eth/tracers') diff --git a/eth/tracers/tracers_test.go b/eth/tracers/tracers_test.go index 2d6b0023b..1436cc67f 100644 --- a/eth/tracers/tracers_test.go +++ b/eth/tracers/tracers_test.go @@ -180,6 +180,7 @@ func TestPrestateTracerCreate2(t *testing.T) { t.Fatalf("failed to prepare transaction for tracing: %v", err) } st := core.NewStateTransition(evm, msg, new(core.GasPool).AddGas(tx.Gas())) + core.TestingMode = true if _, _, _, err = st.TransitionDb(); err != nil { t.Fatalf("failed to execute transaction: %v", err) } -- cgit v1.2.3