rchain-community / rgov

RChain liquid democracy demo: capability sharing, mailbox, directory, chat, ...
https://rchain-community.github.io/rgov/
10 stars 14 forks source link

tallyVotes creates odd data when issue is created with no votes #197

Closed w2vy closed 3 years ago

w2vy commented 3 years ago

deployData is blockInfo { postBlockData { exprs { g_string: "done" } } postBlockData { exprs { e_list_body { ps { exprs { g_string: "counts" } } ps { exprs { e_map_body { kvs { value { exprs { g_int: 1 } } } } } } } } }

I need to verify on json interface

w2vy commented 3 years ago

After completing the test_voting script it became evident that the rholang returns the vote tallys and for the total uncast and undelegated votes with no Key Value

Effectively key pizza 1, key salad 1, Nil 1

Where Nil is where the uncast vote count is