Modularize beacon node backend (#4718)

#4669


  Modularize the beacon node backend to make it easier to add new database implementations
This commit is contained in:
Eitan Seri-Levi
2025-01-23 09:12:16 +07:00
committed by GitHub
parent 266b241123
commit a1b7d616b4
38 changed files with 1479 additions and 650 deletions

View File

@@ -1933,7 +1933,7 @@ impl ApiTester {
.sync_committee_period(&self.chain.spec)
.unwrap();
let result = match self
match self
.client
.get_beacon_light_client_updates::<E>(current_sync_committee_period, 1)
.await
@@ -1954,7 +1954,6 @@ impl ApiTester {
.unwrap();
assert_eq!(1, expected.len());
assert_eq!(result.clone().unwrap().len(), expected.len());
self
}
@@ -1979,7 +1978,6 @@ impl ApiTester {
.get_light_client_bootstrap(&self.chain.store, &block_root, 1u64, &self.chain.spec);
assert!(expected.is_ok());
assert_eq!(result.unwrap().data, expected.unwrap().unwrap().0);
self