Skip to content

fix: mev blocker docs - #520

Merged
alfetopito merged 4 commits into
mainfrom
fix/mev-blocker-docs
Jul 28, 2025
Merged

fix: mev blocker docs#520
alfetopito merged 4 commits into
mainfrom
fix/mev-blocker-docs

Conversation

@alfetopito

@alfetopito alfetopito commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

Description

Build has been failing due to file name case mismatch.
Not a problem building locally on macos due to lack of file system case sensitivity, but failing on Vercel that builds on Linux

Changes

  • Rename Endpoints_protection.png to endpointsProtection.png

Testing

  1. Build should succeed
  2. Image should load at https://docs-git-fix-mev-blocker-docs-cowswap.vercel.app/mevblocker/orderflow-originators/Endpoints

Summary by CodeRabbit

  • Documentation
    • Enhanced MEV Blocker endpoints documentation with improved formatting, corrected image paths, spelling fixes, and consistent code block styling to improve readability.

@vercel

vercel Bot commented Jul 28, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Jul 28, 2025 10:44am

@alfetopito alfetopito self-assigned this Jul 28, 2025
@coderabbitai

coderabbitai Bot commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

The documentation for MEV Blocker endpoints has been updated to standardize formatting, specifically replacing italicized asterisks with underscores, correcting an image path, adjusting code block formatting, and fixing an escaped asterisk. No functional or content changes were made.

Changes

Cohort / File(s) Change Summary
Documentation Formatting Updates
docs/mevblocker/orderflow-originators/Endpoints.md
Standardized italics to underscores, corrected image path, adjusted code block formatting, and fixed an escaped asterisk. No content or endpoint changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit hopped through docs today,
Tidying italics along the way.
Underscores now softly gleam,
Image paths are clear and clean.
Formatting neat, the docs delight—
All ready for a reader’s sight!
🐇✨

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eecb2a6 and 7cd63f9.

📒 Files selected for processing (1)
  • docs/mevblocker/orderflow-originators/Endpoints.md (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/mevblocker/orderflow-originators/Endpoints.md
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/mev-blocker-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@alfetopito
alfetopito marked this pull request as ready for review July 28, 2025 10:05
@alfetopito
alfetopito requested a review from a team as a code owner July 28, 2025 10:05

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (4)
docs/mevblocker/orderflow-originators/Endpoints.md (4)

11-11: Replace non-breaking space after link & tighten wording

A &nbsp; sneaks in just before the first dash (-). This can trip Markdown parsers and affect wrapping.
While touching the line, consider a lighter sentence that avoids the repeated “The transactions…” boiler-plate.

-[**Fast - https://rpc.mevblocker.io/fast**](https://rpc.mevblocker.io/fast) - Used to get transactions included on-chain as fast as possible while also finding users a rebate. _The transactions sent to this endpoint get simulated in pending block._
+[**Fast – https://rpc.mevblocker.io/fast**](https://rpc.mevblocker.io/fast) - Sends the transaction for inclusion as soon as possible while still attempting to secure a rebate. _Transactions to this endpoint are simulated in the pending block._

(Same tweak applies to the other three endpoint bullets.)

Also applies to: 17-17, 23-23, 29-29


35-35: Grammar: “DO NOT Get simulated” → clearer wording

-_The transactions sent to this endpoint DO NOT Get simulated in pending block._
+_Transactions sent to this endpoint are **not** simulated in the pending block._

45-47: Clean up wording & footnote punctuation

-Because of this, we enabled the option for you to choose between sharing the transactions with all permissionlessly connected searchers, for which we know nothing about, or to share the transactions with a curated list of searchers with whom the team might have a bit more background.*
+Because of this, you can choose to share transactions with (a) **all** permissionlessly connected searchers or (b) a **curated** list of vetted searchers.*
 
-*Note that the absence of this parameter specific configuration makes all the flow go via the default endpoint
+*If neither parameter is supplied, traffic falls back to the default endpoint.*

Also note the heading above is misspelled (“Restrictred” ➜ “Restricted”).


52-53: Remove bullet marker inside code blocks for copy-paste friendliness

The leading “- Endpoint_you_Choose - ” isn’t part of the URL and forces extra cleanup when copying.

- - Endpoint_you_Choose - https://rpc.mevblocker.io/{your_chosen_endpoint}?shareAll=1
+https://rpc.mevblocker.io/{your_chosen_endpoint}?shareAll=1

Same for the shareSafe example below.

Also applies to: 60-61

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7c980a0 and de63de5.

⛔ Files ignored due to path filters (1)
  • static/img/mevblocker/endpointsProtection.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • docs/mevblocker/orderflow-originators/Endpoints.md (3 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: pretf00d
PR: cowprotocol/docs#512
File: docs/mevblocker/concepts/gas_rebates.md:16-16
Timestamp: 2025-06-30T14:12:14.869Z
Learning: When referring to MEV Blocker or other products/services in documentation, use "that" instead of "who" as the relative pronoun (e.g., "MEV Blocker is the only RPC that has..." not "MEV Blocker is the only RPC who has...") because products are not people.
docs/mevblocker/orderflow-originators/Endpoints.md (1)

Learnt from: pretf00d
PR: #512
File: docs/mevblocker/concepts/gas_rebates.md:16-16
Timestamp: 2025-06-30T14:12:14.869Z
Learning: When referring to MEV Blocker or other products/services in documentation, use "that" instead of "who" as the relative pronoun (e.g., "MEV Blocker is the only RPC that has..." not "MEV Blocker is the only RPC who has...") because products are not people.

🔇 Additional comments (1)
docs/mevblocker/orderflow-originators/Endpoints.md (1)

9-9: Image path verified in repo
The file static/img/mevblocker/endpointsProtection.png exists at the correct, case-sensitive location—this will unblock the Linux build pipeline.

Comment thread docs/mevblocker/orderflow-originators/Endpoints.md Outdated
@alfetopito
alfetopito requested a review from a team July 28, 2025 10:13
@alfetopito

Copy link
Copy Markdown
Contributor Author

Merging to fix build and allow new changes to flow through.
Please post merge review.

@alfetopito
alfetopito merged commit b9cb599 into main Jul 28, 2025
6 checks passed
@alfetopito
alfetopito deleted the fix/mev-blocker-docs branch July 28, 2025 15:58
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 2025
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.

2 participants