openethereum/ethcore/src
Wei Tang a6df452841
Implement EIP234 block_hash for eth_getLogs (#9256)
* Implement EIP234

* Make filter conversion returns error if both blockHash and from/toBlock is found

This also changes PollFilter to store the EthFilter type, instead of the jsonrpc one, saving repeated conversion.

* Return error if block filtering target is not found in eth_getLogs

Use the old behavior (unwrap_or_default) for anywhere else.

* fix test: secret_store

* Fix weird indentation

* Make client log filter return error in case a block cannot be found

* Return blockId error in rpc

* test_client: allow return error on logs

* Add a mocked test for eth_getLogs error

* fix: should return error if from_block/to_block greater than best block number

* Add notes on pending

* Add comment for UNSUPPORTED_REQUEST

* Address grumbles

* Return err if from > to
2018-08-13 15:47:10 +08:00
..
account_provider Remove all dapp permissions related settings (#9120) 2018-08-07 20:52:23 +08:00
blockchain block cleanup (#9117) 2018-07-30 10:45:10 +01:00
client Implement EIP234 block_hash for eth_getLogs (#9256) 2018-08-13 15:47:10 +08:00
engines decode block rlp less often (#9252) 2018-08-02 10:20:46 +01:00
ethereum ethcore: fix pow difficulty validation (#9328) 2018-08-10 15:36:19 +02:00
json_tests decode block rlp less often (#9252) 2018-08-02 10:20:46 +01:00
miner ethcore: fix pow difficulty validation (#9328) 2018-08-10 15:36:19 +02:00
snapshot block cleanup (#9117) 2018-07-30 10:45:10 +01:00
spec ethcore: add transition flag for transaction permission contract (#9275) 2018-08-07 15:18:19 +01:00
state Implement EIP-1052 (EXTCODEHASH) and fix several issues in state account cache (#9234) 2018-07-31 13:27:57 +08:00
tests Implement EIP234 block_hash for eth_getLogs (#9256) 2018-08-13 15:47:10 +08:00
trace Improve Tracer documentation (#9237) 2018-07-30 13:59:01 +02:00
verification ethcore sync decodes rlp less often (#9264) 2018-08-08 10:56:54 +02:00
views Don't allocate in expect_valid_rlp unless necessary (#8867) 2018-06-12 08:15:52 +02:00
account_db.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
block.rs Update `log` -> 0.4, `env_logger` -> 0.5. (#9294) 2018-08-10 00:04:10 +01:00
builtin.rs ethcore: add missing builtins benchmarks (#9170) 2018-07-20 15:06:11 +02:00
cache_manager.rs remove trait bounds from several structs (#9055) 2018-07-09 12:55:27 +01:00
db.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
encoded.rs block cleanup (#9117) 2018-07-30 10:45:10 +01:00
error.rs removed client error (#9253) 2018-07-31 10:55:18 +01:00
executed.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
executive.rs Comply EIP-86 with the new definition (#9140) 2018-08-01 13:17:04 +02:00
externalities.rs Fix eternalities tests can_create (missing parameter) (#9270) 2018-08-02 17:15:22 +08:00
factory.rs Avoid schedule copying in nested call/create (#9190) 2018-07-23 15:48:01 +02:00
header.rs block cleanup (#9117) 2018-07-30 10:45:10 +01:00
lib.rs docs: update repository links (#9159) 2018-07-23 13:58:50 +02:00
machine.rs ethcore: add transition flag for transaction permission contract (#9275) 2018-08-07 15:18:19 +01:00
pod_account.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
pod_state.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
state_db.rs remove util-error (#9054) 2018-07-06 15:09:39 +02:00
test_helpers.rs decode block rlp less often (#9252) 2018-08-02 10:20:46 +01:00
tx_filter.rs ethcore: add transition flag for transaction permission contract (#9275) 2018-08-07 15:18:19 +01:00