forked from cerc-io/plugeth
5127ec10cb
Refactored the abi package parsing and type handling. Relying mostly on package reflect as opposed to most of our own type reflection. Our own type reflection is still used however for cases such as Bytes and FixedBytes (abi: bytes•). This also inclused several fixes for slice handling of arbitrary and fixed size for all supported types. This also further removes implicit type casting such as assigning, for example `[2]T{} = []T{1}` will fail, however `[2]T{} == []T{1, 2}` (notice assigning *slice* to fixed size *array*). Assigning arrays to slices will always succeed if they are of the same element type. Incidentally also fixes #2379 |
||
---|---|---|
.. | ||
bind | ||
abi_test.go | ||
abi.go | ||
argument.go | ||
doc.go | ||
error.go | ||
event_test.go | ||
event.go | ||
method.go | ||
numbers_test.go | ||
numbers.go | ||
packing.go | ||
reflect.go | ||
type.go |