From 4a24d80f553198c70f1b57116fc9542f720527fa Mon Sep 17 00:00:00 2001 From: Tymur Khrushchov Date: Fri, 6 Sep 2024 16:55:13 +0200 Subject: [PATCH] update cancellation info --- .../advanced/bundle-cancellations.mdx | 3 +++ .../searchers/cancelling-bundles.mdx | 26 ------------------- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 docs/flashbots-mev-share/searchers/cancelling-bundles.mdx diff --git a/docs/flashbots-auction/advanced/bundle-cancellations.mdx b/docs/flashbots-auction/advanced/bundle-cancellations.mdx index 2345706b..23716e65 100644 --- a/docs/flashbots-auction/advanced/bundle-cancellations.mdx +++ b/docs/flashbots-auction/advanced/bundle-cancellations.mdx @@ -24,6 +24,7 @@ Bundles can be replaced and canceled using a unique identifier (`replacementUuid maxTimestamp, revertingTxHashes, replacementUuid, // UUIDv4 to uniquely identify submission + builders, } ] } @@ -36,6 +37,7 @@ To replace a bundle, send the new bundle via `eth_sendBundle` with the same `rep ### Canceling bundles Canceling a bundle will prevent Flashbots builders from including it on-chain. To cancel a bundle, call the [`eth_cancelBundle`](/flashbots-auction/advanced/rpc-endpoint#eth_cancelbundle) endpoint, or use the `cancelBundle` function in your preferred [Flashbots library](/flashbots-auction/libraries/bundle-relay). +It is important to use the same set of builders as the original bundle submission to achieve a successful cancellation. ```json { @@ -45,6 +47,7 @@ Canceling a bundle will prevent Flashbots builders from including it on-chain. T "params": [ { replacementUuid, // UUIDv4 to uniquely identify submission + builders, } ] } diff --git a/docs/flashbots-mev-share/searchers/cancelling-bundles.mdx b/docs/flashbots-mev-share/searchers/cancelling-bundles.mdx deleted file mode 100644 index 577d8f48..00000000 --- a/docs/flashbots-mev-share/searchers/cancelling-bundles.mdx +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: Cancelling Bundles ---- - -import CancelBundleRpc from '@site/docs/specs/mev-share/_mev_cancelBundle.mdx' - - -In case original bundle contained `replacementUuid` you can cancel it using this endpoint. -Note, cancelling a bundle via replacing it with incorrect bundle with the same `replacementUuid` is not guaranteeing that -the original bundle will be cancelled. - -## Cancel bundle endpoint - - - -### Example body - -```json -{"id":1,"jsonrpc":"2.0","method":"mev_cancelBundle","params":[{"replacementUuid":"123"},["beaverbuild.org","titan","rsync"]]} -``` - - -## Builders -It is encouraged to use the same set of builders as the original bundle. This is to ensure that the bundle is cancelled correctly. -In case you omitted second argument, bundle will still be cancelled but underlying operation will be less performant. -List of builders that support bundle cancellation can be found [here](https://github.com/flashbots/dowg/blob/main/builder-registrations.json)