矿池数据同步完成,内容如图
worker部署文件内容如下
version: “3”
services:
pruntime:
image: phalanetwork/phala-pruntime
restart: always
hostname: pruntime
environment:
- "ENABLE_KICK_API=1"
volumes:
- "/var/rb/pruntime-data:/root/data"
devices:
- "/dev/sgx/enclave:/dev/sgx/enclave"
- "/dev/sgx/provision:/dev/sgx/provision"
ports:
- "8000:8000"
volumes:
pruntime-data:
在worker端配置docker-compose.yml文件之后用docker-compose up启动
在fetcher页面添加了矿池,然后添加矿机,报错内容如下:
1632629327436 - {“name”:“TypeError”,“message”:“Cannot destructure property ‘genesisState’ of ‘appContext.genesis’ as it is null.”,“stack”:“TypeError: Cannot destructure property ‘genesisState’ of ‘appContext.genesis’ as it is null.\n at initRuntime (file:///opt/app/src/lifecycle/pruntime.js:107:13)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)\n at async run (file:///opt/app/node_modules/.pnpm/[email protected]/node_modules/p-queue/dist/index.js:267:36)”}