aboutsummaryrefslogtreecommitdiffstats
path: root/vm.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-04-17 22:24:23 +0800
committerchriseth <c@ethdev.com>2015-04-17 22:24:23 +0800
commit6b08b99b5ef319837f9293cca6fd74803fe4688d (patch)
treefe3e39ec2f14e1c52137c9734da36766ba57ba53 /vm.cpp
parent6753e0a8e6796e99ee826c28c7bcbde55348b07d (diff)
parent7571971ca05fd12e3603531044e094ffc0000fb2 (diff)
downloaddexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar
dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.gz
dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.bz2
dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.lz
dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.xz
dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.tar.zst
dexon-solidity-6b08b99b5ef319837f9293cca6fd74803fe4688d.zip
Merge remote-tracking branch 'ethereum/develop' into sol_overloadingFunctions
Diffstat (limited to 'vm.cpp')
-rw-r--r--vm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.cpp b/vm.cpp
index 4728b8a5..9e21972f 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -85,7 +85,7 @@ void FakeExtVM::reset(u256 _myBalance, u256 _myNonce, map<u256, u256> const& _st
void FakeExtVM::push(mObject& o, string const& _n, u256 _v)
{
- o[_n] = toString(_v);
+ o[_n] = "0x" + toHex(toCompactBigEndian(_v));
}
void FakeExtVM::push(mArray& a, u256 _v)
@@ -448,7 +448,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin)
BOOST_AUTO_TEST_SUITE(VMTests)
-BOOST_AUTO_TEST_CASE(vm_tests)
+BOOST_AUTO_TEST_CASE(vmtests)
{
dev::test::executeTests("vmtests", "/VMTests", dev::test::doVMTests);
}