erigon bug detector (#683)

This commit is contained in:
Vyacheslav
2025-07-14 16:51:43 +02:00
committed by GitHub
parent c025cbd840
commit b940ce9efa
5 changed files with 96 additions and 2 deletions

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, false, 30, Duration.ofSeconds(60), null, true, 1, true, true, true, true, 1_000_000, false, false, true
)
}
}

View File

@@ -210,7 +210,7 @@ class GenericRpcHeadTest {
val upstream = mock<DefaultUpstream> {
on { getIngressReader() } doReturn reader
on { getChain() } doReturn Chain.ETHEREUM__MAINNET
on { getOptions() } doReturn ChainOptions.PartialOptions().buildOptions()
on { getOptions() } doReturn ChainOptions.PartialOptions().apply { this.validateErigonBug = false }.buildOptions()
}
val head = GenericRpcHead(
reader,