Tags: flashbots/rbuilder
Tags
feat: update both optimistic submission methods to use adjustment dat… …a v3 (#860) ## 📝 Summary Unify optimistic v1 and v3 submissions to use BidAdjustmentDataV3 format, removing BidAdjustmentDataV1 and intermediate conversion methods. ## 💡 Motivation and Context For payout transactions, gas_used may differ from gas_limit. BidAdjustmentDataV3(https://docs.ultrasound.money/builders/optimistic-v3) format relaxes the gas_limit == gas_used assumption by explicitly providing placeholder_gas_used, allowing the relay to use the actual gas consumed. In addition to optimistic v3 submissions, there already is a support for using the BidAdjustmentDataV3 with optimistic v1 submissions. Currently in rbuilder codebase, v1 submissions used BidAdjustmentDataV1 while v3 submissions used BidAdjustmentDataV2. Changing those submission types to use v3 data allows relays to use the actual gas consumed, preventing adjustment failures when gas_used differs from gas_limit, and will increase builder adjustment revenues. Therefore we can simplify the codebase by: - Removing BidAdjustmentDataV1 entirely - Removing the intermediate BidAdjustmentData struct and conversion methods - Using BidAdjustmentDataV3 directly for both optimistic submission methods --- ## ✅ I have completed the following steps: * [✅ ] Run `make lint` * [✅ ] Run `make test` * [ ] Added tests (if applicable)
cfg for new experimental root hash (#890) ## 📝 Summary Read the tittle. ## 💡 Motivation and Context Tried to configure it via telepathy but didn't work. ## ✅ I have completed the following steps: * [X] Run `make lint` * [X] Run `make test` * [ ] Added tests (if applicable) --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Fix Flashbots relay endpoint (#888) ## 📝 Summary Previously included endpoint was internal without stability guarantees, switch to public-facing one. ## 💡 Motivation and Context <!--- (Optional) Why is this change required? What problem does it solve? Remove this section if not applicable. --> --- ## ✅ I have completed the following steps: * [ ] Run `make lint` * [ ] Run `make test` * [ ] Added tests (if applicable)
Deduplicate payload events by payload attributes only (#880) Store only PayloadAttributesEvent in recently_sent_data instead of the full MevBoostSlotData, so deduplication compares only payload attributes. Remove PartialEq/Eq and the derivative dependency from MevBoostSlotData since it no longer needs to be comparable. ## 📝 Summary <!--- A general summary of your changes --> ## 💡 Motivation and Context <!--- (Optional) Why is this change required? What problem does it solve? Remove this section if not applicable. --> --- ## ✅ I have completed the following steps: * [ ] Run `make lint` * [ ] Run `make test` * [ ] Added tests (if applicable)
Stop submitting bids on clickhouse problems. (#864) ## 📝 Summary This PR introduces a trait RelaySubmissionPolicy to stop submitting on any problem. I decided to cut the flow at the very end of the chain (I know it's inefficient) to play it super safe just in case any module is expecting new slot/block info periodically (eg: bidding services, caching stuff). A new field was added to BuiltBlocksClickhouseConfig: /// If set must be < disk_max_size_mb. /// If the disk backup size is greater than this value, clickhouse will ask we stop submitting blocks. pub disk_max_size_to_submit_bids_to_relays_mb: Option<u64>, New metric clickhouse_disk_backup_max_size_to_submit_bids_to_relays_bytes with this value. ## ✅ I have completed the following steps: * [X] Run `make lint` * [X] Run `make test` * [ ] Added tests (if applicable)
test-utils feature (#852) ## 📝 Summary Exposes test fn with new feature ## 💡 Motivation and Context I'm a free spirit, I don't need motivation to do things. ## ✅ I have completed the following steps: * [X] Run `make lint` * [X] Run `make test` * [ ] Added tests (if applicable)
test-utils feature (#852) ## 📝 Summary Exposes test fn with new feature ## 💡 Motivation and Context I'm a free spirit, I don't need motivation to do things. ## ✅ I have completed the following steps: * [X] Run `make lint` * [X] Run `make test` * [ ] Added tests (if applicable)
PreviousNext