Skip to content

Commit

Permalink
add ethereum classic evm rulesets to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdefinitelyahuman committed Jan 10, 2020
1 parent 4483f7d commit 59e2992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/compile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The EVM Version

By default, ``evm_version`` is set to ``null``. Brownie uses ``byzantium`` when compiling Solidity versions ``<=0.5.4``, ``petersburg`` for Solidity ``>=0.5.5`` and Vyper.

If you wish to use a specific compiler version you can set the EVM version manually. Valid options are ``byzantium``, ``constantinople``, ``petersburg`` and ``istanbul``.
You can also set the EVM version manually. Valid options are ``byzantium``, ``constantinople``, ``petersburg`` and ``istanbul``. You can also use the Ethereum Classic rulesets ``atlantis`` and ``agharta``, which are converted to their Ethereum equivalents prior to being passed to the compiler.

See the `Solidity <https://solidity.readthedocs.io/en/latest/using-the-compiler.html#setting-the-evm-version-to-target>`_ and `Vyper <https://vyper.readthedocs.io/en/latest/compiling-a-contract.html#setting-the-target-evm-version>`_ documentation for more info on the different EVM versions.

Expand Down
2 changes: 1 addition & 1 deletion docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The following settings are available:
Compiler settings. See :ref:`compiler settings<compile_settings>` for more information.

* ``evm_version``: The EVM version to compile for. If ``null`` the most recent one is used. Possible values are ``byzantium``, ``constantinople`` and ``petersburg``.
* ``evm_version``: The EVM version to compile for. If ``null`` the most recent one is used. Possible values are ``byzantium``, ``constantinople``, ``petersburg``, ``istanbul``, ``atlantis`` and ``agharta``.
* ``minify_source``: If ``true``, contract source is minified before compiling.

.. py:attribute:: compiler.solc
Expand Down

0 comments on commit 59e2992

Please sign in to comment.