Added anonymous flag to event.

added test
This commit is contained in:
Liana Husikyan 2015-03-16 19:19:34 +01:00
parent eccf7867fa
commit 5dc9a8df92

View File

@ -2214,7 +2214,7 @@ BOOST_AUTO_TEST_CASE(event_anonymous)
)"; )";
compileAndRun(sourceCode); compileAndRun(sourceCode);
callContractFunction("deposit()"); 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) BOOST_AUTO_TEST_CASE(event_lots_of_data)