go-ethereum/accounts
Thomas Bocek 972f0bd3db
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
2017-01-09 11:36:31 +02:00
..
abi accounts/abi: support custom int slice types 2017-01-09 11:36:31 +02:00
testdata accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests 2016-09-27 13:07:33 -04:00
account_manager.go accounts, internal, mobile: polish accounts API, extend Android tests 2017-01-05 12:58:03 +02:00
accounts_test.go accounts, internal, mobile: polish accounts API, extend Android tests 2017-01-05 12:58:03 +02:00
addrcache.go accounts: don't use common.Address for address field 2016-11-28 11:37:13 +01:00
addrcache_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key.go accounts: improve API and add documentation 2016-04-12 15:59:18 +02:00
key_store_passphrase.go mobile: initial wrappers for mobile support 2016-11-14 17:56:58 +02:00
key_store_passphrase_test.go accounts: cache key addresses 2016-04-12 15:58:07 +02:00
key_store_plain.go all: update license information 2016-04-15 09:48:05 +02:00
key_store_test.go accounts: left pad keybytes-to-encrypt, add 30/31 byte keys tests 2016-09-27 13:07:33 -04:00
presale.go accounts: add ErrDecrypt 2016-04-12 15:58:07 +02:00
watch.go accounts: disable file system watcher on windows 2016-11-28 03:09:58 +01:00
watch_fallback.go accounts: disable file system watcher on windows 2016-11-28 03:09:58 +01:00