Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Fairblock/privgov
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0calypse644 committed Dec 27, 2024
2 parents 5a981e3 + 1b253be commit a054598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_encrypted_votes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
echo "Submitting proposal"
privgovd tx gov submit-proposal draft_proposal.json --from fred --chain-id privgov --yes

sleep 3
sleep 10

PROPOSAL_ID=$(privgovd q gov proposals --output json | jq '.proposals | length')
PROPOSAL_INDEX=$((PROPOSAL_ID - 1))

sleep 3
sleep 10

PUBKEY=$(privgovd q gov proposals --output json | jq -r ".proposals[$PROPOSAL_INDEX].pubkey")
ID=$(privgovd q gov proposals --output json | jq -r ".proposals[$PROPOSAL_INDEX].identity")
Expand All @@ -28,4 +28,4 @@ STATUS=$(echo $LAST_PROPOSAL | jq -r '.status')
sleep 20

echo "Proposal #$PROPOSAL_ID Status: $STATUS has encrypted vote ? $HAS_ENCRYPTED_VOTE"
echo $LAST_PROPOSAL | jq
echo $LAST_PROPOSAL | jq

0 comments on commit a054598

Please sign in to comment.