Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically register account if needed when locking #210

Merged
merged 3 commits into from
Apr 2, 2024

Conversation

aaronmgdr
Copy link
Member

@aaronmgdr aaronmgdr commented Mar 29, 2024

Rather than failing of EOA is not registered with Account contract, just do the registration

simplify the process of voting by registering eoa as given that account is often used a synonym for eoa it was not clear from error messages that one must run account:register. this way it happens automatically for a nicer ux

This is slightly different than plan specified in #142 which was to register and lock while voting. but i think now that locking and voting in same might be a bit much

Screenshot 2024-04-02 at 11 50 19 AM

Other changes

n/a

Tested

add new test

Related issues

Backwards compatibility

yes

Documentation

n/a

… account.

Given that account is often used a synonym for eoa it was not clear from error messages that one must run account:register. this was it happens automatically
@aaronmgdr aaronmgdr requested a review from a team as a code owner March 29, 2024 10:24
Copy link

changeset-bot bot commented Mar 29, 2024

🦋 Changeset detected

Latest commit: 82ea521

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@celo/celocli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@aaronmgdr aaronmgdr enabled auto-merge (squash) April 2, 2024 10:04
@aaronmgdr aaronmgdr merged commit 5f304f0 into master Apr 2, 2024
18 checks passed
@aaronmgdr aaronmgdr deleted the aaronmgdr/142 branch April 2, 2024 11:03
@github-actions github-actions bot mentioned this pull request Apr 2, 2024
@github-actions github-actions bot mentioned this pull request Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I have a celo EOA and want to vote for a Validator Group via CLI
2 participants