Process exits and slashings off the network (#1253)

* Process exits and slashings off the network

* Fix rest_api tests

* Add op verification tests

* Add tests for pruning of slashings in the op pool

* Address Paul's review comments
This commit is contained in:
Michael Sproul
2020-06-18 21:06:34 +10:00
committed by GitHub
parent 3199b1a6f2
commit bcb6afa0aa
27 changed files with 956 additions and 273 deletions

15
Cargo.lock generated
View File

@@ -237,6 +237,7 @@ dependencies = [
"bitvec",
"bls",
"bus",
"derivative",
"environment",
"eth1",
"eth2_config",
@@ -267,6 +268,7 @@ dependencies = [
"slog",
"sloggers",
"slot_clock",
"smallvec 1.4.0",
"state_processing",
"store",
"tempfile",
@@ -925,6 +927,17 @@ dependencies = [
"types",
]
[[package]]
name = "derivative"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb582b60359da160a9477ee80f15c8d784c477e69c217ef2cdd4169c24ea380f"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "derive_arbitrary"
version = "0.4.4"
@@ -2904,6 +2917,7 @@ dependencies = [
"sloggers",
"slot_clock",
"smallvec 1.4.0",
"state_processing",
"store",
"tempfile",
"tokio 0.2.21",
@@ -5254,6 +5268,7 @@ dependencies = [
"compare_fields",
"compare_fields_derive",
"criterion",
"derivative",
"dirs",
"eth2_hashing",
"eth2_interop_keypairs",