Skip to content

Conversation

@ogabrielides
Copy link

Description

Integration of pod network

Changes

  • Added pod network API for bid submission, bids fetching and wait for past perfection time
  • Configured to connect to our pod subnet

This PR adds pod integration allowing solver to determine auction winner in a decentrilized shadow way.
When a solver has computed a solution, it also submits it to pod network.
Asynchronously it then waits for the auction to end, fetches all the bids from pod network and compute winner selection in the same way the autopilot does.
No existing functionality was replaced/updated. This PR only integrates the pod network in shadow mode.

How to test

A second baseline was added in playground. All tracing logs related to pod have the prefix [pod]

@ogabrielides ogabrielides requested a review from a team as a code owner November 19, 2025 12:05
@github-actions
Copy link


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@socket-security
Copy link

socket-security bot commented Nov 19, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedfutures@​0.3.30 ⏵ 0.3.3110010093100100
Updatedhumantime@​2.1.0 ⏵ 2.3.010010093100100
Updatedhyper@​1.6.0 ⏵ 0.14.3299 -110093100100

View full report

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

This pull request has been marked as stale because it has been inactive a while. Please update this pull request or it will be automatically closed.

@github-actions github-actions bot added the stale label Dec 5, 2025
@github-actions github-actions bot removed the stale label Dec 11, 2025
Copy link
Contributor

@MartinquaXD MartinquaXD left a comment

Choose a reason for hiding this comment

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

Sorry for the late review. 🙇

}
};

let solve_response = dto::SolveResponse::new(score.clone(), solver);
Copy link
Contributor

Choose a reason for hiding this comment

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

Note to myself: we need to think about an upgrade path in case we have to change the response format in the future. Likely the same way ethereum handles hardforks (pick some auction_id at which all nodes should use the new format).

Comment on lines 313 to 316
self.config
.pod
.as_ref()
.map(|pod| pod.auction_contract_address)
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't this equivalent?

Suggested change
self.config
.pod
.as_ref()
.map(|pod| pod.auction_contract_address)
self.config.pod?.auction_contract_address

Copy link
Author

Choose a reason for hiding this comment

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

No, but I refactored to this one:

Some(self.config.pod.as_ref()?.auction_contract_address)

Copy link
Contributor

Choose a reason for hiding this comment

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

Would be good to separate out the playground changes into a separate PR.

@github-actions
Copy link

This pull request has been marked as stale because it has been inactive a while. Please update this pull request or it will be automatically closed.

@github-actions github-actions bot added the stale label Dec 24, 2025
@squadgazzz squadgazzz mentioned this pull request Dec 26, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants