Add individual processing for ef tests (#745)

* Add Individual signature verification for ef tests

* Add clone state to avoid errors in ef tests

* Add state verification for VerifyIndividual in ef tests

* Add Clone derive for errors

* Update comments
This commit is contained in:
pscott
2020-01-08 00:24:44 +01:00
committed by Michael Sproul
parent 95cc5dd22f
commit 8e1e6838d2
6 changed files with 47 additions and 23 deletions

View File

@@ -28,7 +28,7 @@ mod tests;
pub const CACHED_EPOCHS: usize = 3;
const MAX_RANDOM_BYTE: u64 = (1 << 8) - 1;
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Clone)]
pub enum Error {
EpochOutOfBounds,
SlotOutOfBounds,