add disable-bound-validation option (#675)
* add disable-bound-validation option * fix test
This commit is contained in:
@@ -343,7 +343,9 @@ open class GenericUpstream(
|
||||
}
|
||||
detectSettings()
|
||||
|
||||
detectLowerBlock()
|
||||
if (!getOptions().disableBoundValidation) {
|
||||
detectLowerBlock()
|
||||
}
|
||||
|
||||
detectFinalization()
|
||||
}
|
||||
|
||||
@@ -636,7 +636,7 @@ class UpstreamsConfigReaderSpec extends Specification {
|
||||
def options = partialOptions.buildOptions()
|
||||
then:
|
||||
options == new ChainOptions.Options(
|
||||
false, false, 30, Duration.ofSeconds(60), null, true, 1, true, true, true, true, 1_000_000, false
|
||||
false, false, 30, Duration.ofSeconds(60), null, true, 1, true, true, true, true, 1_000_000, false, false
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user