Péter Szilágyi
aff421e78c
internal/ethapi: warn on failed account accesses
6 years ago
Felix Lange
4e474c74dc
rpc: fix subscription corner case and speed up tests ( #17874 )
...
Notifier tracks whether subscription are 'active'. A subscription
becomes active when the subscription ID has been sent to the client. If
the client sends notifications in the request handler before the
subscription becomes active they are dropped. The tests tried to work
around this problem by always waiting 5s before sending the first
notification.
Fix it by buffering notifications until the subscription becomes active.
This speeds up all subscription tests.
Also fix TestSubscriptionMultipleNamespaces to wait for three messages
per subscription instead of six. The test now finishes just after all
notifications have been received and doesn't hit the 30s timeout anymore.
6 years ago
Elad
da290e9707
cmd/swarm: speed up tests ( #17878 )
...
These minor changes already shaved off around 30s.
6 years ago
Anton Evangelatov
0fe9a372b3
swarm, swarm/storage: lower constants for faster tests ( #17876 )
...
* swarm/storage: lower constants for faster tests
* swarm: reduce test size for TestLocalStoreAndRetrieve
* swarm: reduce nodes for dec_inc_node_count
6 years ago
Martin Holst Swende
d5c7a6056a
cmd/clef: encrypt the master seed on disk ( #17704 )
...
* cmd/clef: encrypt master seed of clef
Signed-off-by: YaoZengzeng <yaozengzeng@zju.edu.cn>
* keystore: refactor for external use of encryption
* clef: utilize keystore encryption, check flags correctly
* clef: validate master password
* clef: add json wrapping around encrypted master seed
6 years ago
Péter Szilágyi
ff5538ad4c
params, swarm: begin Geth v1.8.18, Swarm v0.3.6 cycle
6 years ago
Péter Szilágyi
8bbe72075e
params, swarm: release Geth v1.8.17 and Swar v0.3.5
6 years ago
Guillaume Ballet
97b2806686
core/asm: Use hexadecimal addresses in assembly dumps ( #17870 )
6 years ago
holisticode
11d0ff6578
Fix retrieval tests and simulation backends ( #17723 )
...
* swarm/network/stream: introduced visualized snapshot sync test
* swarm/network/stream: non-existing hash visualization sim
* swarm/network/stream: fixed retrieval tests; new backend for visualization
* swarm/network/stream: cleanup of visualized_snapshot_sync_sim_test.go
* swarm/network/stream: rebased PR on master
* swarm/network/stream: fixed loop logic in retrieval tests
* swarm/network/stream: fixed iterations for snapshot tests
* swarm/network/stream: address PR comments
* swarm/network/stream: addressed PR comments
6 years ago
Felix Lange
72a076840b
travis, build: speed up CI runs ( #17854 )
...
* travis: exclude non-test jobs for PRs
We don't usually look at these builders and not starting them
removes ~15min of build time.
* build: don't run vet before tests
Recent versions of Go run vet during 'go test' and we have
a dedicated lint job.
* build: use -timeout 5m for tests
Tests sometimes hang on Travis. CI runs are aborted after 10min with no
output. Adding the timeout means we get to see the stack trace for
timeouts.
6 years ago
Felix Lange
459278cd57
miner: remove intermediate conversion to int in tests ( #17853 )
...
This fixes the tests on 32bit platforms.
6 years ago
Ryan Schneider
cfcc47529d
cmd/utils: fix bug when checking for flag value conflicts ( #17803 )
6 years ago
gary rong
c5d34fc94e
les, light: reduce les testing stress ( #17867 )
6 years ago
Péter Szilágyi
53634f1e04
trie: remove unused originalRoot field ( #17862 )
6 years ago
Wenbiao Zheng
31c4e3a118
core/types: Log.Index is the index in block, not receipt ( #17866 )
6 years ago
Péter Szilágyi
1d3d4a4d57
core/vm: reuse Keccak-256 hashes across opcode executions ( #17863 )
6 years ago
Javier Peletier
c5cb214f68
swarm/storage/feed: Expose MaxUpdateDataLength constant ( #17858 )
6 years ago
Philip Schlump
f95811e65b
cmd/abigen: support for --type flag with piped data ( #17648 )
6 years ago
Jeremy Schlatter
5ed3960b9b
accounts/abi/bind: stop using goimports in the binding generator ( #17768 )
6 years ago
Martin Holst Swende
5b0c9c8ae5
tests: use non-constantinople ropsten for difficulty tests ( #17850 )
...
This is a stopgap until new tests have been generated and imported.
6 years ago
Martin Holst Swende
58e868b759
core/vm : fix failing testcase ( #17852 )
...
* core/vm : fix failing testcase
* core/vm: fix nitpick
6 years ago
Péter Szilágyi
5d3b7bb023
Merge pull request #17839 from karalabe/downloader-invalid-hash-chain-fix
...
eth/downloader: fix invalid hash chain error due to head mini reorg
6 years ago
Péter Szilágyi
6ee3b26f44
eth/downloader: fix invalid hash chain error due to head mini reorg
6 years ago
Martin Holst Swende
092df3ab59
core/vm: SHA3 word cost for CREATE2 ( #17812 )
...
* core/vm: create2 address generation tests
* core/vm: per byte cost of CREATE2
* core/vm: fix linter issue in test
6 years ago
Martin Holst Swende
81375a3801
tests: do not exit early on log hash mismatch ( #17844 )
6 years ago
Péter Szilágyi
d79602d2d4
Merge pull request #17843 from karalabe/ropsten-block-and-chts
...
params: add ropsten fork delay, update les checkpoints
6 years ago
Péter Szilágyi
ff7fad18fb
params: add ropsten fork delay, update les checkpoints
6 years ago
Martin Holst Swende
89a32451ae
core/vm: faster create/create2 ( #17806 )
...
* core/vm/runtim: benchmark create/create2
* core/vm: do less hashing in CREATE2
* core/vm: avoid storing jumpdest analysis for initcode
* core/vm: avoid unneccesary lookups, remove unused fields
* core/vm: go formatting tests
* core/vm: save jumpdest analysis locally
* core/vm: use common.Hash instead of nil, fix review comments
* core/vm: removed type destinations
* core/vm: correct check for empty hash
* eth: more elegant api_tracer
* core/vm: address review concerns
6 years ago
Anton Evangelatov
8c63d0d2e4
swarm/storage: extract isValid. correctly remove invalid chunks from store on migration ( #17835 )
6 years ago
Felix Lange
1895059119
p2p: add enode URL to PeerInfo ( #17838 )
6 years ago
Péter Szilágyi
127553253e
Merge pull request #17801 from eosclassicteam/patch-1
...
Enable constantinople on Ropsten testnet
6 years ago
Liang Ma
ff6e0351ab
eth: fixed the minor typo inside the comments ( #17830 )
6 years ago
Felix Lange
b8a0daf0cc
cmd/puppeth: fix node URL in health check ( #17802 )
...
* cmd/puppeth: fix node URL in health check
* cmd/puppeth: set external IP for geth
* cmd/puppeth: fix enode cast issue
6 years ago
cdetrio
bfa0f96822
cmd/evm: fix state dump ( #17832 )
6 years ago
Anton Evangelatov
82a1c771ef
cmd/swarm: disable tests under Windows until they are fixed ( #17827 )
6 years ago
Felföldi Zsolt
9d06b2c5f3
core: use ChainHeadEvent subscription in the chain indexer ( #17826 )
6 years ago
Viktor Trón
e5677114dc
Merge pull request #17796 from epiclabs-io/mru-feeds
...
swarm/storage/feeds: Renamed MRU to Swarm Feeds
6 years ago
Anton Evangelatov
303b99663e
swarm: schemas and migrations ( #17813 )
6 years ago
Péter Szilágyi
14bef9a2db
core: fix unnecessary ancestor lookup after a fast sync ( #17825 )
6 years ago
Samuel Marks
d3a773c284
travis, appveyor: bump to Go 1.11.1 ( #17820 )
6 years ago
Javier Peletier
de01178c18
swarm/storage/feed: Renamed package
6 years ago
Javier Peletier
696bc9b01c
swarm/storage/feeds: renamed vars that can conflict with package name
6 years ago
Javier Peletier
58c0879c2f
swarm/storage/feeds: removed capital Feed throughout
6 years ago
Javier Peletier
68b8088cb9
swarm: Changed owners.
6 years ago
Javier Peletier
b6ccc06cda
swarm/storage/feeds: Final package rename and moved files
6 years ago
Javier Peletier
83705ef6aa
swarm/storage/mru: Renamed rest of MRU references
6 years ago
Javier Peletier
b35622cf3c
swarm/storage/mru: Renamed all comments to Feeds
6 years ago
Javier Peletier
f1e86ad9cf
swarm/storage/mru: Renamed all identifiers to Feeds
6 years ago
Elad
bd1f7ebda2
cmd/swarm: fix appveyor build ( #17808 )
6 years ago
Anton Evangelatov
26a37c5351
travis.yml: remove Go 1.9 ( #17807 )
6 years ago