mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-13 16:14:50 +00:00
704fde01e8
In this commit, core/types's types learn how to encode and decode themselves as JSON. The encoding is very similar to what the RPC API uses. The RPC API is missing some output fields (e.g. transaction signature values) which will be added to the API in a later commit. Some fields that the API generates are ignored by the decoder methods here.