Closed om26er closed 4 years ago
I worked around that here https://github.com/crossbario/crossbarfx/pull/654/files#diff-49f65beb5cba00592164fba27d21ef7dR2033 (WONT BE LANDING)
the bug is: in marshal
https://github.com/crossbario/cfxdb/blob/7ebe24a9415229ea6d073665b012dad553b1b0cd/cfxdb/xbrmm/channel.py#L208 we should pack the big int as a binary like we (correctly) do here https://github.com/crossbario/cfxdb/blob/master/cfxdb/xbrmm/channel.py#L203
the bug is: in
marshal
oops, I am an idiot, seems that was a one liner ;-)
Currently the
close_balance
https://github.com/crossbario/cfxdb/blob/master/cfxdb/xbrmm/channel.py#L512 tries to return an integer value. msgpack is not able to serialize that value. It wouldn't be an issue if we were using CBOR everywhere, but due to https://github.com/crossbario/autobahn-js/issues/466 we are currently using MsgPackSerializer in Planet and Markets UI.The other option would be: I fix CBOR in ABJS once and for all ;-)