aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ABIEncoderTests.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-25 22:54:50 +0800
committerGitHub <noreply@github.com>2018-06-25 22:54:50 +0800
commit0ac46090971aab21120875e0e55317e4bd2b397e (patch)
treea027ddad46f3c20ef7d3b013b230083895c81db5 /test/libsolidity/ABIEncoderTests.cpp
parentb7003505c46942ca2ee4e5317d14f421d5b9bc6d (diff)
parent6d9a091a8e0c7e5a958ff910c9f8dc828a39e0e4 (diff)
downloaddexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.gz
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.bz2
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.lz
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.xz
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.tar.zst
dexon-solidity-0ac46090971aab21120875e0e55317e4bd2b397e.zip
Merge pull request #3534 from meowingtwurtle/strictAddresses
[BREAKING] Strict checking of address literals
Diffstat (limited to 'test/libsolidity/ABIEncoderTests.cpp')
-rw-r--r--test/libsolidity/ABIEncoderTests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/ABIEncoderTests.cpp b/test/libsolidity/ABIEncoderTests.cpp
index 227eadb5..c5ece5df 100644
--- a/test/libsolidity/ABIEncoderTests.cpp
+++ b/test/libsolidity/ABIEncoderTests.cpp
@@ -279,9 +279,9 @@ BOOST_AUTO_TEST_CASE(storage_array_dyn)
address[] addr;
event E(address[] a);
function f() public {
- addr.push(1);
- addr.push(2);
- addr.push(3);
+ addr.push(0x0000000000000000000000000000000000000001);
+ addr.push(0x0000000000000000000000000000000000000002);
+ addr.push(0x0000000000000000000000000000000000000003);
E(addr);
}
}