mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Force running abi coder v1 instead of v2.
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user