Skip to content

Commit

Permalink
fix: resolve PR concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML committed Oct 15, 2024
1 parent 9ef011c commit 2d0ee29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ethportal-api/src/beacon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ pub trait BeaconNetworkApi {
#[method(name = "beaconGetContent")]
async fn get_content(&self, content_key: BeaconContentKey) -> RpcResult<ContentInfo>;

/// Lookup a target content key in the network. Return tracing info.
/// First checks local storage if content is not found lookup a target content key in the
/// network. Return tracing info.
#[method(name = "beaconTraceGetContent")]
async fn trace_get_content(&self, content_key: BeaconContentKey)
-> RpcResult<TraceContentInfo>;
Expand Down
2 changes: 1 addition & 1 deletion ethportal-peertest/src/scenarios/gossip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ pub async fn test_gossip_dropped_with_find_content(peertest: &Peertest, target:
.await
.unwrap();

// send find_content request from fresh target to target
// send get_content request from fresh target to target
let _result = fresh_target.get_content(body_key_2.clone()).await.unwrap();

// check that the fresh target has stored body_2 stored
Expand Down

0 comments on commit 2d0ee29

Please sign in to comment.