aboutsummaryrefslogtreecommitdiffstats
path: root/test/RPCSession.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add missing tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ↵Daniel Kirchner2018-08-141-0/+5
| | | | ``block.gaslimit``.
* Merge pull request #4389 from ethereum/soltestfixchriseth2018-07-031-2/+2
|\ | | | | fix default difficulty to comply with YP rules
| * fix default difficulty to comply with YP rulesDimitry2018-06-301-2/+2
| | | | | | | | fix soltest to work with the recent aleth --test
* | Determine transaction status in RPC sessions.Daniel Kirchner2018-07-021-0/+8
|/
* Fixes soltest against "recent" cpp-ethereum builds.Christian Parpart2018-06-251-0/+2
| | | | | | | | For me, it looks like the following Git commit has introduced this behaviour: https://github.com/ethereum/cpp-ethereum/commit/42b927d7aa103e21e34c8ba8c5469f532b49f966 This commit adds dummy values for `mixHash` and `nonce` (inspired by values were cpp-ethereum's own tests), and now, soltest runs fine again.
* Add difficulty field to genesis chain parameters to fix ipc tests for recent ↵Daniel Kirchner2018-06-141-1/+2
| | | | versions of cpp-ethereum.
* Merge pull request #3828 from ethereum/soltestchriseth2018-04-051-1/+3
|\ | | | | Show JSON error if jsonParseStrict failed in soltest
| * Show JSON error if jsonParseStrict failed in soltestAlex Beregszaszi2018-04-051-1/+3
| |
* | Support constantinople in soltestAlex Beregszaszi2018-04-051-0/+2
|/
* test: Rename test/TestHelper.* to test/Options.* and add Options::validate().Daniel Kirchner2018-03-141-1/+1
|
* Add TangerineWhistle.chriseth2018-03-021-7/+9
|
* Activate byzantium for testing.chriseth2018-03-021-1/+9
|
* Add new JSON API for better abstraction and for supporting strict JSON parsingAlexander Arlt2018-02-211-8/+6
|
* Include modexp precompile in genesis for testing (#3114)Boris Kostenko2017-10-241-3/+4
|
* Always create the correct account even if gaps are neededAlex Beregszaszi2017-10-201-1/+1
|
* Add helper RPCSession::createAccountAlex Beregszaszi2017-10-201-7/+10
|
* Close IPC socket on connect failureAlex Beregszaszi2017-10-191-0/+3
|
* Snarks test using Byzantium precompilesAlex Beregszaszi2017-10-091-1/+4
| | | | | | | | | | * Snark tests. * Verifying routine. * Example proof. * Update precompiled positions to Byzantium ruleset.
* Format chainparams fields properly in testsAlex Beregszaszi2017-10-031-3/+3
|
* Issue 2279: Log JSON RPC requests and responses when --log_level=message is ↵seusher2017-05-181-2/+2
| | | | provided to soltest
* test: change RPC settings to see if they have effects during testingYoichi Hirai2017-04-251-1/+4
|
* Replace deprecated BOOST_MESSAGE with BOOST_TEST_MESSAGEFederico Bond2017-03-031-1/+1
|
* Style.chriseth2017-03-021-1/+2
|
* Some logging around account creation.chriseth2017-03-011-2/+7
|
* Try reading multiple times from IPC.chriseth2017-02-251-15/+26
|
* Use std::chrono and not boost::posix_TimeAlex Beregszaszi2017-02-131-2/+3
|
* Simplify mining loopAlex Beregszaszi2017-02-131-8/+3
|
* Use maxMiningTime in mining as opposed to poll counterAlex Beregszaszi2017-02-131-4/+8
|
* Create getBlockByNumber RPC methodAlex Beregszaszi2017-02-101-2/+8
|
* Add blockNumber and blockTimestamp to ExecutionFrameworkAlex Beregszaszi2017-02-101-0/+1
|
* Ensure that the whole message was written on Windows IPCAlex Beregszaszi2017-02-091-1/+1
|
* Simplify the Windows IPC codeAlex Beregszaszi2017-02-091-6/+3
|
* Detect closed sockets in IPCAlex Beregszaszi2017-02-091-1/+2
|
* Do not expect a new line, rather buffer up the response in IPCAlex Beregszaszi2017-02-091-18/+14
|
* Use only send/recv in IPCAlex Beregszaszi2017-02-091-6/+3
|
* Do not log dots in soltest on windowsAlex Beregszaszi2017-02-091-3/+0
|
* Use BOOST_REQUIRE() and stop at the first failureAlex Beregszaszi2017-02-091-5/+5
|
* Check the return value of RPC callsAlex Beregszaszi2017-02-091-6/+8
|
* Avoid crash if fdopen failed in IPCAlex Beregszaszi2017-02-091-0/+2
|
* Ensure that a valid RPC response is received through IPCAlex Beregszaszi2017-02-091-1/+1
|
* Fix licensing headersVoR02202016-11-231-4/+4
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* soltest on windowsDimitry2016-08-311-3/+4
|
* Auto-calibrate mining sleep time.chriseth2016-08-121-9/+28
|
* Exponential sleep increase on mining failure.chriseth2016-08-121-2/+6
|
* Fixed up broken ifdefs in new sockets code.Bob Summerwill2016-08-031-1/+1
|
* Windows pipe for soltestDmitry K2016-08-031-1/+45
|
* Merge branch 'develop' of https://github.com/ethereum/solidity into developDmitry K2016-08-021-3/+13
|\
| * Make the Solidity repository standalone.Bob Summerwill2016-08-011-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is the culmination of several months of work to decouple Solidity from the webthree-umbrella so that it can be developed in parallel with cpp-ethereum (the Ethereum C++ runtime) and so that even for the Solidity unit-tests there is no hard-dependency onto the C++ runtime. The Tests-over-IPC refactoring was a major step in the same process which was already committed. This commit contains the following changes: - A subset of the CMake functionality in webthree-helpers was extracted and tailored for Solidity into ./cmake. Further cleanup is certainly possible. - A subset of the libdevcore functionality in libweb3core was extracted and tailored for Solidity into ./libdevcore. Further cleanup is certainly possible - The gas price constants in EVMSchedule were orphaned into libevmasm. - Some other refactorings and cleanups were made to sever unnecessary EVM dependencies in the Solidity unit-tests. - TravisCI and Appveyor support was added, covering builds and running of the unit-tests (Linux and macOS only for now) - A bug-fix was made to get the Tests-over-IPC running on macOS. - There are still reliability issues in the unit-tests, which need immediate attention. The Travis build has been flipped to run the unit-tests 5 times, to try to flush these out. - The Emscripten automation which was previously in webthree-umbrella was merged into the TravisCI automation here. - The development ZIP deployment step has been commented out, but we will want to read that ONLY for release branch. Further iteration on these changes will definitely be needed, but I feel these have got to sufficient maturity than holding them back further isn't winning us anything. It is go time :-)
* | windowspipeDmitry K2016-08-021-0/+7
|/
* Fix jsoncpp includes for macos.chriseth2016-07-011-2/+2
|
* Rename IPCSocket and removed unused code in TestHelper.chriseth2016-06-291-0/+262