AOSSIE-Org / AOSSIE-Org/Agora-Blockchain

BUG: Refactoring Lazy Ballot Initialization

Đang mở
#230 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
97
Fork
199
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.