aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ABIDecoderTests.cpp
diff options
context:
space:
mode:
authorChase McDermott <chasemcd1745@tamu.edu>2018-08-07 21:19:50 +0800
committerchriseth <chris@ethereum.org>2018-08-15 00:53:06 +0800
commitb000a022f2d7c1057ade755ed1ea8c70380688a5 (patch)
tree1de31eef468d3dfea1dd9b129889e70f86730a4a /test/libsolidity/ABIDecoderTests.cpp
parente3b6c5a4bdbc3066889b6898e5e07bfd599a4d37 (diff)
downloaddexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.tar
dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.tar.gz
dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.tar.bz2
dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.tar.lz
dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.tar.xz
dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.tar.zst
dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.zip
Update tests
Diffstat (limited to 'test/libsolidity/ABIDecoderTests.cpp')
-rw-r--r--test/libsolidity/ABIDecoderTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/ABIDecoderTests.cpp b/test/libsolidity/ABIDecoderTests.cpp
index f91a4f85..94319985 100644
--- a/test/libsolidity/ABIDecoderTests.cpp
+++ b/test/libsolidity/ABIDecoderTests.cpp
@@ -234,7 +234,7 @@ BOOST_AUTO_TEST_CASE(byte_arrays)
return (a, b.length, b[3], c);
}
- function f_external(uint a, bytes b, uint c)
+ function f_external(uint a, bytes calldata b, uint c)
external pure returns (uint, uint, byte, uint) {
return (a, b.length, b[3], c);
}
@@ -261,7 +261,7 @@ BOOST_AUTO_TEST_CASE(calldata_arrays_too_large)
{
string sourceCode = R"(
contract C {
- function f(uint a, uint[] b, uint c) external pure returns (uint) {
+ function f(uint a, uint[] calldata b, uint c) external pure returns (uint) {
return 7;
}
}