Tags: tendermint/go-amino
Tags
Add support for (Un)MarshalAminoJSON override (#323) * Add support for (Un)MarshalAminoJSON override * Put override higher * Update codec.go Co-authored-by: Aaron Craelius <[email protected]> * Remove dup code * Address reviews * Add Changelog entry * Fix build Co-authored-by: Aaron Craelius <[email protected]>
Release v0.14.1 (#244) * add contribution guidelines - minimal changes to ensure proto3 compat. for unsigned ints (int, int32, int64) * Add changes to decode ints, too * Delete outdated tests (covered by new table driven test) * Add overflow checks for int & int32 * prep release: update changelog * Make amino build on 32bit architectures (#242) * fix int overflows that happen on 32bit systems - explicitly type constant in time encoding - use math.MaxInt32 in int tests to seed the fuzzer * Add --concrete-name option to aminoscan
Release 0.14.0 (#240) * minimal changes to ensure proto3 compat. for unsigned ints (int, int32, int64) * Add changes to decode ints, too * Fix example that contains an int * Add changelog entry * Delete outdated tests (covered by new table driven test) * Add overflow checks for int & int32 * unum -> u64 * prep release: update changelog
Release/v0.12.0 (#216) * DecodeInt{8, 16} negative limit checks + tests (#125) Updates #120 Also adds a test for Byteslice encoding and decoding roundtripping and part slicing then rejoining. * fix circleci2.0 * some metalinter issues * skip over default values when encoding time (#178) * do not encode empty structs, unless `amino:"write_empty"` is set (#179) * skip over empty structs by default * slightly more info on panics * Fix zero time decoding (#190) - fix decoding of skipped fields in time, or completely skipped time - necessary because sec=0 and ns=0 do not result in time.Time{} and vice versa * Prepare release 0.11.0 (#193) * Fix time decoding & encoding of arrays and structs - top-level entry functions called with BinFieldNum:1 to properly encode e.g. arrays of structs (see non-time related test) - add defaultValue method, different from #196 it deals with multiply nested pointers * Removed dependency on tmlibs/common * Always write empty if struct field is pointer * add tests for #206 - test for pointers to empty struct and nil pointer * fix proto3 compatibility for empty structs * Add EmptyStruct to fuzz tests * Revert "fix proto3 compatibility for empty structs" * Do not allow encoding of nil struct pointers in a slice/array * By default, 0-length list elements are decoded as nil
PreviousNext