Closed pacrob closed 4 months ago
It looks like the README needs to be updated as well since LiveGethProcess
doesn't exist any more
This may be an existing bug, or just something weird in my env, but running through the README examples, when I ask the DevGethProcess
for accounts, I get a double of the same address:
>>> from geth import DevGethProcess
>>> g = DevGethProcess()
>>> g.accounts
('0xa95c66bff0c92edecb365c23d86f687026b48d79',
'0xa95c66bff0c92edecb365c23d86f687026b48d79')
It looks like the README needs to be updated as well since
LiveGethProcess
doesn't exist any more
I'm not seeing any reference to LiveGethProcess
anywhere except changelog and newsfragments. Where are you seeing it?
This may be an existing bug, or just something weird in my env, but running through the README examples, when I ask the
DevGethProcess
for accounts, I get a double of the same address:>>> from geth import DevGethProcess >>> g = DevGethProcess() >>> g.accounts ('0xa95c66bff0c92edecb365c23d86f687026b48d79', '0xa95c66bff0c92edecb365c23d86f687026b48d79')
That is pre-existing - I get the same with the current release 4.4.0
Not sure why, but maybe related to the 2 instances of password
on ln 157 of accounts.py
?
Opened issue #218 to look at separately.
Nice work! I believe we use py-geth to generate our fixtures in web3. Did you check that to make sure any ripple effects are handled? Otherwise, I left some small inline comments
Test pr here: https://github.com/ethereum/web3.py/pull/3417
Passes all web3 tests with current typed-py-geth
branch as dep.
What was wrong?
py-geth
had no typing.Closes #116
How was it fixed?
Added typing
Notable updates:
accounts.py
1-2 args + thegeth_kwargs
dict, and returnedbytes
. They've been updated to accept onlykwargs
and return strings.get_geth_version_info_string
now returnsstr
instead ofbytes
LiveGethProcess
, geth kwargsipc_api
,miner_threads
and the--ssh
flag.write_genesis_file
now takesgenesis_data
as adict
orkwargs
gasLimit
updated to geth's default0x47e7c4
PyGethException
See release notes for full detail.
Thanks, @DavidRomanovizc for your assistance in the initial test PR #161
Todo:
Cute Animal Picture