plugeth/accounts/abi
Robert Zaremba 0ed8b838a9
accounts/abi: fix event unpack into slice
+ The event slice unpacker doesn't correctly extract element from the
slice. The indexed arguments are not ignored as they should be
(the data offset should not include the indexed arguments).

+ The `Elem()` call in the slice unpack doesn't work.
The Slice related tests fails because of that.

+ the check in the loop are suboptimal and have been extracted
out of the loop.

+ extracted common code from event and method tupleUnpack
2017-12-21 15:14:50 +01:00
..
bind all: use gometalinter.v2, fix new gosimple issues (#15650) 2017-12-12 19:05:47 +01:00
abi_test.go Merge pull request #15285 from yondonfu/abi-offset-fixed-arrays 2017-12-21 14:42:03 +01:00
abi.go accounts/abi: remove check for len%32==0 when unpacking events (#15670) 2017-12-21 10:59:14 +01:00
argument.go accounts/abi: fix event unpack into slice 2017-12-21 15:14:50 +01:00
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error.go accounts/abi: improve type handling, add event support (#14743) 2017-10-17 13:07:08 +02:00
event_test.go accounts/abi: adding event unpacker tests 2017-12-21 15:14:50 +01:00
event.go accounts/abi: fix event unpack into slice 2017-12-21 15:14:50 +01:00
method.go accounts/abi: fix event unpack into slice 2017-12-21 15:14:50 +01:00
numbers_test.go accounts/abi: reorganizing package with small fixes (#14610) 2017-06-27 11:05:33 +03:00
numbers.go accounts/abi: improve type handling, add event support (#14743) 2017-10-17 13:07:08 +02:00
pack_test.go accounts/abi: improve type handling, add event support (#14743) 2017-10-17 13:07:08 +02:00
pack.go accounts/abi: improve type handling, add event support (#14743) 2017-10-17 13:07:08 +02:00
reflect.go accounts/abi: fix event unpack into slice 2017-12-21 15:14:50 +01:00
type_test.go accounts/abi: improve type handling, add event support (#14743) 2017-10-17 13:07:08 +02:00
type.go accounts/abi: improve type handling, add event support (#14743) 2017-10-17 13:07:08 +02:00
unpack_test.go accounts/abi: update array length after parsing array (#15618) 2017-12-20 15:09:23 +01:00
unpack.go accounts/abi: fix event unpack into slice 2017-12-21 15:14:50 +01:00