py-evm
py-evm copied to clipboard
A Python implementation of the Ethereum Virtual Machine
This came during in [a review](https://github.com/ethereum/py-evm/pull/1756#discussion_r276808415) of a PR which touched this file. The current implementation duplicates some logic which could probably be pulled out into a helper function. The...
* py-evm Version: py-evm==0.2.0a33 (pinned by pip install web3[tester] as recommended by carver) * OS: Arch Linux * Python Version (python --version): Python 3.7.3 * Environment (output of `pip freeze`):...
* py-evm Version: master @ 942765d ### What is wrong? I *think* this is what's happening. I'm debugging a different part of the stack, so can't dive in this moment:...
### What is wrong? eg~ ``` DEBUG2 03-29 10:00:50 logging.py Setting decoded storage in account 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa & slot 1 to value 2 DEBUG2 03-29 10:00:50 logging.py Setting decoded storage in...
https://github.com/ethereum/py-evm/pull/1644 involved [a change](https://github.com/ethereum/py-evm/pull/1644/files/000a4f1524bcfabea95b246c5960f1937fb98495#diff-854c5f416c8246fb9f2b264d7d84ab89) to how py-evm decides whether an account exists: ```diff def extcodehash(computation: BaseComputation) -> None: """ Return the code hash for a given address. EIP: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1052.md """...
For some reason, this fails the tests with: >TypeError: compute_difficulty() got multiple values for argument 'bomb_delay' ([CI job](https://circleci.com/gh/ethereum/py-evm/126329?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link)) _Originally posted by @cburgdorf in https://github.com/_render_node/MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1ODgxNzM1Nw==/comments/review_comment_
### What is wrong? Currently when multiple benchmarks need to share some setup, they have to pass state around. We could probably improve the runner to handle that more elegantly...
Replaces: https://github.com/ethereum/py-evm/pull/1515 , removing all of the `trinity` components which will be added in a separate PR to the `trinity` repo once this is merged and released. ### What was...
### Why is this here? These thoughts are not accessible in a public place, nor have they been well aggregated. ### Why does Piper have concerns about EWASM? #### Computation...
### What was wrong? As part of the discussion [here](https://github.com/ethereum/py-evm/pull/1666#issuecomment-451587778), a new `Stack Benchmark` is needed. ### How was it fixed? A `TestStack.sol` contract was written which would serve as...