Closed pacrob closed 5 months ago
As done with GenesisData in #210, type geth_kwargs using a TypedDict.
GenesisData
geth_kwargs
TypedDict
This does break some function signatures in the accounts.py file:
accounts.py
get_accounts
create_new_account
ensure_account_exits
They now only take **geth_kwargs as their argument, so any positional args must now be passed as kwargs.
**geth_kwargs
Upon reviewing python subprocess docs, we should only be passing strings, no ints. Updated geth_kwargs fields that were int type to all be str type.
subprocess
int
str
What was wrong?
As done with
GenesisData
in #210, typegeth_kwargs
using aTypedDict
.This does break some function signatures in the
accounts.py
file:get_accounts
create_new_account
ensure_account_exits
They now only take
**geth_kwargs
as their argument, so any positional args must now be passed as kwargs.Upon reviewing python
subprocess
docs, we should only be passing strings, no ints. Updatedgeth_kwargs
fields that wereint
type to all bestr
type.Todo:
Cute Animal Picture