mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
New vocab.
This commit is contained in:
parent
48ffa08783
commit
a89fa99994
@ -1151,7 +1151,7 @@ BOOST_AUTO_TEST_CASE(blockchain)
|
|||||||
" blockNumber = block.number;\n"
|
" blockNumber = block.number;\n"
|
||||||
" }\n"
|
" }\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
m_envInfo.setBeneficiary(Address(0x123));
|
m_envInfo.setAuthor(Address(0x123));
|
||||||
m_envInfo.setNumber(7);
|
m_envInfo.setNumber(7);
|
||||||
compileAndRun(sourceCode, 27);
|
compileAndRun(sourceCode, 27);
|
||||||
BOOST_CHECK(callContractFunctionWithValue("someInfo()", 28) == encodeArgs(28, 0x123, 7));
|
BOOST_CHECK(callContractFunctionWithValue("someInfo()", 28) == encodeArgs(28, 0x123, 7));
|
||||||
|
Loading…
Reference in New Issue
Block a user