From 0afd51510bceeefebdd858a85de77dec64412361 Mon Sep 17 00:00:00 2001 From: Aayush Date: Mon, 3 Apr 2023 14:05:45 -0400 Subject: [PATCH] fix: build: add CBDeliveryDelay to testground --- build/params_testground.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/params_testground.go b/build/params_testground.go index 17ea5a59b..4fea0394d 100644 --- a/build/params_testground.go +++ b/build/params_testground.go @@ -9,6 +9,7 @@ package build import ( "math/big" + "time" "github.com/ipfs/go-cid" @@ -135,3 +136,7 @@ const BootstrapPeerThreshold = 1 // ChainId defines the chain ID used in the Ethereum JSON-RPC endpoint. // As per https://github.com/ethereum-lists/chains const Eip155ChainId = 31415926 + +// Reducing the delivery delay for equivocation of +// consistent broadcast to just half a second. +var CBDeliveryDelay = 500 * time.Millisecond