From 9a626c84bc0563d361421f4232219145ddf45cd7 Mon Sep 17 00:00:00 2001 From: debris Date: Thu, 2 Jun 2016 12:44:05 +0200 Subject: [PATCH 1/2] fixed #1204 --- rpc/src/v1/impls/eth_filter.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rpc/src/v1/impls/eth_filter.rs b/rpc/src/v1/impls/eth_filter.rs index 4f44f5193..b34a4f703 100644 --- a/rpc/src/v1/impls/eth_filter.rs +++ b/rpc/src/v1/impls/eth_filter.rs @@ -169,8 +169,9 @@ impl EthFilter for EthFilterClient where logs.extend(new_pending_logs); } - // save current block number as next from block number - *block_number = current_number; + // save the number of the next block as a first block from which + // we want to get logs + *block_number = current_number + 1; to_value(&logs) } From 35753f22f7c9524fa420b870a3189bbc13844e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Thu, 2 Jun 2016 15:58:21 +0200 Subject: [PATCH 2/2] Removing leftovers of ethminer (#1207) --- cov.sh | 2 -- doc.sh | 1 - hook.sh | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cov.sh b/cov.sh index 084e95284..a13db50b9 100755 --- a/cov.sh +++ b/cov.sh @@ -22,7 +22,6 @@ cargo test \ -p ethsync \ -p ethcore-rpc \ -p parity \ - -p ethminer \ -p ethcore-signer \ -p ethcore-dapps \ --no-run || exit $? @@ -37,5 +36,4 @@ kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage t kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethcore_rpc-* kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethcore_signer-* kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethcore_dapps-* -kcov --exclude-pattern $EXCLUDE --include-pattern src --verify target/coverage target/debug/deps/ethminer-* xdg-open target/coverage/index.html diff --git a/doc.sh b/doc.sh index 0b75f6c38..fb39ef272 100755 --- a/doc.sh +++ b/doc.sh @@ -10,4 +10,3 @@ cargo doc --no-deps --verbose \ -p ethcore-signer \ -p ethcore-dapps \ -p parity \ - -p ethminer diff --git a/hook.sh b/hook.sh index 978f0ca23..adb763f9d 100755 --- a/hook.sh +++ b/hook.sh @@ -7,6 +7,6 @@ echo "set -e" >> $FILE echo "cargo build --features dev" >> $FILE # Build tests echo "cargo test --no-run --features dev \\" >> $FILE -echo " -p ethash -p ethcore-util -p ethcore -p ethsync -p ethcore-rpc -p parity -p ethminer -p ethcore-dapps -p ethcore-signer" >> $FILE +echo " -p ethash -p ethcore-util -p ethcore -p ethsync -p ethcore-rpc -p parity -p ethcore-dapps -p ethcore-signer" >> $FILE echo "" >> $FILE chmod +x $FILE