-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Rename get_hash_tree_root to get_deposit_root #1279
Conversation
Improve naming
The deposit contract is already under bytecode formalization and I believe changing a name changes it's internal identified representation. Would rather just close this |
Do you mean the bytecode changes? |
the function selector bytes will change if the name changes -- function is identified by first four bytes of |
I guess we can put in this cleanup if we do end up changing the bytecode for whatever reason. |
Reopening to bundle with #1341 😂 |
In terms of the bytecode formal verification we are currently working on, the function name change wouldn't be a big problem, and I think we can manage to adjust our work to such a simple change. But this change will result in having two functions with similar names and interfaces: |
❤️
The class Eth1Data(Container):
deposit_root: Hash # Populated with `get_deposit_root` from the deposit contract
deposit_count: uint64 # Populated with `get_deposit_count` from the deposit contract
block_hash: Hash |
Closing in favour of #1362 |
Improve naming