From 3c26af54dfde5ab58c4de17f5412c3ac2659a4a2 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Tue, 2 Jul 2024 13:51:06 -0500 Subject: [PATCH] Electra: Unskip state-native tests for spectest v1.5.0-alpha.3 --- beacon-chain/state/state-native/getters_withdrawal_test.go | 1 - beacon-chain/state/state-native/setters_churn_test.go | 1 - beacon-chain/state/state-native/state_trie_test.go | 1 - 3 files changed, 3 deletions(-) diff --git a/beacon-chain/state/state-native/getters_withdrawal_test.go b/beacon-chain/state/state-native/getters_withdrawal_test.go index f296f4e6e53d..2b247c255bf8 100644 --- a/beacon-chain/state/state-native/getters_withdrawal_test.go +++ b/beacon-chain/state/state-native/getters_withdrawal_test.go @@ -333,7 +333,6 @@ func TestExpectedWithdrawals(t *testing.T) { } t.Run("electra all pending partial withdrawals", func(t *testing.T) { - t.Skip("Failing until spectests are updated to v1.5.0-alpha.3") // Load a serialized Electra state from disk. // This spectest has a fully hydrated beacon state with partial pending withdrawals. serializedBytes, err := util.BazelFileBytes("tests/mainnet/electra/operations/withdrawal_request/pyspec_tests/pending_withdrawals_consume_all_excess_balance/pre.ssz_snappy") diff --git a/beacon-chain/state/state-native/setters_churn_test.go b/beacon-chain/state/state-native/setters_churn_test.go index eb4b7106e5d3..397932023d3b 100644 --- a/beacon-chain/state/state-native/setters_churn_test.go +++ b/beacon-chain/state/state-native/setters_churn_test.go @@ -15,7 +15,6 @@ import ( ) func TestExitEpochAndUpdateChurn_SpectestCase(t *testing.T) { - t.Skip("Failing until spectests are updated to v1.5.0-alpha.3") // Load a serialized Electra state from disk. // The spec tests shows that the exit epoch is 262 for validator 0 performing a voluntary exit. serializedBytes, err := util.BazelFileBytes("tests/mainnet/electra/operations/voluntary_exit/pyspec_tests/exit_existing_churn_and_churn_limit_balance/pre.ssz_snappy") diff --git a/beacon-chain/state/state-native/state_trie_test.go b/beacon-chain/state/state-native/state_trie_test.go index 6b36186fe6e3..2fa4858a9f73 100644 --- a/beacon-chain/state/state-native/state_trie_test.go +++ b/beacon-chain/state/state-native/state_trie_test.go @@ -844,7 +844,6 @@ func TestBeaconState_InitializeInactivityScoresCorrectly_Deneb(t *testing.T) { } func TestBeaconChainCopy_Electra(t *testing.T) { - t.Skip("Failing until spectests are updated to v1.5.0-alpha.3") // Load a serialized Electra state from disk. // This is a fully hydrated random test case from spectests. serializedBytes, err := util.BazelFileBytes("tests/mainnet/electra/ssz_static/BeaconState/ssz_random/case_0/serialized.ssz_snappy")