massalabs / massa-web3

Web3 libraries for Massa
31 stars 76 forks source link

Cannot read properties of undefined (reading 'op_exec_status') #698

Open pivilartisant opened 3 weeks ago

pivilartisant commented 3 weeks ago

To reproduce: Use cli upload command (https://docs.massa.net/docs/deweb/cli/upload)

Get dist from me

npx @massalabs/deweb-cli@dev upload

Error:

◼ Uploading batches
◼ Recap
/Users/pivi/.npm/_npx/6742d74c9f080b88/node_modules/@massalabs/massa-web3/dist/cmd/client/publicAPI.js:160
        if (op.op_exec_status === null) {
               ^

TypeError: Cannot read properties of undefined (reading 'op_exec_status')
    at JsonRPCClient.getOperationStatus (/Users/pivi/.npm/_npx/6742d74c9f080b88/node_modules/@massalabs/massa-web3/dist/cmd/client/publicAPI.js:160:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Timeout._onTimeout (/Users/pivi/.npm/_npx/6742d74c9f080b88/node_modules/@massalabs/massa-web3/dist/cmd/operation/operation.js:41:39)

Dist upload info:

› 1055 batches found for a total of 64.34 MB
  › Total estimated cost: 6780.9995 MAS (with 10.55 MAS of operation fees)