Skip to content

Commit

Permalink
remove votes not found check
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanchristo committed Sep 6, 2023
1 parent 90f3542 commit d950437
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docker/tester/test_index_votes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ regen tx group vote "$proposal_id" "$address2" VOTE_OPTION_YES "" --from "$addre
# wait for transactions to be processed
sleep 10

# TODO: confirm votes NOT indexed in database
# TODO: confirm votes indexed in database
psql postgres://postgres:password@localhost:5432/postgres -c "SELECT * from votes;"
# TODO: if votes found, then exit 1
# TODO: if votes NOT found, then exit 1

# execute proposal
regen tx group exec "$proposal_id" --from "$address1" $regen_tx_flags
Expand All @@ -93,7 +93,3 @@ sleep 10
# TODO: confirm proposal indexed in database
psql postgres://postgres:password@localhost:5432/postgres -c "SELECT * from proposals;"
# TODO: if proposal NOT found, then exit 1

# TODO: confirm vote indexed in database
psql postgres://postgres:password@localhost:5432/postgres -c "SELECT * from votes;"
# TODO: if vote NOT found, then exit 1

0 comments on commit d950437

Please sign in to comment.