From de0efa5225878e8dea911810e904568bce0281ca Mon Sep 17 00:00:00 2001 From: Giuseppe Cerami Date: Tue, 3 Nov 2020 18:11:18 +0100 Subject: [PATCH] [WIP] Implement subroutine opcodes --- docs/contributing.rst | 9 ++------- docs/guides/quickstart.rst | 4 ++-- eth/vm/forks/berlin/__init__.py | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docs/contributing.rst b/docs/contributing.rst index 4368b98d43..8ffe99d4ef 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -6,13 +6,8 @@ Thank you for your interest in contributing! We welcome all contributions no mat Setting the stage ~~~~~~~~~~~~~~~~~ -**Only on macOS**: if it is the first time you install Py-EVM, you will need to install LevelDB with brew before taking the following steps: - -.. code:: sh - - brew install python3 LevelDB - - +.. note:: + If it is the first time you install py-evm on macOS, check https://py-evm.readthedocs.io/en/latest/guides/quickstart.html#installing-on-macos We need to clone the Py-EVM repository. Py-EVM depends on a submodule of the common tests across all clients, so we need to clone the repo with the ``--recursive`` flag. Example: diff --git a/docs/guides/quickstart.rst b/docs/guides/quickstart.rst index 5f9319e05d..8c42deb851 100644 --- a/docs/guides/quickstart.rst +++ b/docs/guides/quickstart.rst @@ -37,11 +37,11 @@ Finally, we can install the ``py-evm`` package via pip. Installing on macOS ------------------- -First, install Python 3 with brew: +First, install Python 3 and LevelDB with brew: .. code:: sh - brew install python3 + brew install python3 leveldb .. note:: .. include:: /fragments/virtualenv_explainer.rst diff --git a/eth/vm/forks/berlin/__init__.py b/eth/vm/forks/berlin/__init__.py index bd750ee05e..34ccd00ca4 100644 --- a/eth/vm/forks/berlin/__init__.py +++ b/eth/vm/forks/berlin/__init__.py @@ -28,4 +28,4 @@ class BerlinVM(MuirGlacierVM): # Methods create_header_from_parent = staticmethod(create_berlin_header_from_parent) # type: ignore compute_difficulty = staticmethod(compute_berlin_difficulty) # type: ignore - configure_header = configure_berlin_header + configure_header = configure_berlin_header \ No newline at end of file