disabling cb delivery delay for sync tests

This commit is contained in:
Alfonso de la Rocha 2022-12-13 14:50:02 +01:00
parent d574d04075
commit 3988cc9b2c
No known key found for this signature in database
GPG Key ID: B7BEF4B895F2B535

View File

@ -45,6 +45,11 @@ func init() {
policy.SetSupportedProofTypes(abi.RegisteredSealProof_StackedDrg2KiBV1)
policy.SetConsensusMinerMinPower(abi.NewStoragePower(2048))
policy.SetMinVerifiedDealSize(abi.NewStoragePower(256))
// these tests assume really fast block times. disabling
// the consistent broadcast delay to avoid them from adding
// an unnecessary overhead.
build.CBDeliveryDelay = 2 * time.Millisecond
}
const source = 0