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 14:02
    cburgdorf opened #1721
  • Jan 31 2019 14:00
    cburgdorf commented #1719
  • Jan 31 2019 13:45
    cburgdorf synchronize #1719
  • Jan 31 2019 13:40
    cburgdorf commented #1719
  • Jan 31 2019 13:38
    cburgdorf edited #1719
  • Jan 31 2019 13:35
    cburgdorf synchronize #1719
  • Jan 29 2019 13:39
    cburgdorf unlabeled #1306
  • Jan 28 2019 13:34
    Bhargavasomu commented #1670
  • Jan 28 2019 12:55
    Bhargavasomu synchronize #1670
  • Jan 28 2019 12:48
    Bhargavasomu synchronize #1670
  • Jan 26 2019 12:11
    cburgdorf closed #1315
  • Jan 26 2019 08:53
    Bhargavasomu commented #1315
  • Jan 25 2019 16:09

    pipermerriam on master

    Implement get_transaction_recei… (compare)

  • Jan 25 2019 16:09
    pipermerriam closed #1705
  • Jan 25 2019 12:27
    veox commented #1646
  • Jan 24 2019 17:52
    Bhargavasomu commented #1705
  • Jan 24 2019 17:39
    Bhargavasomu synchronize #1705
  • Jan 24 2019 17:26
    Bhargavasomu synchronize #1705
  • Jan 24 2019 16:39

    pipermerriam on master

    Remove last occurrences of apos… (compare)

  • Jan 24 2019 16:39
    pipermerriam closed #1720
Noel Maersk
@veox
Yup, that's it. yield THREE (unconditional) passes the test. So, just need to cherry-pick the conditions, so that other tests don't all fail...
Noel Maersk
@veox

OK, I can't figure out how to do this without a double-pass through the nested computations, or ugly hacks - not today, at least, and got to run anyway.

I liked it more when aleth was filling the tests. :/

