From 5e7b31f6bea7d1cf67087f3777dc703a76656e0b Mon Sep 17 00:00:00 2001 From: David Terpay <35130517+davidterpay@users.noreply.github.com> Date: Fri, 25 Aug 2023 16:25:16 -0400 Subject: [PATCH] chore(docs): Release matrix for each lane (#31) * adding release matrix * adding version matrix for each lane * updating stale URL --- README.md | 5 +---- lanes/base/README.md | 7 +++++++ lanes/free/README.md | 8 ++++++++ lanes/mev/README.md | 7 +++++++ lanes/mev/utils.go | 2 +- 5 files changed, 24 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 00a75b8..a96f58c 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,6 @@ Skip has built out a number of plug-and-play `lanes` on the SDK that your protocol can use, including in-protocol MEV recapture and Oracles! Additionally, the Block SDK can be extended to add **your own custom `lanes`** to configure your blocks to exactly fit your application needs. -
- ### Release Compatibility Matrix | Block SDK Version | Cosmos SDK | @@ -37,7 +35,6 @@ Skip has built out a number of plug-and-play `lanes` on the SDK that your protoc | `v1.x.x` | `v0.47.x` | | `v2.x.x` | `v0.50.x` | -
### 📚 Block SDK Documentation @@ -45,7 +42,7 @@ To read more about how the Block SDK works, check out the [How it Works](https:/ #### 🏪 Lane App Store -To read more about Skip's pre-built `lanes` and how to use them, check out the [Lane App Store](https://docs.skip.money/chains/lanes/existing-lanes/default). +To read more about Skip's pre-built `lanes` and how to use them, check out the [Lane App Store](https://docs.skip.money/chains/lanes/existing-lanes/mev). #### 🎨 Lane Development diff --git a/lanes/base/README.md b/lanes/base/README.md index 451a4d9..239922b 100644 --- a/lanes/base/README.md +++ b/lanes/base/README.md @@ -5,6 +5,13 @@ The Block SDK is built on top of the Cosmos SDK. The Block SDK is currently compatible with Cosmos SDK versions greater than or equal to `v0.47.0`. +### Release Compatibility Matrix + +| Block SDK Version | Cosmos SDK | +| :---------: | :--------: | +| `v1.x.x` | `v0.47.x` | +| `v2.x.x` | `v0.50.x` | + ## 📥 Installation To install the Block SDK, run the following command: diff --git a/lanes/free/README.md b/lanes/free/README.md index 090a765..9003f10 100644 --- a/lanes/free/README.md +++ b/lanes/free/README.md @@ -5,6 +5,14 @@ The Block SDK is built on top of the Cosmos SDK. The Block SDK is currently compatible with Cosmos SDK versions greater than or equal to `v0.47.0`. +### Release Compatibility Matrix + +| Block SDK Version | Cosmos SDK | +| :---------: | :--------: | +| `v1.x.x` | `v0.47.x` | +| `v2.x.x` | `v0.50.x` | + + ## 📥 Installation To install the Block SDK, run the following command: diff --git a/lanes/mev/README.md b/lanes/mev/README.md index a793c5b..17de3be 100644 --- a/lanes/mev/README.md +++ b/lanes/mev/README.md @@ -5,6 +5,13 @@ The Block SDK is built on top of the Cosmos SDK. The Block SDK is currently compatible with Cosmos SDK versions greater than or equal to `v0.47.0`. +### Release Compatibility Matrix + +| Block SDK Version | Cosmos SDK | +| :---------: | :--------: | +| `v1.x.x` | `v0.47.x` | +| `v2.x.x` | `v0.50.x` | + ## 📥 Installation To install the Block SDK, run the following command: diff --git a/lanes/mev/utils.go b/lanes/mev/utils.go index e69cbe4..136c1d3 100644 --- a/lanes/mev/utils.go +++ b/lanes/mev/utils.go @@ -26,7 +26,7 @@ func GetMsgAuctionBidFromTx(tx sdk.Tx) (*buildertypes.MsgAuctionBid, error) { case len(auctionBidMsgs) == 1 && len(tx.GetMsgs()) == 1: // a single MsgAuctionBid message transaction - return auctionBidMsgs[0], nil + return auctionBidMsgs[0], nil //nolint default: // a transaction with at at least one MsgAuctionBid message