Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Expanse chain sync fail #5625

Closed
zet-tech opened this issue May 15, 2017 · 7 comments
Closed

Expanse chain sync fail #5625

zet-tech opened this issue May 15, 2017 · 7 comments
Labels
F0-consensus 💣 Issue can lead to a consensus failure. M4-core ⛓ Core client code / Rust. Z0-unconfirmed 🤔 Issue might be valid, but it’s not yet known.

Comments

@zet-tech
Copy link

Expanse chain sync fail both as a continuation from previously synced blockchain and from fresh db after kill db. Tested both on 1.4.10 and 1.6.6

Logs on 1.6.6 show:
IO Worker #3 INFO import Imported #605723 0e0f…c384 (0 txs, 0.00 Mgas, 0.18 ms, 0.53 KiB) + another 47 block(s) containing 65 tx(s)
IO Worker #0 WARN client Stage 1 block verification failed for 4bfc…2a14: Transaction(InvalidNetworkId)
IO Worker #0 INFO import Syncing #605723 0e0f…c384 0 blk/s 0 tx/s 0 Mgas/s 0+ 0 Qed #589340 1/11/20 peers 191 MiB db 11 MiB chain 0 bytes queue 288 KiB sync RPC: 0 conn, 9 req/s, 128 µs

On 1.4.10 it hangs and prints peers indefinitely.

@5chdn 5chdn added F0-consensus 💣 Issue can lead to a consensus failure. M4-core ⛓ Core client code / Rust. Z0-unconfirmed 🤔 Issue might be valid, but it’s not yet known. labels May 16, 2017
@5chdn
Copy link
Contributor

5chdn commented May 16, 2017

Could you add more verbose log output, maybe run with -lsync=trace and paste the output somewhere?

Can you confirm your parity 1.6.6 node stops synchronizing after this message? Also, please don't use 1.4.x anymore, that's no longer maintained. If you wish to stay on the stable releases branch, use 1.5.12.

@5chdn
Copy link
Contributor

5chdn commented May 16, 2017

I can not reproduce this with latest master.

@zet-tech
Copy link
Author

zet-tech commented May 16, 2017

I tried on another machine running Parity 1.5.11 (I know that it is not the last stable). Result is exactly the same as on 1.6.6. As you can see in the log it does not stop sync after error message (both 1.5.11 and 1.6.6)

.

I attach logs. Full trace log is too big to attach: https://ufile.io/843dd
parity-expanse-out.txt

@rphmeier
Copy link
Contributor

cc @chrisfranko: do other nodes use a different network ID for expanse than specified here? https://github.com/paritytech/parity/blob/master/ethcore/res/ethereum/expanse.json#L31

@chrisfranko
Copy link
Contributor

chrisfranko commented May 16, 2017 via email

@zet-tech
Copy link
Author

I see that the issue is fixed on master. Will it be included in next release and when can it be expected ?

As a workaround we tried to use .json file form master pasted as a --chain argument to parity. Unfortunately Parity is still unable to sync with Expanse blockchain. There is no error but "Syncing #606291 fbf6…f9b1" goes forever despite 7 peers.

@5chdn
Copy link
Contributor

5chdn commented May 18, 2017

@zet-tech if you don't want to wait, you can download the json and run it directly against expanse. like:

wget https://raw.githubusercontent.com/paritytech/parity/master/ethcore/res/ethereum/expanse.json
parity --chain ./expanse.json

Closing as fixed in #5351 - added the patch label to make sure it will be included in next beta release.

@5chdn 5chdn closed this as completed May 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F0-consensus 💣 Issue can lead to a consensus failure. M4-core ⛓ Core client code / Rust. Z0-unconfirmed 🤔 Issue might be valid, but it’s not yet known.
Projects
None yet
Development

No branches or pull requests

4 participants