openethereum/ethcore
Toby Dimmick 79a17dedd0 Deduplicate registrar contract & calling logic (#11110)
* Rename RegistryInfo -> RegistryInfoDeprecated

* Add BlockId parameter to Registrar::get_address and RegistrarClient::call_contract

* Remove RegistrarClient::Call (use async for now); add RegistrarClient::get_address

* Remove Registrar type in favour of naked trait

* Use CallContract trait bound instead of separate call_contract method

* Make RegistrarClient::get_address and URLHint::resolve synchronous

* RegistrarClient::get_address: return check if address is zero

* Modify RegistryInfo::registry_address to take &str

* return Result from RegistryInfo::registry_address

* Replace RegistryInfo with RegistrarClient

- Modifed RegistrarClient::registrar_address to return Option
- Removed BlockChainClient::registrar_address

* Fix other build configs

* Fix unit test builds

* Remove local RegistrarClient type from run::execute_impl

* Remove registrar.json from ethcore

* Formatting/line breaks

* Update RegistrarClient docs, remove explicit lifetime

* Weak ref to ethcore client from hash fetch client

* Fix unit tests
2019-10-03 15:15:25 +02:00
..
account-db Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
account-state Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
benches Fix ethcore/benches build. (#10964) 2019-08-13 15:27:28 +02:00
block-reward Extract spec to own crate (#10978) 2019-08-23 15:32:58 +02:00
blockchain Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
builtin [json-spec] make blake2 pricing spec more readable (#11034) 2019-09-10 17:52:04 +02:00
call-contract Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00
client-traits Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00
db Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
engine Extract engines to own crates (#10966) 2019-08-22 18:25:49 +02:00
engines Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
evm Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
executive-state Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
light Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
machine Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
node-filter Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
pod cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
private-tx Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00
res Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00
service Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
snapshot Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
spec Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
src Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00
state-db Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
sync Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
trace Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
trie-vm-factories Update to latest trie version. (#10972) 2019-08-15 15:36:48 +02:00
types add more tx tests (#11038) 2019-09-12 16:38:25 +02:00
verification Update kvdb, kvdb-rocksdb and h2 (#11091) 2019-09-27 23:29:14 +02:00
vm [trace] introduce trace failed to Ext (#11019) 2019-09-05 16:11:51 +02:00
wasm Fix deprecated trait objects without an explicit dyn (#11112) 2019-10-02 10:55:31 +02:00
Cargo.toml Deduplicate registrar contract & calling logic (#11110) 2019-10-03 15:15:25 +02:00