Robert Habermeier
d8fca91a2f
add daoRescueSoftFork to failing rpc and json tests
2016-06-19 17:12:14 +02:00
Gav Wood
08522eec37
--geth prevent getTransactionReceipt from using pending. ( #1325 )
...
This mimics the fucntionality of Geth and the current unratified
JSONRPC spec (but not the functionality of eth and the ratified
spec).
2016-06-19 14:51:51 +02:00
Tomasz Drwięga
5e1e3ce857
Filling-in optional fields of TransactionRequest... ( #1305 )
...
* More meaningful errors when sending transaction
* Fixing returned value
* Consolidating all RPC error codes
* Fixed loosing peers on incoming connections. (#1293 )
* Deactivate peer if it has no new data
* Fixed node table timer registration
* Fixed handshake timeout expiration
* Extra trace
* Fixed session count calculation
* Only deactivate incapable peers in ChainHead state
* Timer registration is not needed
* x64 path
* firewall rules
* Fix read-ahead bug.
Re-ahead 8 bytes rather than 3 to ensure large blocks import fine.
* Refactor to use a const.
* Update README.md
* Gas price statistics. (#1291 )
* Gas price statistics.
Affects eth_gasPrice.
Added ethcore_gasPriceStatistics.
Closes #1265
* Fix a bug in eth_gasPrice
* Fix tests.
* Revert minor alteration.
* Tests for gas_price_statistics.
- Tests;
- Additional infrastructure for generating test blocks with
transactions.
* Key load avoid warning (#1303 )
* avoid warning with key
* fix intendations
* more intendation fix
* ok() instead of expect()
* Filling-in optional fields of TransactionRequest.
* Adding reference to miner
2016-06-18 14:55:46 +02:00
Marek Kotewicz
75a7cf2860
fixed #1180 ( #1282 )
2016-06-18 12:09:29 +02:00
Arkadiy Paronyan
591fa9625d
Merge pull request #1313 from ethcore/net
...
Network start/stop
2016-06-18 11:04:24 +02:00
Gav Wood
42478add64
DAO Rescue soft fork ( #1309 )
...
* DAO Rescue soft fork
* Address minor issues.
* Fix tests.
2016-06-18 10:54:15 +02:00
Tomasz Drwięga
1baa150086
Consolidating all RPC error codes
2016-06-18 10:54:15 +02:00
Tomasz Drwięga
defe688797
Fixing returned value
2016-06-18 10:54:15 +02:00
Tomasz Drwięga
2c9a5fc0a9
More meaningful errors when sending transaction
2016-06-18 10:54:12 +02:00
Gav Wood
335bce85e8
Gas price statistics. ( #1291 )
...
* Gas price statistics.
Affects eth_gasPrice.
Added ethcore_gasPriceStatistics.
Closes #1265
* Fix a bug in eth_gasPrice
* Fix tests.
* Revert minor alteration.
* Tests for gas_price_statistics.
- Tests;
- Additional infrastructure for generating test blocks with
transactions.
2016-06-18 10:52:50 +02:00
arkpar
3f77f7ce1f
Removed RPC methods
2016-06-18 09:50:05 +02:00
arkpar
b38488dd07
Network shutdown
2016-06-17 12:58:28 +02:00
Gav Wood
be6c572449
Update eth.rs
2016-06-15 01:26:58 +02:00
debris
dac387fac1
changed rpc error message to Still Syncing, when mining is not ready
2016-06-15 01:12:46 +02:00
debris
7610d308e8
fixed #1255
2016-06-14 15:17:17 +02:00
Arkadiy Paronyan
7064624b6f
Merge pull request #1252 from ethcore/dapps-bump
...
Signer port returned from RPC + Topbar showing count of unconfirmed transactions.
2016-06-12 12:02:48 +02:00
Tomasz Drwięga
e5e238746b
Bumping sysui & topbar. personal_signerEnabled returns port
2016-06-10 15:39:34 +02:00
Arkadiy Paronyan
e633cd2f75
Merge pull request #1247 from ethcore/rpc-cors-fix
...
Fixing CORS settings for special values: * & null.
2016-06-10 14:09:10 +02:00
Tomasz Drwięga
d54d3a2c60
Fixing match
2016-06-09 15:19:48 +02:00
Tomasz Drwięga
2e52c99042
Fixing CORS settings
2016-06-09 10:02:52 +02:00
Gav Wood
2e56fbad2c
Use nicer strings for tests.
2016-06-08 12:41:29 -07:00
Gav Wood
293d9f15d5
Tests for JSON serialisation of statediff/vmtrace ( #1241 )
...
* Splitting RPC Apis into more fine-grained sets
* Remove old code/comment.
* Add test for VMTrace ser.
* Add StateDiff ser test.
2016-06-08 12:40:55 -07:00
Tomasz Drwięga
be435cde99
Splitting RPC Apis into more fine-grained sets ( #1234 )
2016-06-07 13:52:48 -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
2abe8cc5dd
Merge branch 'master' into apis-split
2016-06-07 10:42:09 -07:00
Tomasz Drwięga
fdc22db3f4
Signer RPC method to check if signer is enabled ( #1238 )
...
* API to check if signer is enabled
* Fixing compilation warnings
2016-06-07 10:33:32 -07:00
Tomasz Drwięga
bf9173e673
Fixing signer behaviour when confirming transaction with wrong password. ( #1237 )
...
* Avoid removing transactions when trying to confirm and the password is invalid
* Fix order
2016-06-07 08:25:01 -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
Tomasz Drwięga
62e37aef8f
Splitting RPC Apis into more fine-grained sets
2016-06-07 13:01:37 +02:00
Gav Wood
3db2328f52
Merge branch 'txtracingforcall' into serdestatediff
2016-06-06 19:24:07 -07:00
Gav Wood
4efd658577
Merge branch 'master' into txtracingforcall
2016-06-06 19:19:32 -07:00
Gav Wood
0cb1affd48
Use serialize framework for VMTrace JSON.
2016-06-06 15:18:38 -07:00
Tomasz Drwięga
18ffd94674
Fixing warnings
2016-06-06 12:18:17 +02:00
Gav Wood
1fa8f108d9
StateDiff uses serde preprocessor.
2016-06-06 00:24:21 +02:00
Gav Wood
bbd024d646
Merge branch 'master' into switchrpcns
2016-06-05 21:37:56 +02:00
Marek Kotewicz
c8c47ebe32
Merge pull request #1206 from ethcore/diffing
...
Integrate state diffing into the ethcore JSONRPC
2016-06-05 21:35:36 +02:00
Gav Wood
4dc9aedfb5
Merge branch 'master' into txtracingforcall
2016-06-03 12:06:39 +02:00
Tomasz Drwięga
18dac64abb
Simple WebSockets notification about new request ( #1202 )
...
* 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
* Supporting sending notification to WS connected SystemUIs
* Sending a notification on every new messages
* Adding logs to signing queue
* Shutting down broadcaster
* Refactoring the signing queue
* Fixing wait loop in case of spurious wake-ups.
2016-06-02 17:05:13 +02:00
Gav Wood
f357274ced
Merge branch 'master' into txtracingforcall
2016-06-02 16:44:11 +02:00
Gav Wood
7dc05f1bcc
Unify tracing interface into a single call.
2016-06-02 16:30:28 +02:00
Nikolay Volf
c3404c9b59
Merge pull request #1205 from ethcore/fixed_1204
...
fixed #1204
2016-06-02 14:06:08 +02:00
Gav Wood
a132fefcc7
Transaction tracing for eth_call.
2016-06-02 13:50:50 +02:00
Gav Wood
c202abe09d
Switch RPC namespace form ethcore_ to trace_
2016-06-02 13:14:49 +02:00
debris
9a626c84bc
fixed #1204
2016-06-02 12:44:05 +02:00
Gav Wood
b17581d7de
VM tracing and JSON RPC endpoint for it. ( #1169 )
...
* Groundwork for basic VM tracing.
* RPC endpoint for VM tracing and ser/de types ready.
* Create VMTracer trait.
* Rearchitected VM tracing to reflect existing tracing.
Should more or less work now.
* Integrated VM tracing into JSONRPC.
* Fix ethcore module tests.
* Add tests for VM tracing.
* Fix consensus test code.
* Fix mock tests.
* Added VM trace information for post-execution stuff.
* Fix max-value calls and add "creates" field to getTransaction.
* Tests for VM tracing.
* Don't implement the trait with unimplemented.
* Remove invlaid comment.
* Fix tests.
2016-06-02 12:40:31 +02:00
Gav Wood
b9ec87548d
Minor renaming diff -> state_diff
2016-06-02 12:39:25 +02:00
Gav Wood
bc5c3da2af
Merge branch 'vmtracing' into diffing
2016-06-02 12:28:09 +02:00
Gav Wood
d40a038f37
Fix tests.
2016-06-02 11:49:27 +02:00
Gav Wood
26da38a439
Merge remote-tracking branch 'origin/master' into vmtracing
2016-06-02 11:40:39 +02:00
Nikolay Volf
c370bcaded
merge fixes
2016-06-01 19:57:34 +02:00
Nikolay Volf
6676c6cf7e
Merge branch 'master' into client-refact
2016-06-01 19:42:32 +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
Nikolay Volf
985d412c48
fix merges again
2016-06-01 13:03:26 +02:00
Nikolay Volf
c00b84e10b
merge fixes
2016-06-01 12:54:47 +02:00
Nikolay Volf
d45a676dc0
all tests fixed
2016-05-31 22:24:32 +02:00
Robert Habermeier
5fd4b9d7bd
formatting fix
2016-05-31 21:50:25 +02:00
Nikolay Volf
77cef76518
rpc bindings resolved
2016-05-31 21:31:42 +02:00
Gav Wood
34edecd59d
State diffing, exposed through JSONRPC.
2016-05-31 21:03:44 +02:00
Robert Habermeier
c81e4e24b3
add ability to have heavy tests
2016-05-31 19:51:24 +02:00
Robert Habermeier
4ccaabde40
add transaction count verifier tests
2016-05-31 19:30:40 +02:00
Robert Habermeier
5cb58c4269
use Miner in rpc tests, remove chain_harness
2016-05-31 15:25:14 +02:00
Gav Wood
12547ecd37
Remove invlaid comment.
2016-05-31 12:58:47 +02:00
Gav Wood
1fdb1de218
Don't implement the trait with unimplemented.
2016-05-31 12:58:10 +02:00
Gav Wood
649767b911
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-31 12:05:23 +02:00
Gav Wood
5766354c19
Tests for VM tracing.
2016-05-31 12:04:53 +02:00
Robert Habermeier
b036f1de98
stop eth_syncing from returning true forever ( #1181 )
2016-05-31 10:31:36 +02:00
Gav Wood
8082fdb3ff
Fix max-value calls and add "creates" field to getTransaction.
2016-05-30 22:27:28 +02:00
Gav Wood
79503e4f14
Added VM trace information for post-execution stuff.
2016-05-30 17:19:15 +02:00
Robert Habermeier
ea26deaab1
mocked test for eth_syncing
2016-05-30 12:33:49 +02:00
Gav Wood
11f4e8cb73
Fix mock tests.
2016-05-30 11:53:20 +02:00
Robert Habermeier
bbe6a287f8
add mocked test for eth_coinbase
2016-05-29 17:18:37 +02:00
Robert Habermeier
89659606dd
add mocked test for eth_sendRawTransaction
2016-05-29 17:07:39 +02:00
Robert Habermeier
be1ec93271
implement eth_sign
2016-05-29 15:46:57 +02:00
Robert Habermeier
7cea3eb5ed
move rpc_unimplemented into impls module
2016-05-29 15:21:23 +02:00
Robert Habermeier
191bae5cd4
add stubs for missing eth_* rpc methods
2016-05-29 15:21:23 +02:00
Robert Habermeier
fb2ea765d5
remove default implementations using rpc_unimplemented!()
2016-05-29 15:21:23 +02:00
Gav Wood
a5808833b1
Merge remote-tracking branch 'origin/master' into vmtracing
2016-05-29 11:13:48 +02:00
Gav Wood
cd16828fef
Integrated VM tracing into JSONRPC.
2016-05-29 00:58:52 +02:00
Arkadiy Paronyan
b9f7ed9185
Merge pull request #1141 from rphmeier/rpc-tests
...
Framework for improved RPC unit tests
2016-05-29 00:50:19 +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
Gav Wood
d4a06b27ed
Create VMTracer trait.
2016-05-28 17:50:20 +02:00
Gav Wood
c1ed520de0
RPC endpoint for VM tracing and ser/de types ready.
2016-05-28 16:52:33 +02:00
Robert Habermeier
5197ca87ee
merge with master
2016-05-27 18:55:01 +02:00
Robert Habermeier
c021ecd13b
move "integration" tests out into main module
2016-05-27 18:40:48 +02:00
Robert Habermeier
9d4cd7b73e
assert the transaction is being signed correctly
2016-05-27 18:21:27 +02:00
Robert Habermeier
e7791c220a
rebase fixes and address style concern
2016-05-27 18:21:26 +02:00
Robert Habermeier
4c55e4968e
add eth_blockNumber, eth_TransactionCount integration tests.
...
also adds an EthTester struct for more test flexibility.
2016-05-27 18:18:44 +02:00
Robert Habermeier
f67486e31f
have miner service update the pending nonces on transaction import
2016-05-27 18:18:42 +02:00
Robert Habermeier
d370a86b43
More flexible chain extraction, get_balance test
2016-05-27 18:13:53 +02:00
Robert Habermeier
152bb6f21b
create integration test harness for eth RPC API
2016-05-27 18:13:49 +02:00
Robert Habermeier
56b020987e
refine tests for call deserialization
2016-05-27 18:09:32 +02:00
Robert Habermeier
b28a8411a4
refactor dispatch_transaction and sign_and_dispatch into impls module
...
this has the added benefit of allowing the removal of redundant upgrades.
2016-05-27 16:50:25 +02:00
Robert Habermeier
194ca19720
move tests to personal
2016-05-27 16:45:26 +02:00
Robert Habermeier
c9efb56e19
move sign_and_send_transaction implementation to personal
2016-05-27 16:45:26 +02:00
Robert Habermeier
db2efe8485
move signAndSendTransaction to Personal trait.
2016-05-27 16:45:26 +02:00
Robert Habermeier
a272f8570c
correct indentation
2016-05-27 16:35:42 +02:00
Robert Habermeier
3f89362630
rename x_latest to latest_x in BlockChainClient
2016-05-27 16:35:42 +02:00
Robert Habermeier
30eee76767
use new nonce function in eth_TransactionCount
2016-05-27 16:35:42 +02:00
Robert Habermeier
86eab79d9d
consolidate [balance/storage]_at and _at_id functionality
2016-05-27 16:35:41 +02:00