enable reth for eth_simulateV1 (#653)

This commit is contained in:
Andrey Bronin
2025-04-14 19:24:23 +03:00
committed by GitHub
parent d30f61bdc0
commit 8fa62a569d

View File

@@ -25,7 +25,7 @@ abstract class UpstreamRpcMethodsDetector(
private val availableRegexps =
listOf(
"missing value for required argument ([0-9]+)",
// "Invalid params", // todo: uncomment when reth node issue will be fixed
"Invalid params",
).map { s -> s.toRegex() }
open fun detectRpcMethods(): Mono<Map<String, Boolean>> = detectByMagicMethod().switchIfEmpty(detectByMethod())