carver on v0.4.0-alpha.4
carver on master
Compile release notes Bump version: 0.4.0-alpha.3 → 0… (compare)
kclowes on master
Update blake2b-py version requi… Add python 3.9 tests Merge pull request #1999 from k… (compare)
py-evmfor forking. ethereum/py-evm#1960. I'm trying to override balances, but they seem to "bounce back" in account db in a very mysterious way. Anyone aware why this would happen?
is it possible to build ethereum smart contracts in python instead of solidity?
apply_message? (https://github.com/ethereum/py-evm/blob/master/eth/vm/forks/frontier/computation.py#L52). I'm only seeing an OutOfGas handler for
pytest teststhrow exceptions below. Any ideas?
=================================================================================================== test session starts =================================================================================================== platform darwin -- Python 3.6.13, pytest-5.4.3, py-1.10.0, pluggy-0.13.1 plugins: Faker-6.5.0, asyncio-0.10.0, forked-1.2.0, cov-2.5.1, xdist-1.31.0, timeout-1.4.2, hypothesis-5.49.0 timeout: 300.0s timeout method: signal timeout func_only: False collected 36221 items / 1 skipped / 36220 selected .... .Killed: 9
pytest tests/core. If you want more, then
toxwill set other specific test subsets up. You can see those options listed in
tox -lor look at the circleCI config to see which ones we run on every pull request.
Hi I did a simple implementation of Code_Merlization ethereum/py-evm#1958
Is anyone else working on this?
If not, I'd like to refine my current implementation and start adding test cases.
from eth import constants, Chain from eth.vm.forks.frontier import FrontierVM from eth.vm.forks.homestead import HomesteadVM from eth.chains.mainnet import HOMESTEAD_MAINNET_BLOCK from eth.db.atomic import AtomicDB from eth.chains.mainnet import MAINNET_GENESIS_HEADER chain_class = Chain.configure( __name__='Test Chain', vm_configuration=( (constants.GENESIS_BLOCK_NUMBER, FrontierVM), (HOMESTEAD_MAINNET_BLOCK, HomesteadVM), ), ) chain = chain_class.from_genesis_header(AtomicDB(), MAINNET_GENESIS_HEADER) chain.mine_block()
This may be a silly question but is there a reason that new accounts cannot create contracts in
py-evm? In particular, it seems that contract creation always uses the sender nonce - 1 which results in a encoding error if the sender nonce is 0.
The code where this happens is here: https://github.com/ethereum/py-evm/blob/44e0ee4cb1756522ffe294a379d4735a25701003/eth/vm/forks/frontier/state.py#L68.
HTTPProviderto connect to a forked ganache node without any special config. Brownie bakes this in nicely.
increment_nonceoperation on a preceding line - nevermind :)