expanse-org / go-expanse

Jeffrey Wilcke's Go implementation of the Ethereum y/w paper
GNU Lesser General Public License v3.0
55 stars 19 forks source link

Full syncmode error #35

Closed petrkr closed 3 years ago

petrkr commented 6 years ago

There is problem with full sync mode. Fast works, but I am worried about blockchain consintency when full sync makes problems.

System information

Gexp
Version: 1.7.2-stable
Git Commit: 8e6f4610c4330aa72b5f98b131c944be257f3d0d
Architecture: amd64
Protocol Versions: [63 62]
Network Id: 1
Go Version: go1.10.2
Operating System: linux

Expected behaviour

Sync complete

Actual behaviour

Sync stops at block 200155

> eth.blockNumber
200154

Steps to reproduce the behaviour

run gexp with --syncmode full

Backtrace

WARN [05-23|13:20:47] Synchronisation failed, dropping peer    peer=d33a8d4c2c38a089 err="retrieved hash chain is invalid"
ERROR[05-23|13:20:55] 
########## BAD BLOCK #########
Chain config: {ChainID: 2 Homestead: 200000 DAO: <nil> DAOSupport: true EIP150: 200000 EIP155: 600000 EIP158: 600000 Byzantium: 800000 Engine: ethash}

Number: 200155
Hash: 0x3e83f2d695bccc6de2833b44993be8b8230b2a59d9b6f0c39dc19121ac5ac9a3
        receipt{med=a1b551d438c721d97dd3ef2e7590daf2c4de176efbd629c92e9a3b8b49266258 cgas=21000 bloom=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[]}
        receipt{med=49c0842deb6b8564926edc3297ff50cb133dd0187c2680f609e87564e7674579 cgas=42000 bloom=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[]}
        receipt{med=de032321bb8efdd9d12515277e13c9fbea9eae41f951c68305ac59171d54e8d0 cgas=63000 bloom=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[]}
        receipt{med=404430ca728dd0a996db8732387bdbcedc9126d87bdacb08ab6b9d233eb1cee1 cgas=84000 bloom=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[]}
        receipt{med=b6ee6ff9c34d8299f915b1517bd9cbd8eb9a0d35d1fe57d0db8b2abcdbe00043 cgas=105000 bloom=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[]}
        receipt{med=de46122a37caf324ee8fa2c0e25423e3d1c38e96727daf8e87d1f9e042f87c93 cgas=126000 bloom=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 logs=[]}
        receipt{med=b6a0c7b919e50ff0836ae638141087710afd63c71916cce9b8e78016ed1382a1 cgas=177168 bloom=02000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000020000000008000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000010000000000000000000000000000000000000000000200000000000000000000000000010000000000000000000000000000000000000004000000000000000020000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000 logs=[log: c2be9f4c1657c63c856be47f3972ccb0cb0df125 [ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef 0000000000000000000000003a6379cc9e216c062fd0e63d267d5fd62a75f061 000000000000000000000000663b8db322bb9b3fef0299a60004acf60078803d] 0000000000000000000000000000000000000000000000000000000005f5e100 7a32043d96dffd5fd473c1b5f24cee44beec3ffae62be38153260cd97670fe38 6 3e83f2d695bccc6de2833b44993be8b8230b2a59d9b6f0c39dc19121ac5ac9a3 0]}

Error: invalid gas used (remote: 176718 local: 177168)
##############################