Open philipjonsen opened 2 weeks ago
Thanks for the report. We’ll take a look over at ethstaker deposit cli. Timely too, we just started an audit run :/
Looks like just a linter error. **kwargs is being passed, which means the keyword arguments are there
Description The function call does not pass a mandatory keyword-only argument. This is an error.
Bad practice
def func(foo, *args, test): print(foo, test)
func(10, 20, 30) # Missing required keyword argument 'test'
Recommended
def func(foo, *args, test): print(foo, test)
func(10, 20, 30, test=False)
Founder between https://github.com/eth2.0-deposit-cli/blob/master/staking_deposit/key_handling/keystore.py#L90-L90
Missing mandatory keyword argument 'iv' in function call:
https://github.com/eth2.0-deposit-cli/blob/master/staking_deposit/key_handling/keystore.py#L154-L154