Force running abi coder v1 instead of v2.

This commit is contained in:
chriseth
2020-12-09 15:25:15 +01:00
parent d525a8bccb
commit a5bd22795e
14 changed files with 46 additions and 58 deletions
+1 -1
View File
@@ -468,7 +468,7 @@ BOOST_AUTO_TEST_CASE(creation)
{
deployWallet(200);
BOOST_REQUIRE(callContractFunction("isOwner(address)", m_sender) == encodeArgs(true));
bool v2 = solidity::test::CommonOptions::get().useABIEncoderV2;
bool v2 = !solidity::test::CommonOptions::get().useABIEncoderV1;
BOOST_REQUIRE(callContractFunction("isOwner(address)", h256(~0)) == (v2 ? encodeArgs() : encodeArgs(false)));
}