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
Tomasz Drwięga
2135ba467c
Error when deserializing invalid hex ( #2339 )
...
Conflicts:
rpc/src/v1/types/bytes.rs
2016-09-27 11:26:23 +02:00
Tomasz Drwięga
92451ef268
Lenient bytes deserialization ( #2036 )
...
* Lenient bytes deserialization
* Printing warning
2016-09-26 15:55:44 +02:00
Robert Habermeier
ff0be9f361
Separate RPC serialization from implementation ( #2072 )
...
* add auto-args deserialization for RPC
* make block param member public
* change BlockParam to a more generic Trailing<T> mechanism
* define work type
* build_rpc_trait macro, implement eth protocol
* fix up tests
* move eth_filter API to new macro
2016-09-23 19:42:33 +02:00
Tomasz Drwięga
368aca521b
Fails when deserializing non-hex uints ( #2247 )
2016-09-22 18:02:47 +02:00
Tomasz Drwięga
15488b3e40
Fixing output of eth_call and Bytes deserialization ( #2230 )
...
* Fixing eth_call to builtins
* Fixing bytes deserialization
* Removing comment
2016-09-22 14:50:00 +02:00
Gav Wood
07b5e9a5c7
Encryption, decryption and public key RPCs. ( #1946 )
...
* 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.
* Remove unused use.
* Add encryption, decryption and public-key RPCs.
* Remove &
2016-09-22 14:48:22 +02:00
Tomasz Drwięga
8c111da70b
Limit for logs filter. ( #2180 )
...
* Limit for logs filter.
* Moving limit inside the filter object
* Fixing tests
2016-09-21 11:51:10 +01: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
Robert Habermeier
e0feaa9d4d
Merge pull request #2034 from ethcore/rlp-crate
...
rlp as separate crate
2016-09-02 13:48:09 +02:00
Tomasz Drwięga
e2e6b11dc7
Fixing uint serialization ( #2037 )
2016-09-02 11:38:15 +02:00
Robert Habermeier
bb6243c550
merge with master
2016-09-01 15:07:06 +02:00
Robert Habermeier
d763664d16
port network, sync, rpc
2016-09-01 14:49:12 +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
c39761c042
ethkey and ethstore use hash structures from bigint ( #1851 )
...
* Address renamed to H160 at bigint library level
* moved uint specific test from util to bigint library
* naming
* unifing hashes in progress
* unifing hashes
* cleanup redundant unwraps in tests
* fixed compiling
2016-08-15 15:09:00 +02:00
Tomasz Drwięga
f114a933a3
Peers RPC + UI displaying active/connected/max peers ( #1915 )
...
* Peers API
* Bumping Parity-UI
* Fixing tests
2016-08-11 17:19:20 +02:00
Tomasz Drwięga
9fb5623569
Supporting eth_sign in Signer ( #1787 )
...
* Making ConfirmationsQueue a bit more generic [WiP]
* Generalizing cofirmations
* New confirmations types - tests
* Separating transaction type in queue. Closes #1310
* Handling sign requests
* Speeding up tests
* Renaming methods
* eth_postSign
* Bumping ui
2016-08-03 10:36:54 +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
Tomasz Drwięga
46b5801730
Fixing hash deserialisation ( #1674 )
2016-07-20 12:42:12 +02:00
Gav Wood
861c8d0701
Size for blocks ( #1668 )
...
* Add size field for blocks.
* Ignore invalid test.
2016-07-19 20:40:18 +02:00
Gav Wood
598833d1ea
Fix "pending" parameter on RPC block requests ( #1602 )
...
* Initial commit.
* Pending blocks work.
* Address grumbles.
* Fix up for new API.
2016-07-14 15:24:12 +02:00
Marek Kotewicz
1053f3610c
fixed #1606 ( #1615 )
2016-07-13 21:10:20 +02:00
Nikolay Volf
e15f631ec7
Some obvious evm & uint optimizations ( #1576 )
...
* fix name and tests for endians
* using renamed func
* zero and sign opt
2016-07-10 20:18:23 +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
10aa32b0f5
Include RPC configurability for max tx gas limit.
...
Also Move the gas limit into the transaction queue from the miner.
2016-06-27 20:19:01 +02:00
Marek Kotewicz
75a7cf2860
fixed #1180 ( #1282 )
2016-06-18 12:09: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
Tomasz Drwięga
f61ee1a5f1
SystemUIs authorization ( #1233 )
...
* Initial implementation of AuthCodeStore for SystemUIs
* SystemUIs authorization
* Renaming SystemUI -> SignerUI
* Fixing clippy warnings
* Lowering time threshold
* Bumping sysui
* Fixing test
2016-06-07 08:21:19 -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
Gav Wood
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +02:00
Tomasz Drwięga
99e26b8480
Simple signing queue, confirmation APIs exposed in signer WebSockets. ( #1182 )
...
* Splitting methods requiring signing into separate trait
* Single place where RPC apis are created.
* Separating eth_filter
* Separating eth_signing
* Stubs for Personal Signer methods
* Test for EthSigningQueueClient
* TransactionConfirmation API
* Exposing PersonalSigner API
* Defining ApiSets dependent on context
* Removing types
* Fixing default impl
* Fixing un-mocked tests
* Update signing_queue.rs
[ci skip]
* Removing unused import [ci skip]
2016-06-01 19:37:34 +02:00
Gav Wood
12547ecd37
Remove invlaid comment.
2016-05-31 12:58:47 +02:00
Gav Wood
5766354c19
Tests for VM tracing.
2016-05-31 12:04:53 +02:00
Gav Wood
8082fdb3ff
Fix max-value calls and add "creates" field to getTransaction.
2016-05-30 22:27:28 +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
Robert Habermeier
c9efb56e19
move sign_and_send_transaction implementation to personal
2016-05-27 16:45:26 +02:00
Marek Kotewicz
ebd0cdbc7a
Fixpending ( #1074 )
...
* Fix --geth IPC for MacOS.
* fix pending_* methods in MinerService, add pending_receipts
* pending logs
* include pending logs when polling
* fixed returning pending logs multiple timees
* log type
* transactionHash is supplied to pending logs
* miner returns receipts together with hashes
* bring back miners all_transactions used by sync module
2016-05-24 21:56:32 +02:00
debris
634679966e
Make Id/ID and db/Db/DB usage consistent
2016-05-19 11:00:32 +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
debris
d4a0ad0a60
make jsonrpc api engine agnostic
2016-04-25 16:06:08 +02:00
debris
fd2d55934b
default filter from block should be Latest, not Earliest
2016-04-13 11:32:28 +02:00
Gav Wood
6b8e7bdfb3
Merge pull request #838 from ethcore/tx-queue-resp
...
checking transaction queue for pending transaction
2016-03-27 19:51:37 +02:00
NikVolf
254ac6f253
checking tx queue
2016-03-27 16:12:21 +03:00
debris
0d453e52ad
tests for deserialization of issue #835
2016-03-27 14:14:05 +02:00
Gav Wood
aaf04e793d
Make BlockNumber optional.
2016-03-26 12:41:24 +01:00
NikVolf
dc4654fa4c
avoid copy
2016-03-26 03:15:27 +03:00
debris
a0cbe7cd7e
fixed eth_call, eth_sendTransaction and eth_estimateGas
2016-03-22 17:17:50 +01:00
debris
068c0f3782
test for eth_getTransactionReceipt
2016-03-21 11:47:50 +01:00
debris
2a3e695f8a
LocalizedReceipt
2016-03-20 17:29:39 +01:00
debris
aa47d944e1
implemented rpc eth_estimateGas method, added tests for rpc eth_call and eth_estimateGas
2016-03-20 11:34:19 +01:00
debris
e5c6579a8c
next batch of rpc fixes, 103 still failing
2016-03-19 12:23:48 +01:00
debris
52dbcd8152
rpc tests, now 421 passing / 116 failing
2016-03-19 11:44:36 +01:00
Tomasz Drwięga
451a5d78e3
Removing unused (?) serde::Error
2016-03-12 13:40:39 +01:00
debris
ecd33a6093
fixed U256 and transaction request deserialization, added tests for transaction request
2016-03-11 13:54:52 +01:00
debris
190630cc6b
separated transaction_request to its own submodule, added basic tests for it
2016-03-11 12:31:45 +01:00
Nikolay Volf
bb8a79f18c
finalizing
2016-03-05 18:29:01 +03:00
Nikolay Volf
1aaae7b553
[ci skip] codegen bug
2016-03-05 16:42:02 +03:00
Nikolay Volf
af5ed8b5f7
rpc-signing-extend
2016-03-04 20:10:07 +03:00
debris
bdf3b197ad
limit serde codegen only to rpc types submodule
2016-03-02 12:42:08 +01:00
Nikolay Volf
d0125f3ff5
uint to separated crate
2016-03-01 00:21:15 +03:00
debris
11de5b4923
udpated serde to version 0.7.0
2016-02-27 13:14:58 +01:00
debris
2be4f2f737
added trailin ,
2016-02-22 10:14:31 +01:00
debris
8f4c2d98ba
added trailin ,
2016-02-22 10:11:07 +01:00
debris
8113c689fc
Merge branch 'master' into jsonrpc2
2016-02-19 14:07:11 +01:00
debris
b5d6359030
fixed allow warnings in ethcore
2016-02-19 12:40:23 +01:00
debris
68d546ce02
tests for log serialization
2016-02-17 14:45:25 +01:00
debris
c74c016ce2
moved filter logic from rpc module to ethcore
2016-02-17 14:13:51 +01:00
debris
bae2682518
bloom possibilities
2016-02-15 11:47:51 +01:00
debris
4c474d8d91
Merge branch 'master' into jsonrpc2
2016-02-15 10:53:01 +01:00
Tomusdrw
2c4700f4c1
Fixing clippy warnings
2016-02-15 00:55:45 +01:00
debris
3fcade9f6d
bloom possibilities in progress
2016-02-13 13:05:28 +01:00
debris
93975be5e3
transaction by block number and index
2016-02-10 22:36:59 +01:00
debris
9159d5812b
eth_syncing, fixed #397
2016-02-10 16:28:59 +01:00
debris
626277ef9a
block and transaction ids, jsonrpcs eth_getTransactionByHash
2016-02-10 11:28:40 +01:00
debris
b12d0f690d
fixed filter deserialization
2016-02-09 17:45:39 +01:00
debris
1f69b60041
filter deserialization
2016-02-09 17:37:16 +01:00
debris
abcfe9f9e8
eth_getBlock properly returns transactions
2016-02-09 16:38:21 +01:00
debris
5d05c36791
LocalizedTransaction
2016-02-09 15:17:01 +01:00
debris
c50eb78ca1
jsonrpc optionals
2016-02-09 13:17:55 +01:00
debris
40068c1938
added missing docs
2016-02-09 12:27:05 +01:00
debris
41e64bff4e
tests for block serialization
2016-02-08 14:02:47 +01:00
debris
a0451a3cb5
eth_getBlockXXX takes into account include_tx param
2016-02-08 12:13:05 +01:00
debris
b2c083ce56
fixed U256 serialization, tests for transaction serialization
2016-02-08 11:58:47 +01:00
debris
3adfebdc20
jsonrpc eth_getCode method
2016-02-08 10:58:08 +01:00
debris
9c3317620d
Merge branch 'master' into jsonrpc
2016-02-05 14:16:39 +01:00
debris
c90d64662a
added license in every *.rs file
2016-02-05 13:40:41 +01:00
debris
432c0d59c4
few additional rpc eth methods
2016-02-05 13:21:34 +01:00
debris
856c348e3e
moved old rpc implementation to v1/ dir
2016-01-27 17:14:41 +01:00