Merge pull request #10815 from ethereum/enableCall

Enable test.
This commit is contained in:
chriseth 2021-01-20 15:04:58 +01:00 committed by GitHub
commit 085b5c423d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4906,6 +4906,8 @@ BOOST_AUTO_TEST_CASE(bare_call_return_data)
}
}
)DELIMITER";
ALSO_VIA_YUL(
DISABLE_EWASM_TESTRUN()
compileAndRun(sourceCode, 0, "C");
ABI_CHECK(callContractFunction("f(string)", encodeDyn(string("return_bool()"))), encodeArgs(true, 0x40, 0x20, true));
ABI_CHECK(callContractFunction("f(string)", encodeDyn(string("return_int32()"))), encodeArgs(true, 0x40, 0x20, u256(-32)));
@ -4923,6 +4925,7 @@ BOOST_AUTO_TEST_CASE(bare_call_return_data)
ABI_CHECK(callContractFunction("check_bytes4()"), encodeArgs(true));
ABI_CHECK(callContractFunction("check_multi()"), encodeArgs(true));
ABI_CHECK(callContractFunction("check_bytes()"), encodeArgs(true));
)
}
}
}