aboutsummaryrefslogtreecommitdiffstats
path: root/common/types_test.go
Commit message (Collapse)AuthorAgeFilesLines
* common/hexutil: implement TextMarshaler, TextUnmarshalerFelix Lange2017-03-021-6/+7
| | | | | | | | | | | | | This commit makes the wrapper types more generally applicable. encoding.TextMarshaler is supported by most codec implementations (e.g. for yaml). The tests now ensure that package json actually recognizes the custom marshaler implementation irrespective of how it is implemented. The Uint type has new tests, too. These are tricky because uint size depends on the CPU word size. Turns out that there was one incorrect case where decoding returned ErrUint64Range instead of ErrUintRange.
* common: use package hexutil for fixed size type encodingFelix Lange2016-11-281-11/+21
|
* common: Add tests for Address#UnmarshalJSONPaulo L F Casaretto2016-04-261-2/+36
|
* common: added Hash unmarshal json length validationJeffrey Wilcke2016-04-011-0/+22
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Fixed VM & Tests w/ conversionobscuren2015-03-171-0/+15