2b3dc35393
jsontime: skip aliases and use actual format and location
...
This is so weird. this works in tests but not when running the
application. I guess there is some weird global state race condition
going on because its used by antelope-go.
Should rewrite the jsontime api because I have forked it anyway.
2024-06-22 17:39:10 +02:00
5b02dfa53f
jsontime: use struct tags instead of setting default format.
...
Some other package (antelope-go in this case) also sets the default
format and therefore it clashes with our code.
2024-06-22 16:19:48 +02:00
212a8c892c
api/message/json/codec_test.go: fix tests.
2024-02-29 16:15:54 +01:00
bd742e678a
api/message/json/codec_test.go: add tests for table delta messages.
2024-02-03 13:40:25 +01:00
dc3e59ad23
api/message/json/codec.go: minor fix.
2024-01-07 14:33:46 +01:00
8ffd86daac
api/message: for codec implementations, define a function instead of global variables.
2024-01-07 14:32:00 +01:00
e2962c719b
api/message/json/codec_test.go: Test ActionReceipt.
2023-05-26 15:11:39 +02:00
ebadf4d833
api/message/json/codec_test.go: Test TransactionTrace
2023-05-25 18:20:58 +02:00
f925692354
api/message/types.go: Change ActionTrace.Data from []byte to interface{}
2023-05-09 16:46:12 +02:00
df840da128
api/message/json/codec.go: alias json_codec.Marshal/Unmarshal as encoder/decoder. so that implementation can change and tests uses the correct functions automatically.
2023-05-09 15:05:03 +02:00
12d2837218
api/message/json/codec.go: switch from github.com/liamylian/jsontime to github.com/eosswedenorg-go/jsontime
2023-05-09 14:58:58 +02:00
ba05d3d7de
api/message/types.go: remove ActionTrace.HexData
2023-05-08 17:07:01 +02:00
213daa1e46
api/message/json/codec.go: fix timestamps, skip "Z" (always UTC) and use 3 decimals for milliseconds.
2023-05-05 09:20:35 +02:00
1a75286240
Adding api/message/json/codec_test.go
2023-05-05 09:16:29 +02:00
3e8712c0c0
Adding api/message/json/codec.go
2023-04-24 16:06:56 +02:00