Niklas Adolfsson
17042e9c32
fix(rpc): fix a bunch of clippy lints ( #10493 )
...
* fix(rpc): fix a bunch of clippy lints
* fix(rpc clippy): remove unused ignored lints
* fix(clippy): fix all redundant_field_names
This commit fixes all uses of `redundant_field_names` and removes the ignored lint `redundant_field_names`
* fix(brain unwrap): replace with expect
2019-03-22 12:01:11 +01:00
Niklas Adolfsson
c5c3fb6a75
fix(rpc-types): replace uint and hash with `ethereum_types v0.4` ( #10217 )
...
* fix(rpc-types): remove uint and hash wrappers
* fix(tests)
* fix(cleanup)
* grumbles(rpc-api): revert `verify_signature`
* revert change of `U64` -> `u64`
* fix(cleanup after bad merge)
* chore(bump ethereum-types)
* fix(bad merge)
* feat(tests ethereum-types): add tests
* chore(update `ethereum-types` to 0.4.2)
* feat(tests for h256)
* chore(rpc): remove `ethbloom` import
Use re-export from `ethereum-types` instead
* fix(bad merge): remove `DefaultAccount` type
* doc(add TODO with issue link)
2019-02-25 14:27:28 +01:00
Afri Schoedon
7c335e8764
misc: bump license header to 2019 ( #10135 )
...
* misc: bump license header to 2019
* misc: remove_duplicate_empty_lines.sh
* misc: run license header script
* commit cargo lock
2019-01-07 11:33:07 +01:00
Tomasz Drwięga
3650f2d51c
Extract blockchain from ethcore ( #10114 )
...
* Split blockchain & db from ethcore.
* Clean up blockchain deps.
* Missing docs.
* Fix blockchain tests.
* Make other crates compile.
* Remove some re-exports.
* Remove types re-export from ethcore.
* Remove EVM dependency from transaction.
* Merge ethcore-transaction with common-types.
* Clean-up ethcore deps a bit.
* remove ethcore from cargo.toml
* Update ethcore/blockchain/src/lib.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Address review comments.
* Update DB comment.
* Add tracking issue to the TODO and fix typo.
* Common naming for common types.
* Update ethcore/db/src/keys.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Update ethcore/blockchain/src/generator.rs
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Try to fix beta tests.
2019-01-04 14:05:46 +01:00
Wei Tang
05be4b5b0e
Clean up serde rename and use rename_all = camelCase when possible ( #9823 )
...
* Clean up serde rename and use rename_all = camelCase when possible
* snake_case for pricing
* Use camelcase for engine
* Use camel case for seal
* Use camel case for validator set
* Use camel case for confirmation payload
* Use camel case for consensus status
* Use camel case for nodekind
* Use kebab case for provenance
* Use camel case for pubsub
* Use lowercase and camelcase for trace
* Use camel case for whisper
* rename Ethash as irregular name
2018-10-29 23:49:04 +08:00
shamardy
526c61e2c0
Transactions hashes missing in trace_replayBlockTransactions method result #8725 ( #8883 )
...
* Squashed commit of the following:
commit 1f85076fd584365f1acbbafef5c8bdee722b479b
Author: shamardy <shamardy@yahoo.com>
Date: Sat Jun 30 03:40:12 2018 +0200
update
commit 63363cca7354873a8abe3b631b8b7dbd9da6ce1e
Author: shamardy <shamardy@yahoo.com>
Date: Sat Jun 30 03:36:25 2018 +0200
Update
commit e05caddc170a4cf0e476c23d443f07184dcb4fb1
Author: shamardy <shamardy@yahoo.com>
Date: Fri Jun 29 10:04:34 2018 +0200
Test
commit b0be065eadd0f2dd70f6613c50cbf3eb16d693ec
Author: shamardy <shamardy@yahoo.com>
Date: Fri Jun 29 09:19:57 2018 +0200
test_client edit
commit 949205ccdbac75f730639e5f0d8e1bdd9436de1d
Author: shamardy <shamardy@yahoo.com>
Date: Fri Jun 29 05:14:53 2018 +0200
Edit Test
commit 7cd44ee379a1e847f3e7d225444e72775bdbd4b5
Author: shamardy <shamardy@yahoo.com>
Date: Fri Jun 29 04:25:22 2018 +0200
Updates
commit e90de71e698d29475e8ba5696664b7d7bb335f9c
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 27 13:53:15 2018 +0200
Test
commit 12a76381561b66ecf6ea636d7eebe43d2dcb7731
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 27 11:43:39 2018 +0200
Edited Tests
commit 6c21e6de2da24e7b9f33ac8b82abb0b39488bd60
Merge: 87c4c74b8 9550cf766
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 27 10:31:21 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 87c4c74b8f769c8e4b55ba78b5aa1d6716413f6d
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 27 10:31:13 2018 +0200
Avoided Changing non-RPC Types
commit 9550cf76610953c8492cc9473e4b9f876e770b70
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:29:03 2018 +0200
Update traces.rs
commit 3e0b0ef29685b62f0917b80a48054b3379d59a50
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:27:44 2018 +0200
Update trace.rs
commit 5078d67a2da7268db2a1064540a3c887e1f1a3cd
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:26:08 2018 +0200
Update traces.rs
commit 28f5ba1b035c6919ac11089cf1bdd703c75f0dbd
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:24:04 2018 +0200
Update parity.rs
commit 3b86b98ab5860efa61a7cc6a2b20e6c5c0f859cb
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:23:33 2018 +0200
Update eth.rs
commit bcad5a40f14a3c5d2d901ae1a9bed87949ab9c66
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:21:43 2018 +0200
Update call_analytics.rs
commit e9029e0b8158387b606132b264652d285483870f
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:20:56 2018 +0200
Update transaction.rs
commit 0dacc81779bc62713e3f8e405229dfd7f89f33e8
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:20:01 2018 +0200
Update executive.rs
commit 3921d4ec77f49460d45603111b98cc07d3c235a0
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:18:39 2018 +0200
Update executed.rs
commit 8416df654ebf6f68ad04c8a4a89a29ce704f9ca1
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:17:34 2018 +0200
Update client.rs
commit cf0b4dddbc93395bc5ce1f17c3c07a294bf8dd49
Merge: 23bfa78c2 36e05e5f3
Author: shamardy <shamardy@yahoo.com>
Date: Sun Jun 24 04:54:04 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 23bfa78c2662d697018e7061ab9ad0b864fde0ef
Author: shamardy <shamardy@yahoo.com>
Date: Sun Jun 24 04:53:50 2018 +0200
Undo
commit 36e05e5f30c35bd6b57af50fd337f2006df51b86
Merge: 2f6e1ef64 0afc74825
Author: shamardy <shamardy@yahoo.com>
Date: Sun Jun 24 04:44:33 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 2f6e1ef64763a79ad2ed8baa2aed5a8f3136bafc
Author: shamardy <shamardy@yahoo.com>
Date: Sun Jun 24 04:44:22 2018 +0200
Another rpc test output with ("transactionHash":null)
commit 0afc74825828f724d68f3e444655b872a6c51ce0
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 07:18:45 2018 +0200
Another rpc test output with ("transactionHash":null)
commit 138fbac9f02841adfeaaf061c5dd9e647f725e12
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 06:30:41 2018 +0200
Edited some rpc tests output with ("transactionHash":null)
commit 8c129a63109c00f88ce36bad10699dc2f3237d95
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:48:39 2018 +0200
Update traces.rs
commit 52c17f6191740637c1d1589a420996dccefe16bb
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:47:29 2018 +0200
Update parity.rs
commit d39303aa8c2097ba9e2ed94c7ad2166bf1608d3f
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:46:25 2018 +0200
Update eth.rs
commit 49be84bf529c33dc47c8260435fd0d26e137c66d
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:40:56 2018 +0200
Update trace.rs
commit 4fc801377fb01ff11867f66b547a307c162d7a56
Merge: d34ba2351 544210439
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 05:12:21 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 54421043959e14a76f309fe87d3c7513a95999f8
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:04:51 2018 +0200
Update trace.rs
commit 2b2524a31119d741df4076e9d1b3ce8f0b17b479
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:01:47 2018 +0200
Update state_diff.rs
commit 2bf9982b8ce29ef69f116142eaeacf3049f7db49
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:00:50 2018 +0200
Update transaction.rs
commit da696ea192c0f89cceb38834f6efee280129048c
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:00:13 2018 +0200
Update mod.rs
commit cfc194ca0f44bfabec01a52897a322ea5a91930b
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 04:59:18 2018 +0200
Update pod_state.rs
commit 3b3156853535a666778e0ad0e902de79fb138f1d
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 04:57:37 2018 +0200
Update client.rs
commit d34ba235132c654da6c2ed6ff0dcf96fda0c45ee
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 04:53:50 2018 +0200
RPC Only
commit 8b5c4f19727549ee6f180a6effc228b2693509e9
Merge: 744491632 291b4a01b
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 02:55:14 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 74449163222e0ab75c704ac0ad424870e3c321d9
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 02:27:13 2018 +0200
Issue#8725
Transactions hashes missing in trace_replayBlockTransactions method result #8725
commit 291b4a01be6771acff8f5829c5406fa193665dbe
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 01:18:18 2018 +0200
Edited to make changes to RPC types only
To make a transactions hash trace with "trace_replayBlockTransactions" add "transactionHash" to parameters
commit 9d082bece73beb8ebddfda51fa5ec279f30b7bea
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 13 09:15:56 2018 +0200
Issue#8725
Transactions hashes missing in trace_replayBlockTransactions method result #8725
* update
* Removed unwrap_or
* Update
* test_client update
2018-07-10 15:38:13 +01:00
Niklas Adolfsson
98b7c07171
Update `license header` and `scripts` ( #8666 )
...
* Update `add_license` script
* run script
* add `remove duplicate lines script` and run it
* Revert changes `English spaces`
* strip whitespaces
* Revert `GPL` in files with `apache/mit license`
* don't append `gpl license` in files with other lic
* Don't append `gpl header` in files with other lic.
* re-ran script
* include c and cpp files too
* remove duplicate header
* rebase nit
2018-06-04 10:19:50 +02:00
André Silva
32c32ecfda
ethcore, rpc, machine: refactor block reward application and tracing ( #8490 )
2018-05-07 12:57:03 +02:00
debris
16d84f8ecf
finished removing ipc
2017-10-16 18:18:43 +02:00
Anton Gavrilov
30434325a2
Modification of traces moved to engines
2017-08-03 15:55:58 +02:00
Anton Gavrilov
01ea968d4f
Merge with master
2017-08-02 17:24:34 +02:00
Nikolay Volf
b7006034b1
Decouple virtual machines ( #6184 )
...
* work in progress for splitting vms
* evm working
* Evm -> Vm
* wasm converted
* ethcore working
* test fixes
2017-08-01 13:37:57 +03:00
Anton Gavrilov
9374e31072
Miner field renamed to author
2017-07-31 13:42:40 +02:00
Anton Gavrilov
1a3f3ffdbf
Transaction ids made optional in order to reflect not transactional traces
2017-07-31 13:42:40 +02:00
Anton Gavrilov
45043c3f52
Fixed errors after merge with master
2017-07-31 13:42:40 +02:00
Anton Gavrilov
f2d12aebef
Unit tests for tracing reward added
2017-07-31 13:42:40 +02:00
Anton Gavrilov
06862c7dee
Tracing for rewards added. Without tests for now
2017-07-31 13:40:37 +02:00
Robert Habermeier
d365281cce
Ethcore crate split part 1 ( #6041 )
...
* split out types into separate crate
* split out evm into its own crate
2017-07-12 13:09:17 +02:00
Marek Kotewicz
575c51f5a0
eip214, #4833 ( #4851 )
2017-06-19 11:41:46 +02:00
Nikolay Volf
e1fef5c732
Update dependencies and bigint api ( #5685 )
...
* update to latest bigint
* bump elastic array and deps
* fix rlp tests
* also update all smallvec deps
* fix doc test
* reduce parking in attempt to fix CI bug
* fix from/into electum bug
* remove duplicate imports
2017-05-24 12:31:33 +02:00
Tomasz Drwięga
f1e99ea2e4
Serde 0.9 ( #4508 )
...
* Porting json
* Dapps
* Rpc & Ethstore
* New ethabi
* Last bunch of fixes
* Fixing last test
* Removing build script
* Adding ethcore-ipc-tests back
* Fixing grumbles
* Fixing blockchain tests (inference regression?)
2017-02-13 18:38:47 +03:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
Robert Habermeier
8125b5690c
Port `try` macro to new `?` operator. ( #3962 )
...
* initial untry sweep
* restore try in ipc codegen, fix inference
* change a few missed try instances
2016-12-27 12:53:56 +01:00
Gav Wood
58b72c521d
Rename ethcore -> parity in licenses.
2016-12-11 19:31:31 +01:00
Gav Wood
948b614f40
Fix the traceAddress field in transaction traces. ( #2373 )
...
* Fix the traceAddress field in transaction traces.
* Add test
* Fix warning.
* Fix test
* Additional fix.
* Fix tests content.
2016-09-28 17:24:26 +02:00
Marek Kotewicz
da2c2e5fc6
facelift for traces, added errors ( #2042 )
...
* evm errors facelift
* facelift for traces, added errors with description
* additional tests for traces json serialization
2016-09-05 11:56:44 +02:00
Tomasz Drwięga
e2e6b11dc7
Fixing uint serialization ( #2037 )
2016-09-02 11:38:15 +02:00
Tomasz Drwięga
b4f3c4bd7a
Asynchronous RPC support ( #2017 )
...
* Async RPC
* Limiting number of transactions in queue
* Fixing tests
* Bumping serde and jsonrpc-core
* serde updated to 0.8
* fixed failing tests
* Bumping ipc server
* Fixing API for endpoints
* Experimenting with tests without --release mode
2016-09-01 12:00:00 +02:00
Tomasz Drwięga
6cb439fbc8
Fixing serde overflow error ( #1977 )
2016-08-23 10:10:12 +02:00
Gav Wood
ccdf80f4dc
Fix several RPCs ( #1926 )
...
* Fix up pending receipts details.
* Add support for additional params and registry over RPC.
* Fix tests.
* Add test, additional fix.
Fixes #1932 .
* Fix up tests.
* Fix test.
* Fix test.
2016-08-17 19:25:02 +02:00
Marek Kotewicz
9746b944f1
Stackoverflow fix ( #1742 )
...
* executive tracer builds flat traces without intermediate struct
* temporarilt commented out tests for traces
* fixed new way of building trace address
* fixed new way of building trace address
* updating state tests with flat tracing in progress
* fixed flat tracing tests
* fixed compiling ethcore-rpc with new flat traces
* removed warnings from ethcore module
* remove unused data structures
2016-07-28 20:31:29 +02:00
Gav Wood
ccb62d3b55
Trace other types of calls ( #1727 )
...
* Trace through DELEGATECALL and CALLCODE
Add them to the JSON output and RLP database store.
* Fix tests.
* Fix all tests.
* Fix one more test.
2016-07-27 17:41:21 +02:00
Gav Wood
7cf807d1b4
Various improvements to tracing & diagnostics. ( #1707 )
...
* Various improvements to tracing & diagnostics.
- Manage possibility of `Account` not having code for `PodAccount`
- New RPC: `trace_sendRawTransaction`
- See raw transaction dump when inspecting over RPC
* Fix test
* Remove one of the dupe error messages
* Remove unneeded `&`s
* Reformat and extremely minor optimisation
* Minor optimisation
* Remove unneeded let
* Fix tests.
* Additional fix.
* Minor rename.
[ci:skip]
* Bowing to the pressure.
2016-07-26 16:48:50 +02:00
Marek Kotewicz
63dbb527cc
Suicides tracing ( #1688 )
...
* tracing suicide
* fixed #1635
* fixed typo
2016-07-22 14:47:23 +02:00
Marek Kotewicz
1053f3610c
fixed #1606 ( #1615 )
2016-07-13 21:10:20 +02:00
Nikolay Volf
8282c7dd50
Client IPC Interface ( #1493 )
...
* btree map serializer
* serde tests
* state diff serialization
* basic layout
* more missing serializaers
* uncle returns rlp
* block queue info
* sorting with transaction result
* sorting out util imports
* transaction import result sorting also
* sorting filters & ranges
* error sorting out
* deriving ipc service compiling
* rpc & sync recompile
* sorting rpc using uncles
* fix compilation
* fix merging bugs
* fix unused imports
* fix all warnings
* tests stub
* some merge bugs
* ethcore compilation
* fix rpc compilation
* deriving attribute
* tests (and fixes)
* rpc test working
* fix warnings again
* rs.in -> rs
* missing attribute
* refactored tree changes
* paste reformat mess fix
* pub mod actually
* intendation fix
2016-07-07 09:39:32 +02:00
Marek Kotewicz
bcb63bce12
serde is no longer util dependency ( #1534 )
...
* removed old json-tests
* simplify folds in triehash.rs
* removed unused json_aid
* removed unused squeeze.rs
* json branching tests for trie
* removing todos from util
* separated UsingQueue and Table
* further cleanup, removing unused code
* serde serialization of hash moved to rpc module
* uint wrapper for rpc in progress
* serialization of uint moved to rpc module
* updated eth-secp256k1
* updated igd, serde is no longer dependency of util
* loading trie consensus tests
* renamed aliases in rpc imports
2016-07-06 11:23:29 +02:00
Gav Wood
2e56fbad2c
Use nicer strings for tests.
2016-06-08 12:41:29 -07:00
Gav Wood
c5d8f5e136
Add StateDiff ser test.
2016-06-07 12:44:57 -07:00
Gav Wood
446c9096f4
Add test for VMTrace ser.
2016-06-07 12:30:44 -07:00
Gav Wood
0cb1affd48
Use serialize framework for VMTrace JSON.
2016-06-06 15:18:38 -07:00
Gav Wood
1fa8f108d9
StateDiff uses serde preprocessor.
2016-06-06 00:24:21 +02:00
Gav Wood
a132fefcc7
Transaction tracing for eth_call.
2016-06-02 13:50:50 +02:00
Tomasz Drwięga
87d0f09a44
Base for Signer Websockets server ( #1158 )
...
* Basic signing queue
* Adding docs
* WebSockets server for signer
* Removing TODO
* Shortening the syntax
* Exposing types from RPC
* Fixing indentation
* Update main.rs
2016-05-28 19:30:31 +02:00
Marek Kotewicz
7c2adc4137
Tracedb interface && cli ( #997 )
...
* traces cli and jsonrpc api
* missing if in docs
* adding traces to modules
2016-05-02 12:17:30 +02:00