aboutsummaryrefslogtreecommitdiffstats
path: root/vm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* testeth: optional VM tracing (--vmtrace), command line options refactoring.Paweł Bylica2015-03-121-45/+24
| | | | Closes ethereum/cpp-ethereum#1280
* add input limit testsCJentzsch2015-03-091-27/+37
|
* blockchain testsCJentzsch2015-03-061-27/+27
| | | | | Conflicts: test/block.cpp
* Revert all asio.h includes except for in 2 files, DebuggingStateWrapper.h ↵jhuntley2015-03-051-2/+0
| | | | and Transact.cpp. After enabling WIN32_LEAN_AND_MEAN, all the asio.h include issues, commit 20b6e24ffcab088e71092e07030a377d3135da3c, went away.
* asio.h and windows.h build comments as per request.jhuntley2015-03-051-2/+5
|
* Avoid boost include order issue on windows:jhuntley2015-03-051-0/+1
| | | | | | | http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859 Make sure boost/asio.hpp is included before windows.h.
* Test Cases Changeswinsvega2015-03-041-2/+2
| | | | userDefinedFile test now goes with --test option for all cases
* add --all flag for time consuming testsCJentzsch2015-02-251-3/+3
|
* style - autoCJentzsch2015-02-131-2/+2
|
* use auto for steady clock and chrono::millisecondsCJentzsch2015-02-131-8/+6
|
* performance testCJentzsch2015-02-131-0/+28
|
* included vmInpulLimit Tests, updated vmSystemOperationTestsCJentzsch2015-01-151-6/+11
|
* Merge pull request #796 from CJentzsch/randomTestEfficiencyGav Wood2015-01-141-4/+4
|\ | | | | Random test efficiency
| * replace BOOST_REQUIRE with assert, because it is used outside the boost test ↵CJentzsch2015-01-141-4/+4
| | | | | | | | framework
* | fix callcreates imoportCJentzsch2015-01-131-3/+4
|/
* fixed warnings for msvc buildarkpar2015-01-131-1/+1
|
* add blockhash test fo vm testsCJentzsch2015-01-091-1/+2
|
* Implemented 256-long history for PREVHASH, though still optional.Gav Wood2014-12-241-1/+1
|
* Remove unnecessary changesPaweł Bylica2014-12-191-20/+20
|
* Merge branch 'develop' into develop-evmccPaweł Bylica2014-12-191-5/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CMakeLists.txt alethzero/CMakeLists.txt eth/CMakeLists.txt exp/CMakeLists.txt libethereum/CMakeLists.txt neth/CMakeLists.txt test/CMakeLists.txt test/TestHelper.cpp windows/Eth.vcxproj windows/Ethereum.sln windows/LibEthereum.vcxproj windows/LibEthereum.vcxproj.filters windows/TestEthereum.vcxproj windows/TestEthereum.vcxproj.filters windows/bootstrap.sh
| * append JSON objects to logwanderer2014-12-171-20/+4
| |
| * using json_spiritwanderer2014-12-171-31/+46
| |
| * changed output stacktrace format to jsonwanderer2014-12-171-3/+36
| |
| * Added recursive create test + lesser output for safe VM exceptionsCJentzsch2014-12-131-1/+1
| |
* | Merge commit '1b8f9fdc3b44503890ed1bcb5da8bd5cb8dd83a5' into develop-evmccPaweł Bylica2014-12-151-4/+4
|\| | | | | | | | | Conflicts: test/TestHelper.cpp
| * Beginnings of cleaning up the Executive/State code.Gav Wood2014-12-121-4/+4
| |
* | Add "--jit" option to State testsPaweł Bylica2014-12-121-14/+5
| |
* | Merge remote-tracking branch 'origin/vm' into develop-evmccPaweł Bylica2014-12-121-3/+4
|\|
| * Merge remote-tracking branch 'upstream/develop' into vmPaweł Bylica2014-12-121-3/+4
| |\ | | | | | | | | | | | | | | | | | | Conflicts: libethereum/Executive.cpp libethereum/Executive.h libethereum/State.cpp
| | * Remove extraneous old stuff for PoC-7.Gav Wood2014-12-121-3/+4
| | | | | | | | | | | | Fix gas remaining issue.
* | | Merge remote-tracking branch 'origin/vm' into develop-evmccPaweł Bylica2014-12-111-49/+37
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libethereum/Executive.cpp libethereum/Executive.h libethereum/State.cpp libevm/VM.cpp libevm/VM.h libevm/VMFace.h test/createRandomTest.cpp test/vm.cpp windows/LibEthereum.vcxproj.filters
| * | VMFactory - a new way of creating VMsPaweł Bylica2014-12-111-3/+4
| | |
| * | Merge branch 'develop' into vmPaweł Bylica2014-12-081-37/+22
| |\|
| | * state log testsCJentzsch2014-12-061-37/+2
| | |
| | * fix stackoverflow in calldataload, codecopy, extcodecopy + some testsCJentzsch2014-12-051-0/+20
| | |
| * | Use safe pointers in ExecutivePaweł Bylica2014-12-061-0/+1
| |/
* | Merge branch 'develop' into develop-evmccPaweł Bylica2014-12-051-3/+3
|\| | | | | | | | | | | Conflicts: libevm/VM.h test/createRandomTest.cpp
| * Merge branch 'develop' of github.com:ethereum/cpp-ethereum into developGav Wood2014-12-031-2/+2
| |\ | | | | | | | | | | | | Conflicts: test/vm.cpp
| | * styleCJentzsch2014-12-021-2/+2
| | | | | | | | | | | | | | | Conflicts: libevm/VM.h
| | * added logs to state testsCJentzsch2014-12-021-37/+2
| | |
| * | PV46. Minor protocol alterations.Gav Wood2014-12-031-1/+1
| |/
* | resolved circular dependency between libevm and libevmjitArtur Zawłocki2014-11-281-3/+7
| |
* | Merge branch 'develop' into develop-evmccPaweł Bylica2014-11-271-11/+56
|\| | | | | | | | | | | Conflicts: libevm/VM.h test/vm.cpp
| * styleChristoph Jentzsch2014-11-211-2/+0
| |
| * Merge remote-tracking branch 'upstream/develop' into newTestsChristoph Jentzsch2014-11-201-37/+48
| |\ | | | | | | | | | | | | Conflicts: test/vm.cpp
| * | Add Log testsChristoph Jentzsch2014-11-191-1/+48
| | |
* | | Do not catch OutOfGas exception in tests separatelyPaweł Bylica2014-11-211-15/+6
| | |
* | | Merge branch 'develop' into develop-evmccPaweł Bylica2014-11-211-2/+13
|\ \ \ | | |/ | |/| | | | | | | Conflicts: test/vm.cpp
| * | In VM tests, check only if an exception occurred if an exception expected ↵Paweł Bylica2014-11-191-33/+44
| |/ | | | | | | (no post state and output checking)
* | Fix VM testerPaweł Bylica2014-11-141-1/+1
| |
* | Merge branch 'develop' into develop-evmccPaweł Bylica2014-11-121-20/+39
|\| | | | | | | | | | | Conflicts: libdevcrypto/EC.cpp test/vm.cpp
| * All unintended VM exceptions work like OOG in testsChristoph Jentzsch2014-11-111-4/+12
| |
| * build fixChristoph Jentzsch2014-11-111-1/+1
| |
| * added generic userDefinedTest functionChristoph Jentzsch2014-11-111-39/+3
| |
| * Merge remote-tracking branch 'upstream/develop' into NewStateTestsChristoph Jentzsch2014-11-101-1/+1
| |\ | | | | | | | | | | | | | | | Conflicts: test/state.cpp test/tmpFiller.json
| | * styleChristoph Jentzsch2014-11-071-1/+1
| | |
| | * Merge remote-tracking branch 'upstream/develop' into StateBugChristoph Jentzsch2014-11-071-37/+13
| | |\
| * | | specified user defined testChristoph Jentzsch2014-11-101-21/+32
| | | |
| * | | Added random test executionChristoph Jentzsch2014-11-071-0/+36
| | | |
| * | | Merge branch 'stateTests' into NewStateTestsChristoph Jentzsch2014-11-061-33/+9
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | Conflicts: test/TestHelper.cpp test/vm.cpp
| * | | Merge branch 'StateBug' into NewStateTestsChristoph Jentzsch2014-11-051-5/+5
| |\ \ \ | | | |/ | | |/|
| | * | Fix ABAcalls OOG bugChristoph Jentzsch2014-11-041-5/+5
| | | |
| * | | Merge branch 'newTests' into NewStateTestsChristoph Jentzsch2014-11-051-4/+4
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Conflicts: test/vm.cpp test/vmArithmeticTestFiller.json test/vmSha3TestFiller.json
| | * | Update tests to latest protocol changes (PoC7)Christoph Jentzsch2014-11-041-5/+5
| | | |
* | | | Merge branch 'develop' into develop-evmccPaweł Bylica2014-11-071-411/+41
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | Conflicts: libevm/VM.h test/vm.cpp
| * | | styleChristoph Jentzsch2014-11-061-1/+1
| | | |
| * | | Added dynamic jump out of code testChristoph Jentzsch2014-11-061-1/+1
| | | |
| * | | Update transactions, style fixChristoph Jentzsch2014-11-061-12/+2
| | | |
| * | | Merge remote-tracking branch 'upstream/develop' into stateTestsChristoph Jentzsch2014-11-051-23/+9
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: test/state.cpp test/vm.cpp
| | * | | Classify Transaction.Gav Wood2014-11-051-25/+13
| | | |/ | | |/|
| * | | uncomment vmIOandFlowOPerations testChristoph Jentzsch2014-11-051-4/+4
| | |/ | |/|
| * | Clean up and organize tests + state class testsChristoph Jentzsch2014-11-031-171/+36
| | |
| * | Merge remote-tracking branch 'upstream/develop' into stateTestsChristoph Jentzsch2014-10-311-2/+2
| |\| | | | | | | | | | | | | | | | Conflicts: libethereum/AddressState.h test/vm.cpp
| * | Clean up FakeExtVM - move to state testsChristoph Jentzsch2014-10-311-186/+6
| | |
| * | Merge remote-tracking branch 'upstream/develop' into stateTestsChristoph Jentzsch2014-10-301-2/+2
| |\ \
| * | | Restructure state tests. Remove FakeStateClassChristoph Jentzsch2014-10-301-201/+177
| | | |
* | | | Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmccartur-zawlocki2014-10-311-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: libevmjit/Compiler.cpp
| * \ \ \ Merge branch 'develop' into develop-evmccPaweł Bylica2014-10-311-1/+1
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | Fix for Trie roots.Gav Wood2014-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | AddressState -> Account.
* | | | | allow --jit as non first argumentartur-zawlocki2014-10-311-3/+5
|/ / / /
* | | | Merge branch 'develop' into develop-evmccPaweł Bylica2014-10-301-3/+36
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: libevm/VM.h test/vm.cpp
| * | | Merge pull request #434 from CJentzsch/vmtraceBugFixGav Wood2014-10-301-2/+35
| |\| | | | |/ | |/| Vmtrace bug fix
| | * Fixed storage output in VMTRACE for vm testsChristoph Jentzsch2014-10-281-2/+35
| | |
* | | Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmccartur-zawlocki2014-10-291-45/+76
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: test/vm.cpp
| * | | Expose VM kind setting of State in FakeExtVMPaweł Bylica2014-10-291-9/+10
| | | | | | | | | | | | | | | | This reverts commit 6ad065bb3e30b5e67283f70e84ac55368e843e6a.
| * | | Merge branch 'develop' into develop-evmccPaweł Bylica2014-10-291-2/+2
| |\| | | | | | | | | | | | | | | | | | Conflicts: libevm/VM.h
| | * | Fix VM test code loading conditionsPaweł Bylica2014-10-281-2/+2
| | |/
| * | Merge branch 'develop' into develop-evmccPaweł Bylica2014-10-281-22/+53
| |\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libevm/ExtVMFace.h libevm/VM.h test/vm.cpp test/vm.h windows/LibEthereum.vcxproj.filters
| | * Update vm.cppChristoph Jentzsch2014-10-281-3/+0
| | |
| | * log VMTRACE in file for user defined testChristoph Jentzsch2014-10-281-25/+6
| | |
| | * VMTRACE for internal callsChristoph Jentzsch2014-10-281-0/+1
| | | | | | | | | | | | | | | Conflicts: test/vm.cpp
| | * Add VMTRACE to user defined vm testChristoph Jentzsch2014-10-281-5/+52
| | | | | | | | | | | | | | | Conflicts: test/vm.cpp
| | * Move suicides into SubState and include logs and refunds.Gav Wood2014-10-271-10/+14
| | | | | | | | | | | | Refund gas from zero-resetting SSTOREs.
| | * PoC-7: Reversion of 0-hashes, empty-list hashes and sha3('') -> ''Gav Wood2014-10-271-3/+4
| | |
| | * Changing gas cost to zero at stackunderflowChristoph Jentzsch2014-10-231-2/+1
| | |
| | * bug fixChristoph Jentzsch2014-10-231-7/+7
| | |
| | * Merge pull request #404 from imapp-pl/pr-fixesGav Wood2014-10-231-2/+38
| | |\ | | | | | | | | Enhance VM tests reports
| | | * Enhance VM tests reports, resolves ethereum/cpp-ethereum#399Paweł Bylica2014-10-211-2/+38
| | | |
| | * | Drop universal initializer in some placesPaweł Bylica2014-10-221-1/+1
| | | |
| | * | Remove dead codePaweł Bylica2014-10-221-11/+0
| | | |
| | * | Another round of fixing ExtVM interfacePaweł Bylica2014-10-221-4/+15
| | | |
* | | | MULMOD/ADDMOD implemented in separate functions [FIXES #80566276]artur-zawlocki2014-10-291-2/+24
|/ / /
* | | Revert "Expose VM kind setting of State in FakeExtVM"Paweł Bylica2014-10-231-10/+9
| | | | | | | | | | | | This reverts commit 2d0557e2ee236b73546d6dd9f3ed7d19ec852a0f.
* | | Expose VM kind setting of State in FakeExtVMPaweł Bylica2014-10-231-9/+10
| | |
* | | Change the way VMs are created (mostly for tracking where are created)Paweł Bylica2014-10-231-3/+4
| | |
* | | Update VM test engine to use VMFace interfacePaweł Bylica2014-10-221-7/+4
| | |
* | | Implement VMFace with jit::VMPaweł Bylica2014-10-221-1/+1
| | |
* | | Fix remaining gas testing [#81118624]Paweł Bylica2014-10-221-16/+17
| | |
* | | Merge branch 'develop' into develop-evmccPaweł Bylica2014-10-211-24/+41
|\| | | | | | | | | | | | | | | | | Conflicts: libevm/FeeStructure.cpp test/vm.cpp
| * | Make all exceptions dervie virtualChristoph Jentzsch2014-10-181-5/+6
| |\|
| | * Prepare VM test engine for running JIT-ed testsPaweł Bylica2014-10-171-5/+6
| | |
| * | bug fixChristoph Jentzsch2014-10-141-23/+29
| | |
| * | Added random test createrChristoph Jentzsch2014-10-141-5/+16
| |/
* | Enhance VM tests reportsPaweł Bylica2014-10-211-2/+38
| |
* | Remove dead codePaweł Bylica2014-10-211-11/+0
| |
* | Another round of fixing ExtVM interfacePaweł Bylica2014-10-201-4/+15
| |
* | Disable test fillingPaweł Bylica2014-10-171-1/+1
| |
* | Turn on JIT testing with "--jit" command line parameterPaweł Bylica2014-10-171-1/+4
| |
* | Running vm_tests with JITPaweł Bylica2014-10-171-3/+14
| |
* | Prepare VM test engine for running JIT-ed testsPaweł Bylica2014-10-171-5/+6
|/
* Merge pull request #346 from CJentzsch/developGav Wood2014-10-101-53/+131
|\ | | | | Corrected call function in FakeExtVM
| * Corrected call function in FakeExtVMChristoph Jentzsch2014-10-081-53/+131
| | | | | | | | | | | | | | | | Added ABA calls to tests, corrections in FakeExtVm::call Use FakeStateClass instead of altering real state class for testing purposes remove posts, add broken test
* | PoC-7: Maximum recursion limit 1024.Gav Wood2014-10-081-2/+2
|/
* PoC-7 crypto-contracts.Gav Wood2014-10-081-3/+3
|
* More attempts to fix for the ultra-pedantic clang compiler.Gav Wood2014-10-081-0/+1
|
* Bug fix, push callcreate before changing gas value in FakeExtVMChristoph Jentzsch2014-10-061-14/+15
|
* Restructured exceptions. Boost::exception is now used primarily.Christoph Jentzsch2014-10-021-6/+19
|
* corrected CALLSTATELESS test, style fixes, code length independent call in ↵Christoph Jentzsch2014-10-011-17/+17
| | | | FakeExtVM
* undefined FILL_TESTS and some minor style fixesChristoph Jentzsch2014-09-271-1/+1
|
* Reorganized FakeExtVM class into .h and .cpp file. Added state class member ↵Christoph Jentzsch2014-09-271-310/+345
| | | | in order to test CREATE and CALL. Added system operations test.
* Added more vm testsChristoph Jentzsch2014-09-251-38/+76
|
* style fixChristoph Jentzsch2014-09-211-31/+23
|
* Added arithmetic testChristoph Jentzsch2014-09-201-11/+47
|
* Split ethcore off into devcrypto ready for Whisper's crypto and repot namespace.Gav Wood2014-09-061-1/+1
| | | | Rename ethential to devcore.
* Project-wide reorganisation of namespaces.Gav Wood2014-09-051-6/+7
|
* CALL_STATELESSGav Wood2014-09-041-1/+1
|
* Debugger improvements.Gav Wood2014-07-141-9/+12
|
* Even numbers of hex digits for Jeff (Go can't handle odd numbers).Gav Wood2014-07-101-6/+7
| | | | Everything a string in VM tests.
* Fix for making code.Gav Wood2014-07-101-1/+4
|
* Proper debugger.Gav Wood2014-07-101-2/+2
|
* VM tests prettier.Gav Wood2014-07-061-28/+27
|
* New client API.Gav Wood2014-07-041-2/+2
|
* Windows build coersions.Gav Wood2014-07-031-8/+6
|
* Project refactor. Introduce the Serpent library.Gav Wood2014-06-281-4/+4
|
* Latest tests-related refactoring & improvments.Gav Wood2014-06-281-52/+52
|
* Fixes for tests.Gav Wood2014-05-281-2/+2
|
* Pinhole optimise working fairly well...Gav Wood2014-05-281-2/+2
|
* Major reorganisation.Gav Wood2014-05-261-4/+5
| | | | | New libs (libethsupport, libevm, liblll). New LLLC binary.
* Macros and definitions in LLL.Gav Wood2014-05-251-2/+2
|
* Move paths so default build dir is cpp-ethereum/build.Gav Wood2014-05-131-3/+3
|
* Updates to VM tests.Gav Wood2014-05-121-162/+219
|
* Protocol changes for PoC-5:Gav Wood2014-04-241-2/+2
| | | | | | | | Transactions Trie. LTMA for gasPrice. New block header format. Various additional checks. New Genesis block.
* Repotted much of State.Gav Wood2014-04-241-0/+1
|
* CALLDATACOPY instruction.Gav Wood2014-04-241-3/+2
| | | | Contract body gets created from init code.
* Split out libethcore from libethereum.Gav Wood2014-04-231-5/+5
|
* Added some checks on parameters of the objects imported from the json files ↵Carl Allendorph2014-04-201-0/+29
| | | | to make debugging easier.
* Broke the virtual machine unit test out into a separate Boost auto test case.Carl Allendorph2014-04-201-51/+30
|
* API cleanups and some renaming.Gav Wood2014-04-051-15/+17
|
* Separation of code & data compiling.Gav Wood2014-03-311-26/+25
|
* PoC 3.5 functionality. Still buggy though.Gav Wood2014-03-251-29/+78
|
* PoC-3.5. ish.Gav Wood2014-03-201-4/+2
|
* Remove clang bug workarounds fixed with latest XCode tools release.Daniel Hams2014-03-111-65/+0
|
* Fixed VS2013 projects and compile errors.Tim Hughes2014-03-061-2/+1
| | | | | | Enable and fix addition warnings (-Wextra). Disable unknown pragma warning (avoids messy wrapping pragmas in compiler guards). Tidy up some of the waring suppression for 3rd part libraries by wrapping with a header.
* Repotted Common.h.Gav Wood2014-03-051-0/+1
|
* Tests.Gav Wood2014-02-281-1/+2
|
* More VM tests.Gav Wood2014-02-281-1/+1
|
* Workaround OSX clang broken map operator[] using ifdef guards and manual ↵Daniel Hams2014-02-261-3/+77
| | | | find/insert.
* Tests bug fix.Gav Wood2014-02-241-7/+9
|
* VM test framework.Gav Wood2014-02-221-21/+294
|
* First unit testing harness for VM.Gav Wood2014-02-211-56/+54
| | | | NOT fix.
* Catch exceptions.Gav Wood2014-02-191-0/+1
|
* Fixed hardcoded /tmp path.Tim Hughes2014-02-191-2/+4
|
* Move to canon ES-1.Gav Wood2014-02-181-5/+21
| | | | Minor fix for contracts.
* Fixes for contract address states.Gav Wood2014-02-181-0/+85
Minor fix for uncle rewards. Assembler for EC-1 assembly. Not-quite Test code for the VM.