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
cbe791d7df
api/message/msgpack/codec_test.go: fix tests.
2024-02-29 19:11:25 +01:00
212a8c892c
api/message/json/codec_test.go: fix tests.
2024-02-29 16:15:54 +01:00
700d7d0168
api/message/types.go: Adding FirstReceiver to ActionTrace
2024-02-29 14:41:56 +01:00
9143c1e06b
api/message/msgpack/codec_test.go: adding test for table delta messages.
2024-02-03 14:06:47 +01:00
bd742e678a
api/message/json/codec_test.go: add tests for table delta messages.
2024-02-03 13:40:25 +01:00
0b3b383977
Merge branch 'table-deltas'
2024-01-21 14:01:08 +01:00
b3961f4eec
api/message/types.go: Update TableDeltaRow
2024-01-21 13:56:18 +01:00
dc6dd6ae70
api/message/types.go: Adding TableDelta and TableDeltaRow structs
2024-01-21 13:56:18 +01:00
5b5b28669a
api/message/types.go: Adding RollbackMessage struct
2024-01-09 15:49:20 +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
9d2b621b27
api/message/msgpack/codec_test.go: Test ActionReceipt.
2023-05-26 15:11:59 +02:00
e2962c719b
api/message/json/codec_test.go: Test ActionReceipt.
2023-05-26 15:11:39 +02:00
7041f4328c
api/message/types.go: Adding ActionReceipt type
2023-05-26 15:11:06 +02:00
c34603325e
api/message/msgpack/codec_test.go: remove outcommented code.
2023-05-26 15:08:41 +02:00
47dda7a3f4
api/message/msgpack/codec_test.go: Adding test for TransactionTrace
2023-05-25 18:47:08 +02:00
3bf62d431a
api/message/msgpack/codec_test.go: minor fix.
2023-05-25 18:22:07 +02:00
ebadf4d833
api/message/json/codec_test.go: Test TransactionTrace
2023-05-25 18:20:58 +02:00
867f601bc5
api/message/types.go: adding TransactionTrace
2023-05-25 18:18:30 +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
af6d72946f
api/go.mod: wwitch github.com/shamaton/msgpack/v2 to github.com/ugorji/go/codec
2023-05-09 13:13:03 +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
ae6f3f11a9
api/message/types.go: Adding Blocknum and Timestamp to ActionTrace struct
2023-05-05 07:29:37 +02:00
df51060fcc
api/message/msgpack/codec_test.go: test for new fields in ActionTrace
2023-05-03 13:28:13 +02:00
668b3b62d8
api/message/types.go: Adding Except,Error and Return fields to ActionTrace
2023-05-03 13:28:13 +02:00
c8944ea18b
api/message/types.go: Adding Authorization field to ActionTrace
2023-04-26 15:00:25 +02:00
bd84a1c019
Generate new api/message/msgpack/msgpack.go
2023-04-26 11:42:34 +02:00
0e60e604bb
api/message/msgpack/codec.go: fix go:generate command
2023-04-26 11:41:29 +02:00
0650845a0c
api/message/types.go: Change ActionTrace.Data to a byte slice and provide GetData() function that unmarshalls.
...
Only the client code should care about the content. So just transmit it as
a byte slice containing json data.
2023-04-26 11:39:58 +02:00
2e8c228076
Adding api/message/msgpack
2023-04-25 16:58:31 +02:00
f3900bc262
api/message/types.go: add msgpack tags
2023-04-25 16:57:28 +02:00
3e8712c0c0
Adding api/message/json/codec.go
2023-04-24 16:06:56 +02:00
0d1b0f4310
Adding api/message/codec_manager.go to manager message codecs.
2023-04-24 16:06:23 +02:00
b221b0415a
Typo fix. should be Heartbeat and not Hearthbeat
2023-04-21 15:23:13 +02:00
102045e47e
rename transport to api
2023-04-19 09:52:29 +02:00