Closed bh2smith closed 6 years ago
Note that one might be tempted to try including inheriting from JSONEncoder as follow
from json import JSONEncoder
class Block(rlp.Serializable, JSONEncoder):
ETC...
but this doesn't seem to cut the mustard... Back to the drawing board
Added a fix for this. Needed to RLP encode the response before sending it to the client. Can you confirm fix is working?
Issue Type
Current Behavior
On call to
Client Returns;
Server returns;
Expected Behavior
Submit block transaction would be executed.
Steps to Reproduce
Suggested Fix
Perhaps we should provided explicit serialization of Block objects..?
Motivation for Change
Current implementation doesn't run as expected.