Test updates for recent versions of aleth.

This commit is contained in:
Daniel Kirchner
2018-12-11 04:47:05 +01:00
parent baaefb4b42
commit 6d82ad1338
6 changed files with 13 additions and 55 deletions
+2 -1
View File
@@ -3039,7 +3039,8 @@ BOOST_AUTO_TEST_CASE(gaslimit)
}
)";
compileAndRun(sourceCode);
ABI_CHECK(callContractFunction("f()"), encodeArgs(gasLimit()));
auto result = callContractFunction("f()");
ABI_CHECK(result, encodeArgs(gasLimit()));
}
BOOST_AUTO_TEST_CASE(gasprice)