Skip to content

Feat: backrunme bloxroute#182

Merged
datluongductuan merged 9 commits intomainfrom
feat/backrunme-bloxroute
Dec 3, 2025
Merged

Feat: backrunme bloxroute#182
datluongductuan merged 9 commits intomainfrom
feat/backrunme-bloxroute

Conversation

@datluongductuan
Copy link
Member

No description provided.

- Updated go.mod to use Go 1.24.2 and added new dependencies for Bloxroute SDK.
- Implemented BloxrouteBackrunmeSender with methods for sending backrun bundles and simulating bundles.
- Added a test for the BloxrouteBackrunmeSender to verify functionality.
- Extended BundleSenderType enumeration to include BloxrouteBackrunme.
…ove bundle submission

- Removed dependency on bloxroute SDK and implemented custom HTTP client for sending backrun bundles.
- Updated test to reflect changes in the sender's initialization and endpoint.
- Added request and response structures for handling backrun and simulation requests.
- Enhanced error handling for HTTP requests and responses.
- Changed return type of MevSimulateBundle from SendBundleResponse to *mevshare.SimMevBundleResponse.
- Updated error handling to return nil instead of empty SendBundleResponse on errors.
- Enhanced response structure to include success status and additional simulation details.
- Updated MevSimulateBundle method in BackrunPublicClient, MerkleClient, and FlashbotMevShareSender to include context.Context as the first parameter.
- Modified the interface definition in IBackrunSender to reflect the new method signature.
…sage

- Introduced constants for default endpoint and method names to enhance code readability and maintainability.
- Updated the NewBloxrouteBackrunmeSender function to use the new DefaultEndpoint constant.
- Refactored method calls in SendBackrunBundle and MevSimulateBundle to utilize the defined constants for method names.
- Adjusted test to skip execution for the SendBackrunBundle test case.
- Downgraded Go version from 1.24.2 to 1.23.9.
- Removed several indirect dependencies including bloXroute SDK and OffchainLabs prysm.
- Added new indirect dependencies such as DataDog/zstd and deepmap/oapi-codegen.
- Updated various indirect dependencies to their latest versions for improved compatibility and performance.
- Downgraded DataDog/zstd from v1.5.5 to v1.5.2.
- Downgraded several other indirect dependencies to earlier versions for compatibility.
- Updated go.sum to reflect the changes in dependency versions.
- Changed the package name in the test file to mev_test for better organization.
- Updated the test to use the mev.NewBloxrouteBackrunmeSender function for initialization.
- Added a curl example in the NewBloxrouteBackrunmeSender function to demonstrate usage and configuration for HTTP requests.
…ender

- Changed the token in the BloxrouteBackrunmeSender test to a placeholder for better security and clarity.
- Maintained the existing test structure while ensuring the functionality remains intact.
@datluongductuan datluongductuan merged commit 4674584 into main Dec 3, 2025
3 checks passed
@datluongductuan datluongductuan deleted the feat/backrunme-bloxroute branch December 3, 2025 10:02
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.

2 participants