Skip to content

Commit

Permalink
[WIP] Implement subroutine opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Peppece committed Mar 9, 2021
1 parent a16d9a0 commit de0efa5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion eth/vm/forks/berlin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit de0efa5

Please sign in to comment.