Skip to content

add calculated public node to the deployed network object#1427

Merged
Omarabdul3ziz merged 1 commit into
developmentfrom
development_client_networkUpdate
Sep 2, 2025
Merged

add calculated public node to the deployed network object#1427
Omarabdul3ziz merged 1 commit into
developmentfrom
development_client_networkUpdate

Conversation

@Omarabdul3ziz
Copy link
Copy Markdown
Contributor

Problem

in case a public node was calculated while deploying a node for first time, the public node is added in the fields (NodeDeploymentIDs, WGPorts, Keys, ..) but not in Nodes

in case an update happens to the network, constructing the peers fails cause ip wasn't fetched for the public node, only we have it's ip. so it ends up with endpoint like this `":"

this gives the error

failed to configure network resource: failed to configure wireguard interface: failed to configure wireguard interface: wglinux: invalid endpoint IP: <nil>

Solution

just making sure the calculated public node is added to the znet object after the deployment is done

Co-authored-by: AhmedHanafy725 <hanafya@incubaid.com>
@Omarabdul3ziz Omarabdul3ziz merged commit 83f4295 into development Sep 2, 2025
176 of 177 checks passed
@Omarabdul3ziz Omarabdul3ziz deleted the development_client_networkUpdate branch September 2, 2025 11:47
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