Block voting button if are on the last block of a period or on the first block
@zamrokk is already working on this.
Since Mar 16, 2022.
Assessment
This issue has not been assessed yet.
Description
SUMMARY: Block voting button if are on the last block of a period or on the first block
IMPACT:
- last block : vote will not be taken into account because when the block will be forged, it will appear on the next period and so, be rejected by the smart contract
- first block : first block needs to be forged on tezos for the next period index to be display on the chain, then update of the oracle will appear on the second block (normally...if no delay), then when voting :
- vote tx is also on 1st block => rejection
- vote tx is also on oracle update or before => rejection
Solution ? compare oracle index and tezos index, if different, not time to vote, if sync, then all is fine for voting. So VOTE button can be displayed
REPRODUCTION:
- last block : vote on last block of voting period
- first block :
- vote on first block
- vote before oracle is updated
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from marigold-dev/tzvote
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
marigold-dev/tzvote#43 · 1 reaction ·
-
create a template where the creator can choose a baker and all its delegators will be invited. Their votes will correspond to their voting powerMay be free again @zamrokk claimed this 1083 days ago, and no pull request is open. Open
marigold-dev/tzvote#42 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
marigold-dev/tzvote#41 · 1 comment · 1 reaction ·
-
ui fixesOpen
Difficulty 5/5 Over a week Newbie friendliness 20/100
marigold-dev/tzvote#39 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
marigold-dev/tzvote#29 ·
All issues in marigold-dev/tzvote
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
oxidecomputer/skepsis#102 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
voidzero-dev/void#677 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kunchenguid/gh-axi#247 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lidge-jun/opencodex#8101 · 2 comments ·
Maintainers usually reply within 1 day