diff options
author | Thomas Bocek <tom@tomp2p.net> | 2016-11-24 22:50:45 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-01-09 17:36:31 +0800 |
commit | 972f0bd3dbd4f6284e66c71b8746c35c10708ccc (patch) | |
tree | 01cccc3256899b9d6eb16d42f9f1e76389276541 /compression | |
parent | 808310a5692cb372754064ade6ed21e92f5c7342 (diff) | |
download | go-tangerine-972f0bd3dbd4f6284e66c71b8746c35c10708ccc.tar go-tangerine-972f0bd3dbd4f6284e66c71b8746c35c10708ccc.tar.gz go-tangerine-972f0bd3dbd4f6284e66c71b8746c35c10708ccc.tar.bz2 go-tangerine-972f0bd3dbd4f6284e66c71b8746c35c10708ccc.tar.lz go-tangerine-972f0bd3dbd4f6284e66c71b8746c35c10708ccc.tar.xz go-tangerine-972f0bd3dbd4f6284e66c71b8746c35c10708ccc.tar.zst go-tangerine-972f0bd3dbd4f6284e66c71b8746c35c10708ccc.zip |
accounts/abi: support custom int slice types
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
Diffstat (limited to 'compression')
0 files changed, 0 insertions, 0 deletions