AOSSIE-Org / AOSSIE-Org/Agora-Blockchain

BUG: Refactoring Lazy Ballot Initialization

Abierto
#230 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
97
Forks
199
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.