Skip to content

Conversation

@YichiZhang0613
Copy link
Contributor

@YichiZhang0613 YichiZhang0613 commented May 30, 2025

What

Fix problem mentioned in #497 .

Why

Check if permit is none as required to prevent potential improper behavior later.

Where

In p2p/p2p-core/src/handles.rs.

How

It will make fn build panic when permit is not set for HandleBuilder.

@github-actions github-actions bot added the A-p2p Area: Related to P2P. label May 30, 2025
@YichiZhang0613
Copy link
Contributor Author

It looks like some tests conflict with modification.

@hinto-janai hinto-janai added the C-fix Category: PRs that fixes code, or issues documenting a fix. label Jun 5, 2025
@Boog900
Copy link
Member

Boog900 commented Jun 28, 2025

@YichiZhang0613 can I ask if you use AI and to what extent if you do?

@YichiZhang0613
Copy link
Contributor Author

@YichiZhang0613 can I ask if you use AI and to what extent if you do?

@YichiZhang0613 can I ask if you use AI and to what extent if you do?

This PR was written by myself without AI.

@Boog900
Copy link
Member

Boog900 commented Jun 29, 2025

This PR was written by myself without AI.

Ok nice! do you use a tool to find these errors? if so what tool?

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

Labels

A-p2p Area: Related to P2P. C-fix Category: PRs that fixes code, or issues documenting a fix.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants