[go: up one dir, main page]

Stack overflow in Block_directory.read_partial_context

In file src/lib_shell/block_directory.ml, the read_partial_context function is not tail recursive. This seems to trigger stack overflows when RPCs return large lists. This problem was observed in particular for the raw/bytes/contracts RPC after the context flattening of MR !2433 (closed).