aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-17 02:19:34 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-17 17:51:03 +0800
commit5dc9a8df9209af90fa389008af0c40258929cd14 (patch)
tree3eeb5acab7de5d20de77686d9e482195483e798b
parenteccf7867fa3fcd8826513d995a17647ccf7045c5 (diff)
downloaddexon-solidity-5dc9a8df9209af90fa389008af0c40258929cd14.tar.gz
dexon-solidity-5dc9a8df9209af90fa389008af0c40258929cd14.tar.zst
dexon-solidity-5dc9a8df9209af90fa389008af0c40258929cd14.zip
Added anonymous flag to event.
added test
-rw-r--r--SolidityEndToEndTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp
index d9cbbfde..05d2e3af 100644
--- a/SolidityEndToEndTest.cpp
+++ b/SolidityEndToEndTest.cpp
@@ -2214,7 +2214,7 @@ BOOST_AUTO_TEST_CASE(event_anonymous)
)";
compileAndRun(sourceCode);
callContractFunction("deposit()");
- BOOST_REQUIRE_EQUAL(m_logs.size(), 0);
+ BOOST_REQUIRE_EQUAL(m_logs[0].topics.size(), 0);
}
BOOST_AUTO_TEST_CASE(event_lots_of_data)