ajsutton commented on issue #448: URL: https://github.com/apache/incubator-tuweni/issues/448#issuecomment-1323075951
It largely depends on the requirements for serialisation. In RLP a UInt64 of 0 is actually a byte string (because RLP doesn't have numbers) so is serialised as `0x`. In JSON-RPC Quantities trim leading zeros _except_ for the zero value so 0 is represented as `0x0`. So there's isn't really one "right" answer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tuweni.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tuweni.apache.org For additional commands, e-mail: dev-h...@tuweni.apache.org