Use ABI_CHECK for event data comparison.

This commit is contained in:
chriseth 2019-03-18 13:12:10 +01:00
parent 164a51eeae
commit 87ebb16890

View File

@ -41,7 +41,7 @@ namespace test
#define REQUIRE_LOG_DATA(DATA) do { \
BOOST_REQUIRE_EQUAL(m_logs.size(), 1); \
BOOST_CHECK_EQUAL(m_logs[0].address, m_contractAddress); \
BOOST_CHECK_EQUAL(toHex(m_logs[0].data), toHex(DATA)); \
ABI_CHECK(m_logs[0].data, DATA); \
} while (false)
BOOST_FIXTURE_TEST_SUITE(ABIEncoderTest, SolidityExecutionFramework)