Merge pull request #204 from ethereum/hot_gav

The Big Refactor
This commit is contained in:
Gav Wood
2015-11-19 12:20:46 +01:00
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -1151,7 +1151,7 @@ BOOST_AUTO_TEST_CASE(blockchain)
" blockNumber = block.number;\n"
" }\n"
"}\n";
m_envInfo.setBeneficiary(Address(0x123));
m_envInfo.setAuthor(Address(0x123));
m_envInfo.setNumber(7);
compileAndRun(sourceCode, 27);
BOOST_CHECK(callContractFunctionWithValue("someInfo()", 28) == encodeArgs(28, 0x123, 7));
@@ -42,7 +42,8 @@ namespace test
class ExecutionFramework
{
public:
ExecutionFramework()
ExecutionFramework():
m_state(0)
{
if (g_logVerbosity != -1)
g_logVerbosity = 0;