diff options
author | chriseth <chris@ethereum.org> | 2018-08-08 04:12:52 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-08-15 00:53:06 +0800 |
commit | b30da8859a35065aafed3b2d9aeea5e0941e80c8 (patch) | |
tree | 236bfa1341501a4405530feab437caf192fb6c95 /test/compilationTests/zeppelin | |
parent | 13905a2094d454aa94259412a3cf20a5f8176fff (diff) | |
download | dexon-solidity-b30da8859a35065aafed3b2d9aeea5e0941e80c8.tar.gz dexon-solidity-b30da8859a35065aafed3b2d9aeea5e0941e80c8.tar.zst dexon-solidity-b30da8859a35065aafed3b2d9aeea5e0941e80c8.zip |
Update external tests.
Diffstat (limited to 'test/compilationTests/zeppelin')
-rw-r--r-- | test/compilationTests/zeppelin/MultisigWallet.sol | 2 | ||||
-rw-r--r-- | test/compilationTests/zeppelin/ownership/HasNoTokens.sol | 2 | ||||
-rw-r--r-- | test/compilationTests/zeppelin/ownership/Multisig.sol | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/compilationTests/zeppelin/MultisigWallet.sol b/test/compilationTests/zeppelin/MultisigWallet.sol index 3793428d..9aac5c53 100644 --- a/test/compilationTests/zeppelin/MultisigWallet.sol +++ b/test/compilationTests/zeppelin/MultisigWallet.sol @@ -55,7 +55,7 @@ contract MultisigWallet is Multisig, Shareable, DayLimit { * @param _value The value to send * @param _data The data part of the transaction */ - function execute(address _to, uint256 _value, bytes _data) external onlyOwner returns (bytes32 _r) { + function execute(address _to, uint256 _value, bytes calldata _data) external onlyOwner returns (bytes32 _r) { // first, take the opportunity to check that we're under the daily limit. if (underLimit(_value)) { emit SingleTransact(msg.sender, _value, _to, _data); diff --git a/test/compilationTests/zeppelin/ownership/HasNoTokens.sol b/test/compilationTests/zeppelin/ownership/HasNoTokens.sol index e14d8da7..079cef7c 100644 --- a/test/compilationTests/zeppelin/ownership/HasNoTokens.sol +++ b/test/compilationTests/zeppelin/ownership/HasNoTokens.sol @@ -18,7 +18,7 @@ contract HasNoTokens is Ownable { * @param value_ uint256 the amount of the specified token * @param data_ Bytes The data passed from the caller. */ - function tokenFallback(address from_, uint256 value_, bytes data_) external { + function tokenFallback(address from_, uint256 value_, bytes calldata data_) external { revert(); } diff --git a/test/compilationTests/zeppelin/ownership/Multisig.sol b/test/compilationTests/zeppelin/ownership/Multisig.sol index 25531d8d..2eb0f4bc 100644 --- a/test/compilationTests/zeppelin/ownership/Multisig.sol +++ b/test/compilationTests/zeppelin/ownership/Multisig.sol @@ -23,6 +23,6 @@ contract Multisig { // TODO: document function changeOwner(address _from, address _to) external; - function execute(address _to, uint256 _value, bytes _data) external returns (bytes32); + function execute(address _to, uint256 _value, bytes calldata _data) external returns (bytes32); function confirm(bytes32 _h) public returns (bool); } |