Open dckc opened 4 years ago
the tables
method works but not keys
nor select
.
It's acting like INSERT
isn't working.
I'm stumped. https://discord.com/channels/375365542359465989/717821191728922684/733848517633900554
kinda hard to tally votes (#35) without this.
Debugging tools for rholang are sufficiently painful that I spent some time on back-porting iddb.rho to .js and enhancing js2rho to handle it. I'm not there yet, but... progress:
https://github.com/rchain-community/js2rho/blob/notary/examples/iddb.js https://github.com/rchain-community/js2rho/commit/3bc9dc10bbc13c14091472ac875299b96d5282fa
Of course anyone can inspect the store from outside the chain, but that's kinda awkward.
The iddb.rho contract should provide a read-only facet so that members etc. can query it from rholang, e.g. in exploratory deploys.