Closed theoreticalbts closed 6 years ago
Due to numerous bugs, the serializer doesn't yet work with the following simple transaction:
{ "ref_block_num":0x1234, "ref_block_prefix":0x56789abc, "expiration":"2018-01-03T12:00:00", "operations":[ ["transfer", {"from":"alice", "to":"bob", "amount":"7.625 STEEM", "memo":"transfer some tokens" }]], "extensions":[], "signatures":[] }
I will fix the specific bugs triggered by this test case:
str
ArgumentError
Serializer
static_variant
fields()
asset
signed_transaction
get_transaction_hex()
Due to numerous bugs, the serializer doesn't yet work with the following simple transaction:
I will fix the specific bugs triggered by this test case:
str
ArgumentError
exception class used throughoutSerializer
is not definedstatic_variant
does not serialize properlyfields()
uses too specific exception typeasset
isn't just another class, its JSON serialization is a special, special snowflakesigned_transaction
(that's where an extra zero byte in theget_transaction_hex()
serialization comes from)signed_transaction