Pool: A bunch of tests and fixes (#914)

* Implement Ready/Future events.

* Trigger invalid notification.

* Clearing stale transactions test.

* Fix RPC test.
This commit is contained in:
Tomasz Drwięga
2018-10-17 16:25:30 +02:00
committed by Gav Wood
parent 9886d12c26
commit 0c7389e108
7 changed files with 342 additions and 19 deletions
@@ -37,6 +37,12 @@ extern crate sr_primitives;
#[macro_use] extern crate log;
#[macro_use] extern crate serde_derive;
#[cfg(test)]
extern crate substrate_test_runtime as test_runtime;
#[cfg(test)]
#[macro_use]
extern crate assert_matches;
mod future;
mod listener;
mod pool;