-
Notifications
You must be signed in to change notification settings - Fork 150
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
chore: Synchronize contract interface naming #2801
Conversation
537a56a
to
a35811f
Compare
What is the rule of the naming of the keys of state variables, parameters, prefixes? Maybe we need one? |
1e56e15
to
0d4251c
Compare
aa0340b
to
368c42d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the rule of the naming of the keys of state variables, parameters, prefixes? Maybe we need one?
we don't have anything strict, basically "don't repeat vars" and "single char as most as possible to save space". To be honest I don't like how we do it tho, using an enum or similar would probably be nicer so we cannot have human error creating collision between keys in the same state. But it is what it is, it works in the current form and we should be changing this much in the future anyway
This is a positive change, its good to keep the code with some organization/structure.
however, I've noticed these changes result in the testdbhash
being updated, which it shouldn't IMO
@jorgemmsilva |
exactly. But that should not happen (we shouldn't change the keys as it will cause issues on running networks) |
@jorgemmsilva I think this place could be one of the reason that I need to update the hash |
368c42d
to
f24b600
Compare
No description provided.