Closed tuler closed 1 year ago
In the HTTP server running inside the Cartesi Machine, the machine is halted when there is no input to be processed. So, from the point of view inside the machine, no time passes between inputs. Outside of the machine, the request might time out. To avoid that, the host-runner returns 202.
The host-runner is responding 202 with
Content-Type: text/plain
and a string like "no rollup request available". This should be reflected in the API spec. Otherwise code generation tools don't handle it correctly.As far as I understand the real rollups http server doesn't return 202. Or at least I couldn't find it.