From 8366352aaabca7a9f8e0c811353b64fc9d52d018 Mon Sep 17 00:00:00 2001 From: Darren Langley Date: Wed, 10 Apr 2019 21:07:56 +1000 Subject: [PATCH] mapped out invalid states... 59 --- .../src/per_block_processing/tests.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/eth2/state_processing/src/per_block_processing/tests.rs b/eth2/state_processing/src/per_block_processing/tests.rs index c9318bc63..28dbc2c55 100644 --- a/eth2/state_processing/src/per_block_processing/tests.rs +++ b/eth2/state_processing/src/per_block_processing/tests.rs @@ -92,5 +92,20 @@ fn runs_without_error() { // Invalid::TooYoungToLeave // Invalid::BadSignature +// process_transfers +// Invalid::MaxTransfersExceed +// verify_transfer +// Invalid::FromValidatorUnknown +// Invalid::FeeOverflow +// Invalid::FromBalanceInsufficient (amount) +// Invalid::FromBalanceInsufficient (fee) +// Invalid::InvalidResultingFromBalance +// Invalid::TransferSlotInPast +// Invalid::StateSlotMismatch +// Invalid::FromValidatorUnknown (???) +// Invalid::FromValidatorIneligableForTransfer +// Invalid::WithdrawalCredentialsMismatch +// Invalid::BadSignature +