Skip to content

Commit 04da37b

Browse files
MuhtasimTanmoylaborant
andauthored
fix: update beacon state serialization test to fulu (#1207)
fix: test beacon state serialization update to fulu Co-authored-by: laborant <[email protected]>
1 parent 83a58ca commit 04da37b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

testing/beacon-api/tests/assets/state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

testing/beacon-api/tests/serialization.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@ use serde_json::Value;
1010

1111
const PATH_TO_TEST_DATA_FOLDER: &str = "./tests/assets";
1212

13-
/// TODO: Update test to Fulu
14-
#[ignore = "Update test to Fulu"]
1513
#[tokio::test]
1614
async fn test_beacon_state_serialization() -> anyhow::Result<()> {
1715
let original_json = read_json_file("state.json")?;
1816

1917
let beacon_state: BeaconVersionedResponse<BeaconState> =
2018
serde_json::from_value(original_json.clone())?;
2119

22-
assert_eq!(beacon_state.version, "electra");
20+
assert_eq!(beacon_state.version, "fulu");
2321
assert_eq!(beacon_state.data.latest_block_header.slot, 1);
2422
assert_eq!(
2523
beacon_state.data.latest_block_header.parent_root,

0 commit comments

Comments
 (0)