Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 21 20:06

    carver on v0.3.0-alpha.20

    (compare)

  • Oct 21 20:06

    carver on master

    Compile release notes Bump version: 0.3.0-alpha.19 → … (compare)

  • Oct 19 21:23
    developerfred commented #1958
  • Oct 19 20:58
    Peppece synchronize #1937
  • Oct 19 20:40
    Peppece synchronize #1937
  • Oct 19 20:36
    Peppece synchronize #1937
  • Oct 19 14:37
    voith commented #1958
  • Oct 19 14:37
    voith commented #1958
  • Oct 19 14:10
    pipermerriam commented #1958
  • Oct 19 14:05
    gitcoinbot commented #1958
  • Oct 19 14:04
    pipermerriam commented #1958
  • Oct 19 12:28
    Peppece synchronize #1937
  • Oct 19 12:23
    MatthiasLohr opened #1959
  • Oct 19 12:15
    Peppece synchronize #1937
  • Oct 19 12:10
    voith commented #1958
  • Oct 19 12:10
    Peppece synchronize #1937
  • Oct 19 12:06
    Peppece synchronize #1937
  • Oct 19 11:56
    Peppece synchronize #1937
  • Oct 19 11:44
    Peppece synchronize #1937
  • Oct 16 16:53
    pipermerriam commented #1958
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.
Just some guy
@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.
Just some guy
@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.
Just some guy
@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
Just some guy
@fubuloubu
I replaced in our test cases SELFDESTRUCT with a simple send that replicates the same result, and it passes
Voith Mascarenhas
@voith
:+1:
Just some guy
@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...
@/all
Voith Mascarenhas
@voith
:tada:
Just some guy
@fubuloubu
Thanks for the fix to ethereum/py-evm#1865
Jason Carver
@carver
:+1:
Jacques Wagener
@jacqueswww
:clap:
Chris Calderon
@SerpentChris
If I want to make a chain to use for testing a smart contract, can I use the Chain class instead of the MiningChain class?
Christoph Burgdorf
@cburgdorf
@SerpentChris You need the MiningChain class when you want to build blocks incrementally instead of importing blocks in one go.
Jason Carver
@carver
For testing, you might be interested in using web3.py with eth-tester (which uses py-evm under the hood)
Just some guy
@fubuloubu
is Python 3.8 in the works for this project and eth-tester?
Jason Carver
@carver
I don't think there should be any problems w/ running it in py3.8. Do you know of anything? Obviously we'll want to add tests at some point, but it's not an active project that I know of @fubuloubu
Jason Carver
@carver
nm, I see in ethereum/vyper#1678 that there's some problem with the blake2b library
Just some guy
@fubuloubu
We were trying to upgrade, but I think it's just been premature. Is it just me, or has 3.7/3.8 moved a lot faster than previous release?