Unable to create ballot for new Validator

#1

Tried both:

  1. Firefox Quantum 57.0 with Standard Metamask ( got to page where enter Notary details – click “Add Ballot” hung )

  1. Chrome Version 60.0.3112.90 (Official Build) (64-bit) with Oracles Metamask Plugin ( couldn’t even access voting DApp page

Then clicked refresh got:

0 Likes

#2

@viktorbaranov you changed this DApp in the master branch?

0 Likes

#3

@jlegassic seems that there are two commits recently which broke the dapp on the current testnet.

I think you can fork it, go back two commits and deploy your fork to netlify. It should work.

For the future we will need to think about review PRs to master on production dapps.

Sorry about that John

1 Like

#4

ok … will give that a try. :slight_smile:

0 Likes

#5

OK,

@igorbarinov
@viktorbaranov

So, I went ahead created a copy
oracles-dapps-voting
@3660e4a616146ac39f35d5c67ade79420132c978 ( dated Aug 15 2017 )

it is at: https://github.com/johnnynuuma/oracles-dapp-voting

I deployed to netlify:

https://hungry-pike-439109.netlify.com/oracles-dapps-voting

NOTE – had to add _redirects file to netlify to get application name in URL

I was able to create (3) ballots for new Validator ( Gerry Howatt ).

There are bugs ( not sure if any in fixed in new design )

  • All ballots created my Jeff Flowers not me (?)
  • When attempting to Vote when there are (2) Unanswered ballots ( on the Unanswered Ballot page ) MetaMask is prompting to approve (2) transactions instead of (1)
  • Application hangs or appears to when creating a new Ballot ( Add Ballot button )
1 Like

#6

@jlegassic

  • All ballots created my Jeff Flowers not me (?)

It is because of this issue Validators DApp does match current list of Validators on Netstats

Btw, I’ve fixed Governance at the original link: https://oraclesorg.github.io/oracles-dapps-voting

  • When attempting to Vote when there are (2) Unanswered ballots ( on the Unanswered Ballot page ) MetaMask is prompting to approve (2) transactions instead of (1)
  • Application hangs or appears to when creating a new Ballot ( Add Ballot button )

Do these problems still exist at the original link for you?

0 Likes

#7

Victor,

Regarding

  • When attempting to Vote when there are (2) Unanswered ballots ( on the Unanswered Ballot page ) MetaMask is prompting to approve (2) transactions instead of (1)
  • Application hangs or appears to when creating a new Ballot ( Add Ballot button )

Do these problems still exist at the original link for you?

No, they don’t exist at original link. I tried to reproduce the issue by creating (2) new Test ballots but MetaMask behaved correctly, so either:

  • user error ( me being impatient, etc … )
  • also see in github you submitted fix for web3.isAddress deprecated issue yesterday, didn’t look at exact time but maybe Dapp got redeployed when I was creating ballots (?)

More likely the first reason.

Thanks!
john

0 Likes