increase suspension threshold to 300.
This commit is contained in:
parent
58f348cb7f
commit
6a48fbbc11
@ -57,7 +57,7 @@ type MakeFullDealParams struct {
|
|||||||
// failed: exit 16, reason: Provider collateral out of bounds. (RetCode=16)
|
// failed: exit 16, reason: Provider collateral out of bounds. (RetCode=16)
|
||||||
//
|
//
|
||||||
// Enabling this will suspend deal-making until the network has reached a
|
// Enabling this will suspend deal-making until the network has reached a
|
||||||
// height of 150.
|
// height of 300.
|
||||||
SuspendUntilCryptoeconStable bool
|
SuspendUntilCryptoeconStable bool
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ func (dh *DealHarness) MakeOnlineDeal(ctx context.Context, params MakeFullDealPa
|
|||||||
|
|
||||||
if params.SuspendUntilCryptoeconStable {
|
if params.SuspendUntilCryptoeconStable {
|
||||||
dh.t.Logf("deal-making suspending until cryptecon parameters have stabilised")
|
dh.t.Logf("deal-making suspending until cryptecon parameters have stabilised")
|
||||||
ts := dh.client.WaitTillChain(ctx, HeightAtLeast(150))
|
ts := dh.client.WaitTillChain(ctx, HeightAtLeast(300))
|
||||||
dh.t.Logf("deal-making continuing; current height is %d", ts.Height())
|
dh.t.Logf("deal-making continuing; current height is %d", ts.Height())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user