mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added anonymous flag to event.
added test
This commit is contained in:
parent
eccf7867fa
commit
5dc9a8df92
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user