rpcpool / yellowstone-grpc

solana geyser grpc service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unreachable code: ReplicaBlockInfoVersions::V0_0_2 is not supported

musitdev opened this issue · comments

On Solana 1.6.14 and 1.16.17 using the plugin tagged version 1.9.0+solana.1.16.14 and 1.10.0+solana.1.16.17 to build, I have this panic during the start of the validator:

thread '<unnamed>' panicked at 'internal error: entered unreachable code: ReplicaBlockInfoVersions::V0_0_2 is not supported', yellowstone-grpc-geyser/src/plugin.rs:235:21
stack backtrace:
[   0:     0x7f60fe96776a - std::backtrace_rs::backtrace::libunwind::trace::ha9053a9a07ca49cb
                               at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f60fe96776a - std::backtrace_rs::backtrace::trace_unsynchronized::h9c2852a457ad564e
                               at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5

If I use the Solana 1.6.6 with an older version of the plugin. Everything is ok.
I've looked at the line of code that break and in all version it's the same code.
I've tested starting with an empty ledger, I have the same issue.
To compile, I use the same compiler version between Solana Validator and the grpc plugin.