Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 21:14
    pipermerriam commented #1204
  • Jan 31 18:44

    davesque on master

    Add docstring for `merge_args_a… Add/update comments in `merge_a… Minor lint/whitespace and 2 more (compare)

  • Jan 31 18:44
    davesque closed #1228
  • Jan 31 18:30
    kclowes commented #1204
  • Jan 31 16:44
    fubuloubu opened #1229
  • Jan 31 15:57
    fubuloubu commented #1022
  • Jan 31 15:56
    fubuloubu commented #1210
  • Jan 31 06:05
    davesque review_request_removed #1228
  • Jan 31 06:04
    davesque commented #1228
  • Jan 31 02:27
    davesque review_requested #1228
  • Jan 31 02:13
    pipermerriam review_requested #1228
  • Jan 31 00:35
    davesque synchronize #1228
  • Jan 31 00:34
    davesque opened #1228
  • Jan 31 00:30

    davesque on master

    Remove unnecessary use of list Add some helpful whitespace Merge pull request #1226 from d… (compare)

  • Jan 31 00:29
    davesque closed #1226
  • Jan 31 00:29
    davesque commented #1226
  • Jan 30 23:20
    kclowes commented #1157
  • Jan 30 23:04
    pipermerriam commented #1157
  • Jan 30 22:53
    kclowes edited #1227
  • Jan 30 22:49
    kclowes closed #1157
Ben Hauser
@iamdefinitelyahuman
Ahahaha thanks @fubuloubu
The newest release of Brownie is using pytest for contract testing (finally) - I'm super appreciative of any feedback about how it's been implemented, good or bad.
Ben Hauser
@iamdefinitelyahuman
Also would love to speak to someone with intimate knowledge of eth-tester - i'd really like to use it instead of ganache but i have some questions that I haven't been able to turn up answers for as of yet.
Mikko Ohtamaa
@miohtama
@iamdefinitelyahuman I am no expert, but I have been using it for very long time
so happy to help if I can
Bryant Eisenbach
@fubuloubu
are there any good utilities for converting a 65 byte signature into a vrs pair?
jannikluhn
@jannikluhn
@fubuloubu maybe the signature class in eth-keys: https://github.com/ethereum/eth-keys/blob/master/eth_keys/datatypes.py#L359
Bryant Eisenbach
@fubuloubu
Thanks
kclowes
@kclowes
The long awaited v5.0.0 stable is out! :tada: Here are the release notes: https://web3py.readthedocs.io/en/stable/releases.html
Bryant Eisenbach
@fubuloubu
:tada: :tada: :tada: :tada:
regarding eth_chainId, is web3py basically just ahead of the curve on EIP-695? I wasn't aware this was commonly implemented in web3 libraries (but glad it's in web3py)
Basically, I wasn't aware that geth/parity implemented eth_chainId
kclowes
@kclowes
I think they both do. Looks like as of geth 1.9 and parity as of 2.2 if I'm reading it right: (ethereum/go-ethereum@2b54666 & https://github.com/paritytech/parity-ethereum/commit/b8da38f4e4d79b12b3901ae496a28dd960c27d6a)
Bryant Eisenbach
@fubuloubu
oh, nice
did not know that
EIP-695 is still in Last Call
which is an improvement over the last time I saw it, so that's good
kclowes
@kclowes
moving right along :laughing:
Bryant Eisenbach
@fubuloubu
lol, I commented on this EIP in Last Call already
kclowes
@kclowes
ha nice
Jason Carver
@carver

The long awaited v5.0.0 stable is out!

:tada: :heart:

