Skip to content

Conversation

dimriou
Copy link
Contributor

@dimriou dimriou commented Jun 18, 2025

No description provided.

@dimriou dimriou closed this Jun 19, 2025
@dimriou
Copy link
Contributor Author

dimriou commented Jun 19, 2025

Closed by accident

@dimriou dimriou reopened this Jun 19, 2025
@dimriou dimriou marked this pull request as ready for review June 19, 2025 07:28
@dimriou dimriou requested review from a team as code owners June 19, 2025 07:28
@dimriou dimriou requested a review from justinkaseman June 19, 2025 07:28
@dimriou dimriou force-pushed the oev-393_metaclient branch from af3b955 to 1f7ad31 Compare June 19, 2025 09:56
func SelectClient(lggr logger.Logger, client client.Client, keyStore keys.ChainStore, url *url.URL, chainID *big.Int) txm.Client {
urlString := url.String()
switch {
case strings.Contains(urlString, "flashbots"):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is is possible to make this more specific to avoid incidental false positives? Like by comparing to the url fields, or including more characters at the start & end?

SignTx(ctx context.Context, fromAddress common.Address, tx *evmtypes.Transaction) (*evmtypes.Transaction, error)
}

type MetaClient struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does Meta mean in this context? We are already in package dualbroadcast, can this just be a dualbroadcast.Client?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Er, maybe just some docs would help

lggr logger.SugaredLogger
c client.Client
ks MetaClientKeystore
customURL *url.URL
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
customURL *url.URL
url *url.URL

or

Suggested change
customURL *url.URL
endpoint *url.URL

Signature hexutil.Bytes `json:"signature"`
}

type requestResponse struct {
Copy link
Contributor

@cll-gg cll-gg Jun 23, 2025

Choose a reason for hiding this comment

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

Slightly more descriptive:

Suggested change
type requestResponse struct {
type metaResponse struct {

@cll-gg
Copy link
Contributor

cll-gg commented Jun 24, 2025

Please fill in the PR description a bit, helpful for traceability

Copy link
Contributor

This PR is stale because it has been open 30 days with no activity.
Remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jul 27, 2025
@dimriou dimriou removed the Stale label Jul 30, 2025
@dimriou dimriou force-pushed the oev-393_metaclient branch from 20db9bf to 0920cd0 Compare August 29, 2025 15:21
@dimriou dimriou enabled auto-merge (squash) September 8, 2025 16:22
silaslenihan
silaslenihan previously approved these changes Sep 8, 2025
@dimriou dimriou disabled auto-merge September 8, 2025 16:32
amit-momin
amit-momin previously approved these changes Sep 8, 2025
Farber98
Farber98 previously approved these changes Sep 8, 2025
ilija42
ilija42 previously approved these changes Sep 8, 2025
@dimriou dimriou enabled auto-merge (squash) September 9, 2025 17:19
@dimriou dimriou merged commit 353abcf into develop Sep 9, 2025
33 checks passed
@dimriou dimriou deleted the oev-393_metaclient branch September 9, 2025 17:24
dimriou added a commit that referenced this pull request Sep 9, 2025
* Refactor dual broadcast clients

* Fix DetectionURL

* Add verification

* More changes

* Update metaclient params

* Add control check

* Add metacalldata unpacking for verification

* Nit

* Add tests

* Update client

* Fix send transaction bug

* Add fuzzing tests

* Don't broadcast without SOPs

* Use mapstructure for unpacking input tuple to go struct

* Tidy

---------

Co-authored-by: Eric Fornaciari <[email protected]>
@cl-efornaciari cl-efornaciari restored the oev-393_metaclient branch September 10, 2025 22:42
dimriou added a commit that referenced this pull request Sep 11, 2025
* Refactor dual broadcast clients

* Fix DetectionURL

* Add verification

* More changes

* Update metaclient params

* Add control check

* Add metacalldata unpacking for verification

* Nit

* Add tests

* Update client

* Fix send transaction bug

* Add fuzzing tests

* Don't broadcast without SOPs

* Use mapstructure for unpacking input tuple to go struct

* Tidy

---------

Co-authored-by: Eric Fornaciari <[email protected]>
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.

9 participants