Skip to content

Commit

Permalink
Update EF Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ethDreamer committed Aug 1, 2023
1 parent 5143edc commit 0a0fc52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion testing/ef_tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TESTS_TAG := v1.4.0-alpha.2
TESTS_TAG := v1.4.0-beta.0
TESTS = general minimal mainnet
TARBALLS = $(patsubst %,%-$(TESTS_TAG).tar.gz,$(TESTS))

Expand Down
11 changes: 6 additions & 5 deletions testing/ef_tests/src/cases/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use state_processing::{
errors::BlockProcessingError,
process_block_header, process_execution_payload,
process_operations::{
altair, base, process_attester_slashings, process_bls_to_execution_changes,
altair, base, deneb, process_attester_slashings, process_bls_to_execution_changes,
process_deposits, process_exits, process_proposer_slashings,
},
process_sync_aggregate, process_withdrawals, VerifyBlockRoot, VerifySignatures,
Expand Down Expand Up @@ -98,13 +98,14 @@ impl<E: EthSpec> Operation<E> for Attestation<E> {
&mut ctxt,
spec,
),
BeaconState::Altair(_)
| BeaconState::Merge(_)
| BeaconState::Capella(_)
| BeaconState::Deneb(_) => {
BeaconState::Altair(_) | BeaconState::Merge(_) | BeaconState::Capella(_) => {
initialize_progressive_balances_cache(state, None, spec)?;
altair::process_attestation(state, self, 0, &mut ctxt, VerifySignatures::True, spec)
}
BeaconState::Deneb(_) => {
initialize_progressive_balances_cache(state, None, spec)?;
deneb::process_attestation(state, self, 0, &mut ctxt, VerifySignatures::True, spec)
}
}
}
}
Expand Down

0 comments on commit 0a0fc52

Please sign in to comment.