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 2019 21:14
    pipermerriam commented #1204
  • Jan 31 2019 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 2019 18:44
    davesque closed #1228
  • Jan 31 2019 18:30
    kclowes commented #1204
  • Jan 31 2019 16:44
    fubuloubu opened #1229
  • Jan 31 2019 15:57
    fubuloubu commented #1022
  • Jan 31 2019 15:56
    fubuloubu commented #1210
  • Jan 31 2019 06:05
    davesque review_request_removed #1228
  • Jan 31 2019 06:04
    davesque commented #1228
  • Jan 31 2019 02:27
    davesque review_requested #1228
  • Jan 31 2019 02:13
    pipermerriam review_requested #1228
  • Jan 31 2019 00:35
    davesque synchronize #1228
  • Jan 31 2019 00:34
    davesque opened #1228
  • Jan 31 2019 00:30

    davesque on master

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

  • Jan 31 2019 00:29
    davesque closed #1226
  • Jan 31 2019 00:29
    davesque commented #1226
  • Jan 30 2019 23:20
    kclowes commented #1157
  • Jan 30 2019 23:04
    pipermerriam commented #1157
  • Jan 30 2019 22:53
    kclowes edited #1227
  • Jan 30 2019 22:49
    kclowes closed #1157
Mikko Ohtamaa
@miohtama
@Exef is this on testrpc?
Ben Hauser
@iamdefinitelyahuman
@exef if you have access to the debug API, you can extract it from debug_traceTransaction - but it's a bit of work
brownie, which works on top of web3.py, can do most of the heavy lifting for you. the revert message is available as TransactionReceipt.revert_msg
Bryant Eisenbach
@fubuloubu
when can we do a new eth-account release? Python 3.8 support and mnemonics seem like enough to do a release
maybe v0.5.0
Ben Hauser
@iamdefinitelyahuman
yes pls, i very much want to use mnemonics as soon as possible
Bryant Eisenbach
@fubuloubu
I added the release notes here: ethereum/eth-account#93
marlowl
@marlowl
@Exef I did something similar as what @iamdefinitelyahuman is saying only with the Parity trace_replayTransaction function and a simple custom hexToAscii function. Don't know which client you are using?
Filip Małachowicz
@Exef
@marlowl Parity with archive enabled or Alchemy. I'm using trace = web3.parity.traceReplayTransaction(tx_hash, mode=['trace', 'vmTrace', 'stateDiff'] but for error reason I only get "error": "Reverted" in the trace AttributeDict
@iamdefinitelyahuman Thank you, but unfortunately, I'm using it for an API that I build.
kclowes
@kclowes
Thanks for writing up release notes @fubuloubu! @iamdefinitelyahuman I am technically out this week so I don’t want to do a release and then go MIA Just in case something goes sideways. I can definitely do it next Monday when I’m back though or maybe @carver or @pipermerriam have time to do it this week
Eth-Gitter-Bridge
@Eth-Gitter-Bridge
<carver> Yeah, I will aim for today or tomorrow
kclowes
@kclowes
Awesome, Thanks!
Ben Hauser
@iamdefinitelyahuman
excellent!
marlowl
@marlowl
@Exef I did get the same, the actual error messages are in the output field of traceReplayTransaction
wschwab
@wschwab
Hi, I'm a bit confused - how do I get the ABI of a contract I didn't deploy using web3.py?
Bryant Eisenbach
@fubuloubu
@wschwab you have to have it around already. Etherscan is a great resource to get those for published contracts
or, you can compile from scratch
wschwab
@wschwab
Got it, thanks.
Steven Nevins
@dmintercept
tried pip install web3 in a virtualenv and it failed :/
Nick Gheorghita
@njgheorghita
hmm @dmintercept can you provide more details about what you tried? everything’s installing fine on my machine
Bryant Eisenbach
@fubuloubu
@carver plz sir, can we has mnemonics
aka new release
Eth-Gitter-Bridge
@Eth-Gitter-Bridge
<carver> Ah yes, had some internet trouble last week, and lost track of it. Taking a look, now...
Eth-Gitter-Bridge
@Eth-Gitter-Bridge
<carver> Ok, it's out as v0.5.0 @fubuloubu @keri @iamdefinitelyahuman -- https://eth-account.readthedocs.io/en/stable/releases.html#v0-5-0
<keri> 🎉 thanks @carver!
Bryant Eisenbach
@fubuloubu
thank you!
Ben Hauser
@iamdefinitelyahuman
thanks!!!
kclowes
@kclowes
@/all I haven't heard anything about anyone using v4 still (see this issue: ethereum/web3.py#1575), so we will plan on ending support for web3py v4 tomorrow. If you still need v4 for your dapp, please speak now or forever hold your peace!
Voith Mascarenhas
@voith
@kclowes No objections from my side. I have ported all my projects to v5.
kclowes
@kclowes
:thumbsup: awesome, thanks @voith!
Rodrigo Sobrero
@rodrigosobrero
Hi Guys! I'm having this error "eth_abi.exceptions.NoEntriesFound: No matching entries for 'tuple' in decoder registry"? Anyone knows how to fix this?
kclowes
@kclowes
What are you doing when you see that @rodrigosobrero?
Rodrigo Sobrero
@rodrigosobrero

@kclowes

contract = w3.eth.contract(address=address, abi=abi)
event_filter = contract.events.LogLiquidate.createFilter(fromBlock=8070406, toBlock=8070408)
print(event_filter.get_all_entries())

kclowes
@kclowes
hmm, what version of web3 are you using?
Rodrigo Sobrero
@rodrigosobrero
Name: web3
Version: 5.7.0
Summary: Web3.py
kclowes
@kclowes
nothing stands out to me as obviously wrong there, but if you open an issue with a minimum reproducible example, I can dig in a little further
Eth-Gitter-Bridge
@Eth-Gitter-Bridge
<carver> Maybe somehow your web3.py got updated without updating eth-abi? @rodrigosobrero what do you get from $ pip freeze | grep abi?
Ed Noepel
@EdNoepel
I'm trying to determine why the linter isn't happy with imports on my unit test. After removing an unused import, CI started reporting ERROR: InvocationError. The tests themselves run fine. Any guidance would be appreciated.
kclowes
@kclowes

@EdNoepel it doesn't like single line imports. It wants:

from web3._utils import (
    request,
 )

I thought I pinned isort to a different version so this wouldn't happen, but it must have gotten unpinned.

kclowes
@kclowes
... and they have to be alphabetized
sorry it's such a pain
Ed Noepel
@EdNoepel
Does it need a trailing comma after the last item?
kclowes
@kclowes
I think so? But not sure. If you look at the bottom of the lint test output, it shows you where it wants the lines and what they should look like
You can also run isort -rc web3/ tests/ and commit what it gives you. I should have started with that suggestion first
Ed Noepel
@EdNoepel
I've been playing whack-a-mole with the linter, and got it down to one issue:
web3/_utils/request.py:41: error: "post" of "Session" gets multiple values for keyword argument "data"
data is an optional arg to sessions.post. I'm ensuring it isn't passed through kwargs. I cannot fathom why the linter believes it's getting multiple values, or what I should do to make it happy.
Ed Noepel
@EdNoepel
The previous implementation had a # type: ignore in there which I'd prefer to resolve. The current implementation passes *args to session.post although session.post only takes **kwargs. Is there a convenient way to run that linting logic locally?
Noel Maersk
@veox
@EdNoepel These errors sometimes happen because of flaws in the linter itself. Have you checked its bug tracker?