Some community members faced situation like
message: "Error occurred while processing the block BlockID::Hash(0xxxxxxxx): block not found.", data none
It’s a Substrate issue and We are working on a solution to this problem.
So far, here is a short time solution to overcome this issue.
Here is the steps:
-
sudo docker container kill phala-pherry
to kill the phala-pherry -
docker container prune
and the entery
to remove the stopped phala-pherry - Save the following code content as a file named docker-compose.yml
- Use
sudo docker-compose up -d
to start the docker-compose you created above - let this pherry run several minutes, check its log and make sure it passed the failed block height
-
sudo docker container kill phala-pherry
again -
sudo phala start
to restart the pherry in solo-scripts check if it works well and pssed the block height. If not, try the steps above again and wait more time before you kill the new pherry
Code content of the docker-compose.yml mentioned above:
- For full mode
version: "3"
services:
phala-pherry:
image: phalanetwork/phala-pherry:latest
container_name: phala-pherry
hostname: phala-pherry
restart: always
entrypoint:
[
"/root/pherry",
"-r",
"--parachain",
"--mnemonic=${MNEMONIC}",
"--substrate-ws-endpoint=ws://51.210.116.29:8845",
"--collator-ws-endpoint=ws://51.210.116.29:8844",
"--pruntime-endpoint=http://${MINER_IP}:8000",
"--operator=${OPERATOR}",
"--fetch-blocks=512",
"--auto-restart"
]
When you use this docker-compose, please replace the ${xx} function with the corresponding content, for example:
--pruntime-endpoint=http://${MINER_IP}:8000
to --pruntime-endpoint=http://127.0.0.1:8000
If you receive the report like
bridge() exited with error: failed to build ws transport
, please check your network, and you can open this page to test your network “Polkadot/Substrate Portal”.