Open dckc opened 5 years ago
@JoshOrndorff is unable to reproduce
he started a node without casper (rnode run -s -n
) and tried to deploy (by running node rhopm.js --package exampleProject/powers.rho
)
It failed with a reasonable diagnostic:
(node:6644) UnhandledPromiseRejectionWarning: Error: Error while creating block: ReadOnyMode
at responseP.then (/home/joshy/ProgrammingProjects/rhopm/node_modules/rchain-api/rnodeAPI.js:156:38)
version: It's the same rhopm that's the tip of master on my github and rchain-api 0.7.1-beta.2
Was this actually using addBlock
or was it createBlock
? I believe createBlock
is the equivalent service of rnode propose
.
The real issue is:
but using rchain-api, I get: