mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user