From bfe80dec6bfc5ed857ae13230d7923a07f9ed22a Mon Sep 17 00:00:00 2001 From: Harry Altman Date: Thu, 17 Dec 2020 22:04:04 -0500 Subject: [PATCH] Mark msg.sender and tx.origin as nonpayable in docs --- docs/units-and-global-variables.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/units-and-global-variables.rst b/docs/units-and-global-variables.rst index d97ed3e90..ae6bf014d 100644 --- a/docs/units-and-global-variables.rst +++ b/docs/units-and-global-variables.rst @@ -77,11 +77,11 @@ Block and Transaction Properties - ``block.timestamp`` (``uint``): current block timestamp as seconds since unix epoch - ``gasleft() returns (uint256)``: remaining gas - ``msg.data`` (``bytes calldata``): complete calldata -- ``msg.sender`` (``address payable``): sender of the message (current call) +- ``msg.sender`` (``address``): sender of the message (current call) - ``msg.sig`` (``bytes4``): first four bytes of the calldata (i.e. function identifier) - ``msg.value`` (``uint``): number of wei sent with the message - ``tx.gasprice`` (``uint``): gas price of the transaction -- ``tx.origin`` (``address payable``): sender of the transaction (full call chain) +- ``tx.origin`` (``address``): sender of the transaction (full call chain) .. note:: The values of all members of ``msg``, including ``msg.sender`` and