Skip to content

Commit

Permalink
Update docs for rename create_with_code_of to create_forwarder_to.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueswww committed Mar 5, 2019
1 parent eeee97d commit d7742fe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/built-in-functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,11 @@ Note: To give it a more Python like syntax, the assert function can be called wi

Emits a log without specifying the abi type, with the arguments entered as the first input.

**create_with_code_of**
**create_forwarder_to**
-----------------------
::

def create_with_code_of(a, value=b):
def create_forwarder_to(a, value=b):
"""
:param a: the address of the contract to duplicate.
:type a: address
Expand Down
3 changes: 2 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ Following the principles and goals, Vyper **does not** provide the following fea
Compatibility-breaking Changelog
********************************

* **2019.02.14**: Creating a persistent contract address can only be done using the _address_ syntax: `bar_contact: address(ERC20)`.
* **2019.03.04**: `create_with_code_of` has been renamed to `create_forwarder_to`. (`#1177 <https://github.com/ethereum/vyper/issues/1177>`_)
* **2019.02.14**: Assigning a persistent contract address can only be done using the `bar_contact = ERC20(<address>)` syntax.
* **2019.02.12**: ERC20 interface has to be imported using `from vyper.interfaces import ERC20` to use.
* **2019.01.30**: Byte array literals need to be annoted using `b""`, strings are represented as `""`.
* **2018.12.12**: Disallow use of `None`, disallow use of `del`, implemented `clear()` built-in function.
Expand Down
10 changes: 8 additions & 2 deletions docs/installing-vyper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,16 @@ and try compiling a contract:
Snap
****

Vyper is published in the snap store. In any of the `supported Linux distros <https://snapcraft.io/docs/core/install>`_, install it with:
Vyper is published in the snap store. In any of the `supported Linux distros <https://snapcraft.io/docs/core/install>`_, install it with (Note that installing the above snap is the latest master):
::

sudo snap install vyper --edge --devmode

::


To install the latest beta version use:

::

(Note that installing the above snap is the latest master)
sudo snap install vyper --beta --devmode

0 comments on commit d7742fe

Please sign in to comment.