Skip to content

Commit

Permalink
remove todo, fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev committed Apr 3, 2024
1 parent a3e42d3 commit e2fdbc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion beacon_node/beacon_chain/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,6 @@ where
{
self.chain
.import_attester_slashing(verified_attester_slashing);
// TODO add attester SSE
Ok(())
} else {
Err("should observe new attester slashing".to_string())
Expand Down
4 changes: 2 additions & 2 deletions beacon_node/http_api/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5325,7 +5325,7 @@ impl ApiTester {
)
.await;

assert!(attester_slashing_event.len() > 0);
assert!(attester_slashing_event.len() == 1);

// Test proposer slashing event
let mut proposer_slashing_event_future = self
Expand All @@ -5343,7 +5343,7 @@ impl ApiTester {
)
.await;

assert!(proposer_slashing_event.len() > 0);
assert!(proposer_slashing_event.len() == 1);

self
}
Expand Down

0 comments on commit e2fdbc3

Please sign in to comment.