-
Notifications
You must be signed in to change notification settings - Fork 352
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
Add amount parameter #326
base: master
Are you sure you want to change the base?
Add amount parameter #326
Conversation
… per validator. Intentionally, it will not be inputted in prompts of CLI and default is 32.
…emonic.py' have been updated with '--amount 32'. Added new test to test_validation.py named 'test_validate_ether_amount_range'. CLI test remains untouched due to no prompting.
@CarlBeek, can I get your comment on this improvement? |
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.
- I don't see any valid reason to deposit less than 1 ether, or more than 32 ether to the validator. However, I also don't see why the limitation is here. Might be useful to remove these limitations for future usage.
- Further testing might be needed.
Hey guys, we would really appreciate any feedback on this feature.
I think this is very useful for Liquid Staking Providers and I am keen to see it live. |
@geode-main could you come to eth-educators#53 please and discuss this with us. I’d like to understand the workflow and where the deposit tool comes in. RocketPool: Their software takes care of deposits and the right amount Geode: Haven’t looked at it yet but I expect a similar flow? Or do they use ethdo currently? We do have a partial deposit command now for top ups, though it will require good testing on Holesky. |
@yorickdowne It seems to me that Looking forward to further discussion, let me know. |
@geode-main Yes I’d like to understand your use case better and see whether partial-deposit really solves it. Can you find me on Discord or TG? |
Previously, the ether amount had to be fixed at 32 ether. In other words, the script generates keystores that signed to deposit 32 ether per validator. However, people might need to deposit any amount of ether between 1 to 32. For example, in Rocketpool protocol, operators have to deposit 16 ether. In Geode Finance, operators have to deposit 1 and 31 ether respectively. To facilitate such operations, the amount variable can be parameterized.
Changes: