enable tests

This commit is contained in:
realbigsean
2024-05-12 12:38:39 -04:00
parent dff44b393f
commit affdccd460
3 changed files with 47 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
#![cfg(feature = "ef_tests")]
use ef_tests::*;
use types::{MainnetEthSpec, MinimalEthSpec, *};
use types::{ExecutionLayerWithdrawalRequest, MainnetEthSpec, MinimalEthSpec, *};
// Check that the hand-computed multiplications on EthSpec are correctly computed.
// This test lives here because one is most likely to muck these up during a spec update.
@@ -92,6 +92,24 @@ fn operations_withdrawals() {
OperationsHandler::<MainnetEthSpec, WithdrawalsPayload<_>>::default().run();
}
#[test]
fn operations_execution_layer_withdrawal_reqeusts() {
OperationsHandler::<MinimalEthSpec, ExecutionLayerWithdrawalRequest>::default().run();
OperationsHandler::<MainnetEthSpec, ExecutionLayerWithdrawalRequest>::default().run();
}
#[test]
fn operations_deposit_receipts() {
OperationsHandler::<MinimalEthSpec, DepositReceipt>::default().run();
OperationsHandler::<MainnetEthSpec, DepositReceipt>::default().run();
}
#[test]
fn operations_consolidations() {
OperationsHandler::<MinimalEthSpec, SignedConsolidation>::default().run();
OperationsHandler::<MainnetEthSpec, SignedConsolidation>::default().run();
}
#[test]
fn operations_bls_to_execution_change() {
OperationsHandler::<MinimalEthSpec, SignedBlsToExecutionChange>::default().run();