lacchain / besu-pro-testnet

Blockchain Pro Test-Net, running on Hyperledger Besu
Apache License 2.0
51 stars 50 forks source link

desynchronization due to Orion #95

Open ccamaleon5 opened 3 years ago

ccamaleon5 commented 3 years ago

Problem

It has been observed that when the limit gas is set to execute a private transaction, the desynchronization failure also occurs (Tested in version 1.4.0 and besu 1.3.6).

The problem was detected in nodes that had orion and besu running

workaround:

In case Orion is not necessary

Disable the orion service in the bootnodes configuration and restart the "pantheon" service a) Go to the file /root/lacchain/config.toml and comment the following lines:

privacy-enabled = true
privacy-url = "http://127.0.0.1:4444"
privacy-public-key-file = "/root/lacchain/orion/keystore/nodeKey.pub" 

b) Then restart the pantheon service: systemctl restart pantheon

In case Orion is necessary

a) Go to the file /root/lacchain/config.toml and comment the following lines:

#privacy-enabled = true
#privacy-url = "http://127.0.0.1:4444"
#privacy-public-key-file = "/root/lacchain/orion/keystore/nodeKey.pub"`

b) Then restart the pantheon service: systemctl restart pantheon c) Wait for the besu node to finish synchronizing d) Once the node is synchronized, return to the /root/lacchain/config.toml file and uncomment the lines that were commented in step "a" e) Step followed restart the pantheon service systemctl restart pantheon Verify that the node is already properly synchronized.

davux commented 3 years ago

This is an upstream bug. Did you report it with Besu dev team?