From d7742fe407808fd7357b86d2bbbafa2178bea37b Mon Sep 17 00:00:00 2001 From: Jacques Wagener Date: Tue, 5 Mar 2019 15:13:52 +0200 Subject: [PATCH] Update docs for rename create_with_code_of to create_forwarder_to. --- docs/built-in-functions.rst | 4 ++-- docs/index.rst | 3 ++- docs/installing-vyper.rst | 10 ++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/built-in-functions.rst b/docs/built-in-functions.rst index 2ae4b6164ed..7cb5471427a 100644 --- a/docs/built-in-functions.rst +++ b/docs/built-in-functions.rst @@ -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 diff --git a/docs/index.rst b/docs/index.rst index 9ff94c59482..203ba647f97 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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 `_) +* **2019.02.14**: Assigning a persistent contract address can only be done using the `bar_contact = ERC20(
)` 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. diff --git a/docs/installing-vyper.rst b/docs/installing-vyper.rst index bbd17ff2af5..694ef29c765 100644 --- a/docs/installing-vyper.rst +++ b/docs/installing-vyper.rst @@ -225,10 +225,16 @@ and try compiling a contract: Snap **** -Vyper is published in the snap store. In any of the `supported Linux distros `_, install it with: +Vyper is published in the snap store. In any of the `supported Linux distros `_, 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