rchain-community/rchat-fork

iddb read-only facet

Opened this issue · 3 comments

dckc commented

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.

dckc commented

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

dckc commented

kinda hard to tally votes (#35) without this.

dckc commented

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
rchain-community/js2rho@3bc9dc1