-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Scilla compatible with Zilliqa 2 #1249
Conversation
* We add another binary which exposes the `scilla-server` JSON-RPC interface over HTTP. * The state IPC calls now make requests over HTTP, rather than via a unix domain socket. Note that this is a breaking change, meaning this version of Scilla will NOT work with Zilliqa 1. * All bytes in IPC calls are encoded into base64. Previously, we would include invalid UTF-8 strings in JSON-RPC requests, which resulted in invalid JSON.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me :-)
@@ -119,9 +120,9 @@ FROM ubuntu:22.04 | |||
|
|||
RUN apt-get update -y \ | |||
&& apt-get install -y build-essential \ | |||
libev-dev \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh no! libevent :-p
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of the dependencies needed it - I didn't dig any further than that. If its a concern I can? 🤷♂️
let response = Caml.input_line ic in | ||
Core_unix.close socket; | ||
DebugMessage.plog (Printf.sprintf "Response: %s\n" response); | ||
print_endline (Printf.sprintf "Sending: %s\n" msg_buf); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this conditional? The more we print, the slower stuff gets :-(
scilla-server
JSON-RPC interface over HTTP.