ethabi version 5 (#7723)
* Refactor updater to use ethabi-derive * Grumble: do_call type alias * Empty commit to trigger test re-run * migration to ethabi-5.0 * migration to ethabi-5.0 in progress * use ethabi_deriven to generate TransactAcl contract * use ethabi_deriven to generate Registry contract * hash-fetch uses ethabi_derive, removed retain cycle from updater, fixed #7720 * node-filter crate uses ethabi_derive to generate peer_set contract interface * use LruCache in node-filter instead of HashMap * validator_set engine uses ethabi_derive * ethcore does not depend on native_contracts * miner does no depend on native_contracts * secret_store does not use native_contracts (in progress) * removed native-contracts * ethcore and updater does not depend on futures * updated ethereum-types * fixed all warnings caused by using new version of ethereum-types * updated ethabi_derive && ethabi_contract to get rid of warnings * removed another retain cycle in updater, fixed following minor version on update * moved contracts out of native_contracts res * updated ethabi_contract * fixed failing test * fixed failing test * there is no need to create two contracts of the same kind any more * simplify updater::ReleaseTrack conversion into u8 and add several tests for it * applied review suggestions * applied review suggestions
This commit is contained in:
@@ -7,7 +7,7 @@ description = "Whisper Protocol implementation for Parity"
|
||||
[dependencies]
|
||||
bitflags = "0.9"
|
||||
byteorder = "1.0.0"
|
||||
ethereum-types = "0.1"
|
||||
ethereum-types = "0.2"
|
||||
ethcore-network = { path = "../util/network" }
|
||||
ethcrypto = { path = "../ethcrypto" }
|
||||
ethkey = { path = "../ethkey" }
|
||||
@@ -15,7 +15,7 @@ hex = "0.2"
|
||||
log = "0.3"
|
||||
ordered-float = "0.5"
|
||||
parking_lot = "0.5"
|
||||
rand = "0.3"
|
||||
rand = "0.4"
|
||||
ring = "0.12"
|
||||
rlp = { path = "../util/rlp" }
|
||||
serde = "1.0"
|
||||
|
||||
@@ -111,7 +111,7 @@ impl Manager {
|
||||
.map_err(|_| "unable to acquire secure randomness")?
|
||||
.gen();
|
||||
|
||||
sub.assign_id(::jsonrpc_pubsub::SubscriptionId::String(id.hex()))
|
||||
sub.assign_id(::jsonrpc_pubsub::SubscriptionId::String(format!("{:x}", id)))
|
||||
.map(move |sink| {
|
||||
let entry = FilterEntry::Subscription(Arc::new(filter), sink);
|
||||
self.filters.write().insert(id, entry);
|
||||
|
||||
Reference in New Issue
Block a user