-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
This looks like it includes the changes in |
@@ -0,0 +1,339 @@ | |||
// Copyright 2015, 2016 Ethcore (UK) Ltd. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Banning functionality shouldn't be making it into 1.3 series.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merg leftover. It is not even included in the build. Removed anyway
looks like the banning queue functionality was accidentally included here. it's not part of the EIPs and shouldn't be making it into 1.3 series. |
Update transaction tests validation.
Changes Unknown when pulling fb3f385 on backporting into * on beta*. |
@@ -18,6 +18,6 @@ extern crate ethcore_ipc_codegen; | |||
|
|||
fn main() { | |||
ethcore_ipc_codegen::derive_binary("src/types/mod.rs.in").unwrap(); | |||
ethcore_ipc_codegen::derive_ipc("src/client/traits.rs").unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't remember changing this file...
@@ -15,12 +15,10 @@ | |||
// along with Parity. If not, see <http://www.gnu.org/licenses/>. | |||
|
|||
use util::numbers::*; | |||
use ipc::{IpcConfig, BinaryConvertError}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't remember changing this file
@@ -30,13 +30,17 @@ pub use self::test_client::{TestBlockChainClient, EachBlockWith}; | |||
pub use types::trace_filter::Filter as TraceFilter; | |||
pub use executive::{Executed, Executive, TransactOptions}; | |||
pub use env_info::{LastHashes, EnvInfo}; | |||
pub use self::chain_notify::{ChainNotify, ChainNotifyClient}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't remember these changes.
@@ -21,55 +21,6 @@ | |||
//! transaction's nonce and next nonce expected from this sender). If nonces are equal transaction's gas price is used | |||
//! for comparison (higher gas price = higher priority). | |||
//! | |||
//! # Usage Example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't remember removing all of this
@gavofyork you used |
I've disabled IPC code generation in this PR because #2976 brakes it. IPC codegen is already disabled in master. |
@@ -162,7 +162,8 @@ mod test { | |||
#[test] | |||
fn should_create_new_account() { | |||
// given | |||
let dir = env::temp_dir(); | |||
let mut dir = env::temp_dir(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't remember changing this
@@ -49,7 +49,7 @@ include!(concat!(env!("OUT_DIR"), "/lib.rs")); | |||
include!("lib.rs.in"); | |||
|
|||
#[cfg(feature = "with-syntex")] | |||
pub fn register(reg: &mut syntex::Registry) { | |||
pub fn register_cleaner(reg: &mut syntex::Registry) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't remember changing this file.
@@ -34,7 +34,7 @@ pub struct HypervisorService { | |||
check_list: RwLock<HashMap<IpcModuleId, bool>>, | |||
} | |||
|
|||
#[derive(Ipc)] | |||
#[ipc] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this and the similar changes following were not EIP related.
@@ -119,11 +118,6 @@ fn start() -> Result<String, String> { | |||
fn main() { | |||
// Always print backtrace on panic. | |||
::std::env::set_var("RUST_BACKTRACE", "1"); | |||
// just redirect to the sync::main() | |||
if std::env::args().nth(1).map_or(false, |arg| arg == "sync") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not EIP related.
@@ -25,10 +25,6 @@ use self::ipc_deps::*; | |||
use ethcore_logger::Config as LogConfig; | |||
|
|||
pub mod service_urls { | |||
pub const CLIENT: &'static str = "ipc:///tmp/parity-chain.ipc"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not EIP related
pub network_id: U256, | ||
pub network_id: usize, | ||
/// Main "eth" subprotocol name. | ||
pub subprotocol_name: [u8; 3], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra subprotocol_name
field is from unrelated EXP PR, i think
@@ -49,7 +51,8 @@ impl Default for SyncConfig { | |||
fn default() -> SyncConfig { | |||
SyncConfig { | |||
max_download_ahead_blocks: 20000, | |||
network_id: U256::from(1), | |||
network_id: 1, | |||
subprotocol_name: *b"eth", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
subprotocol_name
was from the EXP PR, i think
@@ -90,8 +93,6 @@ impl EthSync { | |||
} | |||
} | |||
|
|||
#[derive(Ipc)] | |||
#[ipc(client_ident="SyncClient")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not from the EIP PR
@@ -185,8 +186,6 @@ pub trait ManageNetwork : Send + Sync { | |||
} | |||
|
|||
|
|||
#[derive(Ipc)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not from the EIP PR
@@ -91,7 +91,7 @@ mod api { | |||
include!(concat!(env!("OUT_DIR"), "/api.rs")); | |||
} | |||
|
|||
pub use api::{EthSync, SyncProvider, SyncClient, NetworkManagerClient, ManageNetwork, SyncConfig, | |||
pub use api::{EthSync, SyncProvider, ManageNetwork, SyncConfig, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not from the EIP PR
@@ -1,11 +1,11 @@ | |||
#!/bin/sh | |||
# Running Parity Full Test Sute | |||
|
|||
FEATURES="json-tests ipc" | |||
FEATURES="json-tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not from the EIP PR
|
||
case $1 in | ||
--no-json) | ||
FEATURES="ipc" | ||
FEATURES="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not from the EIP PR
quite a few changes from the EXP |
seems the IPC changes were intentional - the partial EXP changes not so much? |
EXP support is already in beta. Looks like it was not properly merged before. |
fair enough |
No description provided.