972f0bd3db
On solidity contract I have "uint32 []" type, when abigen creates Go bindings - they are also "[]uint32" type on Go side. Even though it looks like it should work - the actual type of the data coming from the chain is of type " []*big.Int". When executing contract function from Go side - getting unmarshal error: abi: cannot unmarshal []*big.Int in to []uint32 The fix is to create array with the correct type This fixed the issue reported in: https://github.com/ethereum/go-ethereum/issues/2802 |
||
---|---|---|
.. | ||
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_test.go | ||
type.go |