Tan
@tanmaster
hi, i kinda feel stupid for asking this, but is there a way to set the code of an address with vm.state.setCode() and then persist it without getting a validation error when mining the block?
Tan
@tanmaster
nevermind, i solved it: i extended the IstanbulVM class and the MiningChain class, overrid mine_block in both and commented out the lines in which the validation happens.
Voith Mascarenhas
@voith
@veox nice work! With my current knowledge it would have taken me ages to figure that out 😅
Noel Maersk
@veox
veox/py-evm@6c6db73 - supposed fix (for 4 of 6 failures).
Noel Maersk
@veox
I'm relatively certain that the branch will now pass all the tests (i.e. fixed the remaining 2).
Noel Maersk
@veox
@voith and all: should I submit the fixes as a PR for PR #1852, or roll a new PR including everything?..
Y'all' be at devcon, so there won't be anyone to review/merge it anyway...
Voith Mascarenhas
@voith
@veox do anything that is convenient for you. I have no problem closing the PR that I've opened.
Jason Carver
@carver
Yeah, I'm not checking github notifications regularly, but if you @ mention me in here, I'll get to it soon-ish @veox
Chris Calderon
@SerpentChris
Tried install py-evm on PPC64 Linux today and it failed :( . One of the dependencies, blake2b-py fails to build because it's dependency, marturin, fails to build because it's rust dependency ring v0.16.9, fails to build.
Chris Calderon
@SerpentChris
Is there some reason blake2b-py is used instead of the blake functions in hashlib? They are standard starting with python version 3.6
Chris Calderon
@SerpentChris
OH, it looks like you switched to this module because it is "560x" faster about 21 days ago.
Chris Calderon
@SerpentChris
For now I think I can just checkout the commit before the merge. Unrelatedly, there is another problem that stops me from being able to easily use py-evm on PPC64 big endian Linux, which is that the pyethash version this depend on seems to have a problem compiling on big endian platforms. This issue was fixed in the pyethash repo but I don't think that fix was put onto pypi, so the version pip tries to install fails.
Chris Calderon
@SerpentChris
I've made an issue with ring, so maybe they can fix the build failure.
Jason Carver
@carver

For now I think I can just checkout the commit before the merge.

Yup, this is a reasonable solution for now. It is possible to make the blake2b-py install optional and maintain the pure python implementation as a backup. It's probably not top priority for us, but if you open an issue or want to work on it yourself I'm happy to guide on the necessary steps.

the pyethash version this depend on seems to have a problem compiling on big endian platforms. This issue was fixed in the pyethash repo but I don't think that fix was put onto pypi, so the version pip tries to install fails.

Can you link to the issue or the fix in the repo? I can push out a release, just want to make sure I understand the change you need so I can verify it's working, before release.

@SerpentChris
Chris Calderon
@SerpentChris
On my big endian system, when I recently tried to install ethash via pip it complained about the issue that was fixed by this commit.
Chris Calderon
@SerpentChris
I think I found the issue? PyPI has an ehtash package and a pyethash package. The ethash package installs fine but py-evm tries to install the pyethash package which is broken.
Honestly I'm a bit confused here. These packages are all on PyPI: ethash, pyethash, and eth-hash.
Bryant Eisenbach
@fubuloubu
was there any change in how selfdestruct is being handled for Istanbul?
IIRC there was not, but we are experiencing some issues: ethereum/vyper#1657
Voith Mascarenhas
@voith
@fubuloubu I just had a look at the test failures and it seems like the transactions need more gas.
Bryant Eisenbach
@fubuloubu
The gas cost of SELFDESTRUCT wasn't changed though, was it?
Voith Mascarenhas
@voith
I just went through the Istanbul meta EIP and it doesn’t seem like the gas cost of SELFDESTRUCT was changed.
Bryant Eisenbach
@fubuloubu
yup
I forgot that this has nothing to do with Istanbul because the issue gets introduced when we use eth-tester v0.2b1+
(which uses py-evm 0.2.0a43+ under the hood)
Istanbul was only introduced in eth-tester v0.2b3 I believe
Voith Mascarenhas
@voith
Hmmm, yeah. But istanbul could break some tests, specially ethereum/EIPs#2200
Bryant Eisenbach
@fubuloubu
I replaced in our test cases SELFDESTRUCT with a simple send that replicates the same result, and it passes
Voith Mascarenhas
@voith
:+1:
Bryant Eisenbach
@fubuloubu
btw @carver the CHANGELOG for eth-tester still says v0.2.0b3 is unreleased
Noel Maersk
@veox
We should probably change 7_000_000 to 5_000_000 (same as Constantinople/Petersburg) on this line, if there is to be no difficulty bomb reset for Istanbul. (And looks like there won't be.) (EDIT: Or use the petersburg function altogether.)
I've done some slackjob calculations, and (given no changes in net-wide hashrate, a big given) the bomb won't make 10% of the difficulty for ~500 more days.
A tad too optimistic for my taste, since unexpected delays are always possible (as Constantinople/Petersburg showed), but I'll refrain from suggesting in ACD a "reset" should be done preemptively.
Christoph Burgdorf
@cburgdorf
Just merged Clique Consensus PR ethereum/py-evm#1855 Trinity side should follow soon.
Noel Maersk
@veox
QQ: Does newsfragments support multiple lines?..
Noel Maersk
@veox
As in, there are two noteworthy changes in PR #1878, that should both be listed...
OK, towncrier --draft is my friend. ^_^
Noel Maersk
@veox
Is there a "common repo" for the boilerplate newsfragments/README.md file? Turns out fragments from the misc category don't get their contents displayed, they just get the numbers listed in a "Miscellaneous internal changes" section.
Christoph Burgdorf
@cburgdorf
@veox if those are separate categories (e.g performance and feature) then you can create two individual files. If those are of the same category then I'm unaware of differentiating them apart from line breaks.
@veox eventually it will make it into the ethereum-python-project-template ethereum/ethereum-python-project-template#28 but we wanted to wait for the next Trinity release to see if there are any further tweaks to the release script needed.
Noel Maersk
@veox
Thanks, looks like just the thing.
Jason Carver
@carver

Turns out fragments from the misc category don't get their contents displayed, they just get the numbers listed in a "Miscellaneous internal changes" section.

Yeah, as far as I know, someone did this intentionally. I added an "internal" section to trinity that shows towncrier content here: https://github.com/ethereum/trinity/blob/62a85b1d3c89908c37fd62d9c4370dc8e3b139e2/pyproject.toml#L34-L37 -- the idea is that it's only of interest to contributors rather than users. Then misc would be for trivial changes, like maybe changing flake8 rules and updating the repo. @veox

Jason Carver
@carver
I merged in the #1858 changes (in #1871 ) and am starting in on a release...