Fix missing BLS key name in docker run.sh script
sergiy-skalelabs opened this issue · 2 comments
sergiy-skalelabs commented
In-docker run.sh
script is missing --sgx-bls-key=...
command line argument what makes PWA (pending work analysis) subsystem not working as it should and generates lot of errors in logs like:
10:11:45.103: JSON RPC: >>> did sent answer to 10.3.155.143: {"method":"skale_imaNotifyLoopWork","id":796157736279686,"error":null}
2023-07-04 10:11:45.522: JSON RPC: <<< Peer message from 10.3.155.143: {"method":"skale_imaNotifyLoopWork","params":{"nNodeNumber":0,"strLoopWorkType":"m2s","nIndexS2S":0,"isStart":false,"ts":1688465505,"signature":{"error":"BLS keys name is unknown, cannot sign U256"}},"jsonrpc":"2.0","id":6058961207270508}
2023-07-04 10:11:45.528: Exception in PWA handler for loop-end for node 0, PWA state {"oracle":{"isInProgress":false,"ts":0},"m2s":{"isInProgress":false,"ts":0},"s2m":{"isInProgress":false,"ts":0},"s2s":{"mapS2S":{}}}, arrived signature is {"error":"BLS keys name is unknown, cannot sign U256"}, error is: Cannot read properties of undefined (reading 'split'), stack is:
TypeError: Cannot read properties of undefined (reading 'split')
--> Module.doVerifyReadyHash (/ima/agent/bls.mjs:2404:45)
--> Module.handleLoopStateArrived (/ima/agent/pwa.mjs:229:26)
--> /ima/agent/main.mjs:356:31
--> Layer.handle [as handle_request] (/ima/agent/node_modules/express/lib/router/layer.js:95:5)
--> next (/ima/agent/node_modules/express/lib/router/route.js:144:13)
--> Route.dispatch (/ima/agent/node_modules/express/lib/router/route.js:114:3)
--> Layer.handle [as handle_request] (/ima/agent/node_modules/express/lib/router/layer.js:95:5)
--> /ima/agent/node_modules/express/lib/router/index.js:284:15
--> Function.process_params (/ima/agent/node_modules/express/lib/router/index.js:346:12)
--> next (/ima/agent/node_modules/express/lib/router/index.js:280:10)
DmytroNazarenko commented
Admin: 2.5.0-beta.2
IMA: 2.0.0-beta.4
EvgeniyZZ commented
Verified: Can't reproduce. Not clear description, mark as resolved
IMA Agent: 2.0.0-beta.13