This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
24 lines
678 B
Docker
24 lines
678 B
Docker
FROM ubuntu:14.04
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt-get update
|
|
RUN apt-get upgrade -y
|
|
|
|
RUN apt-get install -qy curl git python2.7 python-pip python-dev
|
|
|
|
# this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes
|
|
ADD https://api.github.com/repos/ethereum/pyethereum/git/refs/heads/develop unused.txt
|
|
|
|
RUN git clone --branch develop --recursive https://github.com/ethereum/pyethereum.git
|
|
|
|
RUN cd pyethereum && curl https://bootstrap.pypa.io/bootstrap-buildout.py | python
|
|
|
|
RUN cd pyethereum && bin/buildout
|
|
|
|
#default port for incoming requests
|
|
EXPOSE 30303
|
|
|
|
WORKDIR /pyethereum
|
|
|
|
ENTRYPOINT ["bin/python", "tests/test_vm.py"]
|