Merge pull request #10613 from filecoin-project/asr/fix-testground

fix: build: add CBDeliveryDelay to testground
This commit is contained in:
Aayush Rajasekaran 2023-04-05 12:04:51 -04:00 committed by GitHub
commit 9d44c88cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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