add disable-bound-validation option (#675)

* add disable-bound-validation option

* fix test
This commit is contained in:
Anton
2025-06-18 11:25:41 +03:00
committed by GitHub
parent 573001d49a
commit d55c0b8b32
4 changed files with 11 additions and 2 deletions

View File

@@ -343,7 +343,9 @@ open class GenericUpstream(
}
detectSettings()
detectLowerBlock()
if (!getOptions().disableBoundValidation) {
detectLowerBlock()
}
detectFinalization()
}

View File

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