This repository was archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 161
This repository was archived by the owner on Nov 30, 2021. It is now read-only.
ProposalBlock is invalid #450
Copy link
Copy link
Closed
Description
System info: [Include Ethermint commit, operating system name, and other relevant details]
$ ethermintd version
0.0.0-11-gca0a79f
ID=Ubuntu
RELEASE=18.04
CODENAME=bionic
DESCRIPTION="Ubuntu 18.04.5 LTS"
Error:
Sending a transaction to a node in the testnet caused an error that halted the chain. The error message is: enterPrevote: ProposalBlock is invalid . This seems to
Steps to reproduce:
- Copy the proper files to correct directories
scp -r emint_2nodes/node0/ethermintd/ root@<node0_IP>:~/.ethermintd
scp -r emint_2nodes/node0/ethermintcli root@<node0_IP>:~/.ethermintcli
scp -r emint_2nodes/node1/ethermintd/ root@<node1_IP>:~/.ethermintd
scp -r emint_2nodes/node1/ethermintcli root@<node1_IP>:~/.ethermintcli
- Start the nodes:
# node 0
ethermintcli config keyring-backend test
ethermintd start > emintd.log &
emintcli rest-server --laddr "tcp://<node0_IP>:8545" --unlock-key node0 --chain-id 1470189191838651654 --trace > emintcli.log &
# node 1
ethermintcli config keyring-backend test
ethermintd start > emintd.log &
emintcli rest-server --laddr "tcp://<node1_IP>:8545" --unlock-key node0 --chain-id 1470189191838651654 --trace > emintcli.log &
- Send a transaction to the network:
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_sendTransaction","params": [{"from": "<node0_accountHexAddress>", "to": "0x7f9f463c4d57b1bd3e3b79051e6c5ab703e803d9", "value": "0xA", "gasLimit": "0x5208", "gasPrice": "0xA"}],"id":1}' -H "Content-Type: application/json" <node0_IP>:8545
- View the output of the network:
tail -f emintd.log
Expected behavior: Should generate blocks without failure to consensus
I[2020-08-17|19:42:34.230] Executed block module=state height=2 validTxs=0 invalidTxs=0
I[2020-08-17|19:42:34.232] Committed state module=state height=2 txs=0 appHash=D081986AE0FCFC33BA6F65E16124AA81695B36030779827B4F9BA9FEDFB0E793
I[2020-08-17|19:42:39.550] Executed block module=state height=3 validTxs=0 invalidTxs=0
I[2020-08-17|19:42:39.552] Committed state module=state height=3 txs=0 appHash=C5F286C83AF8112E0333E9F5B397C95F491F11ED041D708199DFF3DFE5E4A53F
I[2020-08-17|19:42:44.963] Executed block module=state height=4 validTxs=0 invalidTxs=0
Actual behavior: Blocks remain stuck with error message
E[2020-08-17|19:47:56.264] enterPrevote: ProposalBlock is invalid module=consensus height=62 round=0 err="wrong Block.Header.AppHash. Expected 1EAB96473578BEBA876CA9D204E64348C2DB2F3090753B53E7C8F880872C0A2A, got E5401BB87BF21409E6BE6BC740AE6E7318F0587CF9A2E0AFF74A6570E5753A3D"
E[2020-08-17|19:48:01.997] enterPrevote: ProposalBlock is invalid module=consensus height=62 round=2 err="wrong Block.Header.AppHash. Expected 1EAB96473578BEBA876CA9D204E64348C2DB2F3090753B53E7C8F880872C0A2A, got E5401BB87BF21409E6BE6BC740AE6E7318F0587CF9A2E0AFF74A6570E5753A3D"
E[2020-08-17|19:48:11.635] enterPrevote: ProposalBlock is invalid module=consensus height=62 round=4 err="wrong Block.Header.AppHash. Expected 1EAB96473578BEBA876CA9D204E64348C2DB2F3090753B53E7C8F880872C0A2A, got E5401BB87BF21409E6BE6BC740AE6E7318F0587CF9A2E0AFF74A6570E5753A3D"
E[2020-08-17|19:48:25.269] enterPrevote: ProposalBlock is invalid module=consensus height=62 round=6 err="wrong Block.Header.AppHash. Expected 1EAB96473578BEBA876CA9D204E64348C2DB2F3090753B53E7C8F880872C0A2A, got E5401BB87BF21409E6BE6BC740AE6E7318F0587CF9A2E0AFF74A6570E5753A3D"
E[2020-08-17|19:48:42.901] enterPrevote: ProposalBlock is invalid module=consensus height=62 round=8 err="wrong Block.Header.AppHash. Expected 1EAB96473578BEBA876CA9D204E64348C2DB2F3090753B53E7C8F880872C0A2A, got E5401BB87BF21409E6BE6BC740AE6E7318F0587CF9A2E0AFF74A6570E5753A3D"


