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

Isolate Settlement Encoding logic #2632

Merged
merged 2 commits into from
Apr 20, 2024
Merged

Conversation

fleupold
Copy link
Contributor

Description

In order to move the settlement encoding logic from the boundar module/legacy solver crate into the domain it helps to first isolate the call to encode into a single place. This will then allow us to wrap this invocation behind a conditional config variable to control the rollout (once implemented)

Changes

  • Instead of storing a boundary::Settlement on domain::Settlement store a struct that references domain::eth::Tx directly (one for internalized interactions, one for uninternalised interactions repr)
  • Find alternatives for the remaining calls to settlement.boundary (most of them are already exposed on the solution directly)

How to test

CI

Related Issues

First step of #2215

@fleupold fleupold requested a review from a team as a code owner April 18, 2024 18:14
@fleupold fleupold enabled auto-merge (squash) April 20, 2024 06:55
@fleupold fleupold merged commit 2729e8a into main Apr 20, 2024
9 checks passed
@fleupold fleupold deleted the isolate_settlement_encoding branch April 20, 2024 07:00
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 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.

3 participants