ipfs-cluster/api
Hector Sanjuan 93e2cca49b Fix state deserialization
The pin objects now include an Origin field which was set to
multiaddr.Multiaddr.

This type is an interface and has no idea how to deserialize itself. As a
result, an state json export cannot be deseralized.

We had already added a wrapper Multiaddr type to handle these issues. I
believe this fix does not affect anything else other than fixing
UnmarshalJSON. PB types are deserialized by hand and it should not make a
difference.
2021-12-13 17:31:18 +01:00
..
common Changes pertaining to go-libp2p v0.16.0 2021-11-30 06:25:15 +01:00
ipfsproxy Fix #1366: IPFS Proxy API serializes wrong error types 2021-06-28 22:42:47 +02:00
pb Add a timestamp to Pins 2021-10-20 16:55:57 +02:00
rest Fix rest client tests: do not use QUIC 2021-11-30 07:05:35 +01:00
add_test.go Fix #1358: Set RawLeaves to true when unset and CidVersion=1 (#1359) 2021-05-19 23:56:30 +02:00
add.go Feat #1374: Add Origins option to pins 2021-07-02 01:42:51 +02:00
types_test.go Fix state deserialization 2021-12-13 17:31:18 +01:00
types.go Fix state deserialization 2021-12-13 17:31:18 +01:00
util.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00