Skip to content

Conversation

Kayden-ML
Copy link
Contributor

What was wrong?

Implements first half of this issue: #671

How was it fixed?

I Implemented the gossipsub p2p code with the block and vote

@Kayden-ML Kayden-ML self-assigned this Aug 11, 2025
@Kayden-ML Kayden-ML requested a review from KolbyML as a code owner August 11, 2025 06:21
Copy link
Contributor

@shariqnaiyer shariqnaiyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Great work 👍

@Kayden-ML Kayden-ML enabled auto-merge August 11, 2025 06:28
@Kayden-ML Kayden-ML added this pull request to the merge queue Aug 11, 2025
Merged via the queue into ReamLabs:master with commit a6d1351 Aug 11, 2025
14 checks passed
Copy link
Contributor

@varun-doshi varun-doshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After rebasing and pulling after this PR was merged, the lean binary was not even running for me. Failing due to network spec not initialised. I think its because you are using beacon network spec for lean stuff and also beacon gossipsubconfig.
I have pushed the fix for this on my PR here #690

.expect("Failed to create network service");
let network_service = LeanNetworkService::new(
Arc::new(LeanNetworkConfig {
gossipsub_config: GossipsubConfig::default(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this target LeanGossipsubConfig?

}

pub struct LeanNetworkConfig {
pub gossipsub_config: GossipsubConfig,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

.history_gossip(3)
.max_messages_per_rpc(Some(500))
.duplicate_cache_time(Duration::from_secs(
SLOTS_PER_EPOCH * beacon_network_spec().seconds_per_slot * 2,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be lean_network_spec()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants