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

Update Lock Gold Error Message "Not Account" #10315

Merged
merged 6 commits into from
May 19, 2023
Merged

Conversation

aaronmgdr
Copy link
Member

@aaronmgdr aaronmgdr commented May 15, 2023

Description

When trying to lock celo many devs have ran into the reversion message "not account". this is ambiguous. often it seems like a param is missing or something.

Tested

Related issues

Backwards compatibility

i believe changes in error messages are not consider api changes

Documentation

@aaronmgdr aaronmgdr requested a review from a team as a code owner May 15, 2023 18:48
@aaronmgdr aaronmgdr requested a review from a team May 15, 2023 18:48
Copy link
Contributor

@soloseng soloseng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@pahor167
Copy link
Contributor

Can we also update Accounts.sol since there is also quite few errors such as "Not an account" ?

It will also be necessary to update getVersionNumber function

@aaronmgdr
Copy link
Member Author

Can we also update Accounts.sol since there is also quite few errors such as "Not an account" ?

It will also be necessary to update getVersionNumber function

yes will do!

aaronmgdr added 2 commits May 18, 2023 13:36
…nknown Account" with more descriptive and actionable messages
… "Unknown Account" with more descriptive and actionable messages
@aaronmgdr aaronmgdr requested a review from soloseng May 18, 2023 18:39
@aaronmgdr
Copy link
Member Author

@pahor167 I went and updated places where error message as just Not an Account or Unknown Account to be more specific often to the action being performed.

let me know if this needs further changes.

Copy link
Contributor

@montera82 montera82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@aaronmgdr aaronmgdr merged commit 00f615e into master May 19, 2023
@martinvol martinvol mentioned this pull request Jun 14, 2023
@mcortesi mcortesi deleted the aaronmgdr/lock-error-msg branch August 23, 2023 12:56
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.

4 participants