Commit Graph

11 Commits

Author SHA1 Message Date
Felföldi Zsolt
b80dfd8433 les: fix clientInfo deadlock (#20395) 2019-12-03 14:01:37 +01:00
Felix Lange
4afc0ecb76 accounts/abi/bind/backends: remove unused assignment (#20359) 2019-12-03 13:51:49 +01:00
Péter Szilágyi
c63030fbd7 mobile: fix CopyFile switch to package cp 2019-12-03 13:48:16 +01:00
Péter Szilágyi
a2b2f58d65 go.mod, vendor: switch to Go modules 2019-12-03 13:46:36 +01:00
Felix Lange
3101dbdee6 whisper/whisperv6: fix staticcheck warnings (#20328) 2019-12-03 13:44:07 +01:00
Felix Lange
8478708f11 cmd/wnode: remove uses of common.ToHex (#20327) 2019-12-03 13:43:32 +01:00
Guillaume Ballet
b7216cfc8a whisper/whisperv6: fix staticcheck issues (#20288) 2019-12-03 13:30:23 +01:00
Felix Lange
9d7e7062b4 p2p/enode: mock DNS resolver in URL parsing test (#20252) 2019-12-03 13:27:33 +01:00
gary rong
a5b9166434 accounts/abi: add internalType information and fix issues (#20179)
* accounts/abi: fix various issues

The fixed issues include:

(1) If there is no return in a call function, unpack should
return nil error

(2) For some functions which have struct array as parameter,
it will also be detected and generate the struct definition

(3) For event, if it has non-indexed parameter, the parameter
name will also be assigned if empty. Also the internal struct
will be detected and generate struct defition if not exist.

(4) Fix annotation generation in event function

* accounts/abi: add new abi field internalType

* accounts: address comments and add tests

* accounts/abi: replace strings.ReplaceAll with strings.Replace
2019-12-03 13:23:00 +01:00
gary rong
dec8b5cf64 cmd/evm: remove surrounding whitespace in hex input code (#20211)
This way, the output of `evm compile` can be used directly in `evm
--codefile code.txt run`, without stripping the trailing newline first.
2019-12-03 13:05:14 +01:00
Igor Mandrigin
1f478afcd4 add diff file 2019-12-03 12:50:07 +01:00