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

feat: Constraints API v0 #49

Merged
merged 34 commits into from
Nov 29, 2024
Merged

Conversation

thedevbirb
Copy link
Contributor

This PR introduces the Constraints API in Helix.

Copy link

@merklefruit merklefruit left a comment

Choose a reason for hiding this comment

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

Just tagging some broken docs links

crates/api/src/constraints/api.rs Outdated Show resolved Hide resolved
crates/api/src/constraints/api.rs Outdated Show resolved Hide resolved
crates/api/src/constraints/api.rs Outdated Show resolved Hide resolved
crates/api/src/proposer/api.rs Outdated Show resolved Hide resolved
crates/common/src/config.rs Outdated Show resolved Hide resolved
crates/common/src/bid_submission/submission.rs Outdated Show resolved Hide resolved
thedevbirb and others added 2 commits November 7, 2024 15:53
Co-authored-by: merklefruit <[email protected]>
Co-authored-by: mempirate <[email protected]>
Co-authored-by: namn-grg <[email protected]>
thedevbirb and others added 23 commits November 8, 2024 11:04
feat(constraints-api): add startup configuration
- fix lints + other refactoring
- max_block_value_to_verify_wei now U256 to handle big value cases
- return earlier in get_header_with_proofs call
…lue-is-above-threshold

introduce max_block_value_to_verify in constraints config
feat: import website from aestus upstream, solve conflicts
fix(db): retry creating pool handle
@thedevbirb thedevbirb marked this pull request as ready for review November 14, 2024 08:24
fix(ssz): backwards compatibility on `SignedBidSubmission`
Copy link
Collaborator

@gd-0 gd-0 left a comment

Choose a reason for hiding this comment

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

Looks good 🚀

Just some minor comments that aren't critical to address before we merge.

Thanks for the PR!

crates/common/src/api/constraints_api.rs Outdated Show resolved Hide resolved
crates/common/src/proofs.rs Outdated Show resolved Hide resolved
crates/api/src/constraints/api.rs Outdated Show resolved Hide resolved
crates/api/src/builder/api.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@0w3n-d 0w3n-d left a comment

Choose a reason for hiding this comment

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

My main issue with this PR is it seems to assume everything is talking to the same redis. But maybe we can fix this in a follow up PR.

crates/api/src/constraints/api.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@gd-0 gd-0 left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@0w3n-d 0w3n-d merged commit ac3738e into gattaca-com:develop Nov 29, 2024
2 of 3 checks passed
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.

4 participants