mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
common changes
This commit is contained in:
parent
074d0a7c90
commit
9d1f544347
@ -50,15 +50,15 @@ struct JsonrpcFixture {
|
||||
cnote << "teardown jsonrpc";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
BOOST_GLOBAL_FIXTURE(JsonrpcFixture)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(jsonrpc_balanceAt)
|
||||
{
|
||||
cnote << "Testing jsonrpc balanceAt...";
|
||||
dev::KeyPair pair = keys[0];
|
||||
// string balance = jsonrpcClient->balanceAt(toJS(pair.address()));
|
||||
|
||||
auto address = keys[0].address();
|
||||
string balance = jsonrpcClient->balanceAt(toJS(address), 0);
|
||||
BOOST_CHECK_EQUAL(jsToDecimal(toJS(web3.ethereum()->balanceAt(address))), balance);
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(jsonrpc_block)
|
||||
|
Loading…
Reference in New Issue
Block a user