subnet-evm icon indicating copy to clipboard operation
subnet-evm copied to clipboard

subnet merkle tree verify failure

Open elmtlab opened this issue 3 years ago • 1 comments

o Reproduce I just follow the instruction of https://docs.avax.network/subnets/setup-dfk-node

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Logs [09-22|16:17:48.354] ERROR bootstrap/block_job.go:88 block failed verification during bootstrapping {"blkID": "2suDwNrHE8AMVRYZuoZYotWVYV9XcKehCfEnURSfEF5VHTvgr1", "error": "rpc error: code = Unknown desc = invalid merkle root (remote: a4813b055e6dc3adc8b3ce1a61402a5bbdefedf23b5ee7b53fa9754a44123c88 local: b2137934960f6665e360c19cca933fba971dd9dbcbb4201651091a11344ae4b8)"} [09-22|16:17:48.355] FATAL handler/handler.go:283 shutting down chain {"reason": "received an unexpected error", "error": "failed to execute job 2suDwNrHE8AMVRYZuoZYotWVYV9XcKehCfEnURSfEF5VHTvgr1 due to failed to verify block in bootstrapping: rpc error: code = Unknown desc = invalid merkle root (remote: a4813b055e6dc3adc8b3ce1a61402a5bbdefedf23b5ee7b53fa9754a44123c88 local: b2137934960f6665e360c19cca933fba971dd9dbcbb4201651091a11344ae4b8) while processing sync message: (Op: ancestors, NodeID: NodeID-H94Q5zdkBByZVWvqrB5ByiX4dZdG1J45y, RequestID: 18, NumContainers: 63)"}

error_log.txt

Operating System MAC os M1 chip

elmtlab avatar Sep 26 '22 14:09 elmtlab

Answered on https://github.com/ava-labs/avalanchego/issues/1147

They recently upgraded their network with network upgrades in subnet-evm. Check their upgrade.json file and put that into the chain configuration under $HOME/.avalanchego/configs/chains/q2aTwKuyzgs8pynF7UXBZCU7DejbZbZ6EUyHr3JQzYgwNPUPi I assumed you use $HOME/.avalanchego as the main directory, if you use anything else use the same pattern for your own directory.

See more info on https://docs.avax.network/subnets/subnet-upgrade#changing-subnet-configuration

ceyonur avatar Sep 26 '22 14:09 ceyonur

Closing since this seems to have been answered and was caused by not including the upgrade bytes for DFK correctly.

aaronbuchwald avatar Oct 05 '22 17:10 aaronbuchwald