Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate the surplus capturing JIT-order owners to the solvers #2759

Merged
merged 3 commits into from
May 29, 2024

Conversation

m-lord-renkse
Copy link
Contributor

Description

The solvers would need to know the JIT-order surplus capturing addresses (see e.g. #2715 (comment)). For that the owner addresses are propagated to the solvers in the auction json.

Changes

Propagate the list of surplus capturing JIT-order owners to the solvers in the auction json.

How to test

  1. Regression tests

@m-lord-renkse m-lord-renkse requested a review from a team as a code owner May 28, 2024 16:53
Comment on lines +358 to +359
receiver: Option<eth::H160>,
owner: eth::H160,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed the H160 import and make it all as eth::H160 to keep consistency

@m-lord-renkse m-lord-renkse force-pushed the propagate-surplus-jit-order-owners-to-solvers branch from 9b155a9 to 6690e5f Compare May 28, 2024 16:58
crates/solvers/openapi.yml Show resolved Hide resolved
Copy link
Contributor

@sunce86 sunce86 left a comment

Choose a reason for hiding this comment

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

Also solvers-dto crate needs to be updated

@m-lord-renkse m-lord-renkse force-pushed the propagate-surplus-jit-order-owners-to-solvers branch 5 times, most recently from fff1c72 to cae7a0a Compare May 29, 2024 08:48
Copy link
Contributor

@fleupold fleupold left a comment

Choose a reason for hiding this comment

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

@m-lord-renkse
Copy link
Contributor Author

You probably know, but this will also require a change in https://github.com/gnosis/solvers/blob/ca55c3cca15630891f653bca077a8a0c6b364c39/Cargo.toml#L49

@fleupold yup, the PR is ready, I just need to merge this first and then push the tag.

@m-lord-renkse m-lord-renkse enabled auto-merge (squash) May 29, 2024 12:39
@m-lord-renkse m-lord-renkse merged commit 9f25c0e into main May 29, 2024
10 checks passed
@m-lord-renkse m-lord-renkse deleted the propagate-surplus-jit-order-owners-to-solvers branch May 29, 2024 12:44
@github-actions github-actions bot locked and limited conversation to collaborators May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants