aboutsummaryrefslogtreecommitdiffstats
path: root/txTest.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-09-05 23:09:58 +0800
committerGav Wood <i@gavwood.com>2014-09-05 23:09:58 +0800
commit38dd3fb050cae0bc28205ecff8591fa44605efc7 (patch)
treea7a8c238e98f1ec02fe02aaf51c645bb494a27d3 /txTest.cpp
parentd0d1e91a685dda428af9dd41a3afd83424dc5775 (diff)
downloaddexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.tar
dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.tar.gz
dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.tar.bz2
dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.tar.lz
dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.tar.xz
dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.tar.zst
dexon-solidity-38dd3fb050cae0bc28205ecff8591fa44605efc7.zip
Project-wide reorganisation of namespaces.
Diffstat (limited to 'txTest.cpp')
-rw-r--r--txTest.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/txTest.cpp b/txTest.cpp
index 314cf964..cc78c26a 100644
--- a/txTest.cpp
+++ b/txTest.cpp
@@ -27,7 +27,8 @@
#include <libethereum/EthereumHost.h>
#include "TestHelper.h"
using namespace std;
-using namespace eth;
+using namespace dev;
+using namespace dev::eth;
// Disabled since tests shouldn't block. Need a short cut to avoid real mining.
/*
@@ -46,7 +47,7 @@ BOOST_AUTO_TEST_CASE(mine_local_simple_tx)
//send c2 some eth from c1
auto txAmount = c1bal / 2u;
auto gasPrice = 10 * szabo;
- auto gas = eth::c_callGas;
+ auto gas = dev::eth::c_callGas;
c1.transact(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice);
//mine some more to include the transaction on chain
@@ -74,7 +75,7 @@ BOOST_AUTO_TEST_CASE(mine_and_send_to_peer)
//send c2 some eth from c1
auto txAmount = c1bal / 2u;
auto gasPrice = 10 * szabo;
- auto gas = eth::c_callGas;
+ auto gas = dev::eth::c_callGas;
c1.transact(kp1.secret(), txAmount, kp2.address(), bytes(), gas, gasPrice);
//mine some more to include the transaction on chain
@@ -105,7 +106,7 @@ BOOST_AUTO_TEST_CASE(mine_and_send_to_peer_fee_check)
//send c2 some eth from c1
auto txAmount = c1StartBalance / 2u;
auto gasPrice = 10 * szabo;
- auto gas = eth::c_callGas;
+ auto gas = dev::eth::c_callGas;
c1.transact(kp1.secret(), txAmount, c2.address(), bytes(), gas, gasPrice);
//mine some more, this time with second client (so he can get fees from first client's tx)