openethereum/secret_store/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
..
key_server_cluster fix warning in secret-store test (#9074) 2018-07-09 16:48:15 +02:00
listener Implement EIP234 block_hash for eth_getLogs (#9256) 2018-08-13 15:47:10 +08:00
types simplify kvdb error types (#8924) 2018-07-02 10:04:48 +01:00
acl_storage.rs SecretStore: service pack 1 (#8435) 2018-06-14 10:01:52 +03:00
helpers.rs Read registry_address from block with REQUEST_CONFIRMATIONS_REQUIRED (#8309) 2018-04-06 12:03:13 +02:00
key_server.rs SecretStore: service pack 1 (#8435) 2018-06-14 10:01:52 +03:00
key_server_set.rs SecretStore: service pack 1 (#8435) 2018-06-14 10:01:52 +03:00
key_storage.rs SecretStore: service pack 1 (#8435) 2018-06-14 10:01:52 +03:00
lib.rs Delete crates from parity-ethereum and fetch them from parity-common instead (#9083) 2018-07-10 14:59:19 +02:00
node_key_pair.rs Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
serialization.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
traits.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
trusted_client.rs SecretStore: service pack 1 (#8435) 2018-06-14 10:01:52 +03:00