Mikko Ohtamaa
@miohtama
Hola ladies and gentlemen!
I have problems installing web3 4.0 with eth-tester
pip and pip-compile, for some reason, do no longer automatically resolve correct dependency versions and I always end up with this error:
pip-compile -o requirements.txt Could not find a version that matches eth-abi<2.0.0,<3.0.0,>=1.2.0,>=2.0.0b4 (from -r /var/folders/23/qsmpv3gd2lx88f7p6wp3t3yc0000gn/T/tmp2g4lax9u (line 3)) Tried: 0.5.0, 0.5.0, 1.0.0, 1.0.0, 1.1.0, 1.1.0, 1.1.1, 1.1.1, 1.2.0, 1.2.0, 1.2.1, 1.2.1, 1.2.2, 1.2.2, 1.3.0, 1.3.0, 2.0.0, 2.0.0 Skipped pre-versions: 1.0.0b0, 1.0.0b0, 1.0.0b1, 1.0.0b1, 2.0.0a1, 2.0.0a1, 2.0.0b0, 2.0.0b0, 2.0.0b1, 2.0.0b1, 2.0.0b2, 2.0.0b2, 2.0.0b3, 2.0.0b3, 2.0.0b4, 2.0.0b4, 2.0.0b5, 2.0.0b5, 2.0.0b6, 2.0.0b6, 2.0.0b7, 2.0.0b7, 2.0.0b8, 2.0.0b8, 2.0.0b9, 2.0.0b9 There are incompatible versions in the resolved dependencies: eth-abi (from -r /var/folders/23/qsmpv3gd2lx88f7p6wp3t3yc0000gn/T/tmp2g4lax9u (line 3)) eth-abi<2.0.0,>=1.2.0 (from web3[tester]==4.9.2->-r /var/folders/23/qsmpv3gd2lx88f7p6wp3t3yc0000gn/T/tmp2g4lax9u (line 1)) eth-abi<3.0.0,>=2.0.0b4 (from eth-tester[py-evm]==0.1.0-beta.39->web3[tester]==4.9.2->-r /var/folders/23/qsmpv3gd2lx88f7p6wp3t3yc0000gn/T/tmp2g4lax9u (line 1))
Here are my requirements:
requirements = [ 'web3[tester]<5', # Cannot have more specific web3 settings separately in test_requirements 'eth-typing', 'eth-abi', 'coloredlogs', 'colorama', 'tabulate', 'sqlalchemy>=1.3.0b1', 'tqdm', 'configobj', 'click', 'arrow', 'pysha3<2.0.0', ]
There might be a lemon release somewhere with bad dependencies pinning, but I cannot figure out where
Mikko Ohtamaa
@miohtama
Is there a Know Good Set of versions for Web3 4.x somewhere... for the inspiration?
kclowes
@kclowes
We have known dependency issues with v4 tester. It used to be that on install, it threw an error, but still worked anyway. I think you should be able to use eth-abi 1.3 even though it complains
Mikko Ohtamaa
@miohtama
@kclowes If I do that then I get ModuleNotFoundError: No module named 'eth.utils'
Would you have a working requirements.txt or pip freeze output somewhere?
kclowes
@kclowes
This is from a fresh virtual env running pip install web3[tester]==4.9.2:
asn1crypto==0.24.0
attrdict==2.0.1
certifi==2019.6.16
cffi==1.12.3
chardet==3.0.4
cryptography==2.7
cytoolz==0.10.0
eth-abi==1.3.0
eth-account==0.3.0
eth-bloom==1.0.3
eth-hash==0.2.0
eth-keyfile==0.5.1
eth-keys==0.2.4
eth-rlp==0.1.2
eth-tester==0.1.0b39
eth-typing==2.1.0
eth-utils==1.6.2
hexbytes==0.2.0
idna==2.8
lru-dict==1.1.6
mypy-extensions==0.4.1
parsimonious==0.8.1
py-ecc==1.7.1
py-evm==0.2.0a42
py-geth==2.1.0
pycparser==2.19
pycryptodome==3.8.2
pyethash==0.1.27
requests==2.22.0
rlp==1.1.0
semantic-version==2.6.0
six==1.12.0
toolz==0.10.0
trie==1.4.0
urllib3==1.25.3
web3==4.9.2
websockets==6.0
Mikko Ohtamaa
@miohtama
@kclowes Thx!
kclowes
@kclowes
np! hope it helps!
Mikko Ohtamaa
@miohtama
@kclowes Ok, I think I managed to create a working setup.py
a lot of hard pinned down versions, but at least it installs!@
kclowes
@kclowes
:tada:
Mikko Ohtamaa
@miohtama
I think py-evm was the tricky one
kclowes
@kclowes
ah, good to know
geekblue-org
@geekblue-org
test
```python
Ryan Chow
@chowryan
when / how is gas price suggestion calculated? is it based on the average price of the previous block?
Jason Carver
@carver
As I recall, the default is to use eth_gasPrice (or leave the gas price empty) which just asks your node to fill something in. So it's whatever geth/parity/etc uses. There are custom gas price estimators in python that you can opt into, though.
Mikko Ohtamaa
@miohtama
@kclowes Good work
Is ethPM a thing yet?
kclowes
@kclowes
ethPM is a thing! https://docs.ethpm.com/ @njgheorghita is the main author and knows much more than I do! In web3 you need to enable it with: w3.enable_unstable_package_management_api()
Nick Gheorghita
@njgheorghita
heyo @miohtama - feel free to join us and ask any questions in https://gitter.im/ethpm/Lobby