Merge pull request #3634 from ethereum/useCorrectVersionForEmit

Use 0.4.21 pragma for documentation that uses "emit".
This commit is contained in:
chriseth
2018-03-07 18:13:11 +01:00
committed by GitHub
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ registering with username and password - all you need is an Ethereum keypair.
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract Coin {
// The keyword "public" makes those variables
+3 -3
View File
@@ -219,7 +219,7 @@ activate themselves.
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract SimpleAuction {
// Parameters of the auction. Times are either
@@ -376,7 +376,7 @@ high or low invalid bids.
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract BlindAuction {
struct Bid {
@@ -529,7 +529,7 @@ Safe Remote Purchase
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract Purchase {
uint public value;
+1 -1
View File
@@ -86,7 +86,7 @@ Events are convenience interfaces with the EVM logging facilities.
::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract SimpleAuction {
event HighestBidIncreased(address bidder, uint amount); // Event
+1 -1
View File
@@ -470,7 +470,7 @@ Example that shows how to use internal function types::
Another example that uses external function types::
pragma solidity ^0.4.20; // should actually be 0.4.21
pragma solidity ^0.4.21;
contract Oracle {
struct Request {