Skip to content

BUG: Refactoring Lazy Ballot Initialization #230

@aniket866

Description

@aniket866

Is there an existing issue for this?

  • 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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions