AOSSIE-Org / AOSSIE-Org/Agora-Blockchain

BUG: Refactoring Lazy Ballot Initialization

Aperta
#230 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
97
Fork
199
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Issue Description ✍️

### Currently, Election.sol contains the exact same logic in both userVote and ccipVote to initialize the ballot if it hasn't been yet.

### Modifier Fix: we can create an ensureBallot modifier to handle this logic automatically.

@Ronnieraj37 please check this out , feel free to assign

### Record

- [x] I have synced all my node versions as mentioned in the project
- [x] I am using the same version of npm as is the project
- [x] My current branch is in sync with the development branch
- [x] I want to work on this issue

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.