Skip to content

Commit 528b31d

Browse files
Update block-sdk version with DefaultMempool that keep no duplicated tx (backport #9488) (#9489)
* Update block-sdk version with DefaultMempool that keep no duplicated tx (#9488) (cherry picked from commit 3dd2184) # Conflicts: # CHANGELOG.md * fix merge conflict --------- Co-authored-by: Supanat <supanat.ptk@gmail.com>
1 parent e88b923 commit 528b31d

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4444

4545
### State Compatible
4646
* [#9467](https://github.com/osmosis-labs/osmosis/pull/9467) fix: protorev returns incorrect values in posthandler
47-
* [#9476](https://github.com/osmosis-labs/osmosis/pull/9476) fix: update DefaultBaseFee and cap CurBaseFee when loaded
47+
* [#9476](https://github.com/osmosis-labs/osmosis/pull/9476) fix: update DefaultBaseFee and cap CurBaseFee when loaded
48+
* [#9488](https://github.com/osmosis-labs/osmosis/pull/9488) chore: bump block-sdk to v2.1.8-mempool
4849

4950
## v30.0.1
5051

app/lanes.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,15 @@ func CreateLanes(app *OsmosisApp, txConfig client.TxConfig) (*mevlane.MEVLane, *
7171
mevMatchHandler,
7272
)
7373

74-
defaultLane := defaultlane.NewDefaultLane(
74+
defaultMempool := base.NewMempoolWithDefaultOrdering(
75+
base.DefaultTxPriority(),
76+
defaultConfig.SignerExtractor,
77+
defaultConfig.MaxTxs,
78+
)
79+
defaultLane := defaultlane.NewDefaultLaneWithMempool(
7580
defaultConfig,
7681
defaultMatchHandler,
82+
defaultMempool,
7783
)
7884

7985
return mevLane, defaultLane

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ replace (
320320

321321
// The block-sdk is no longer maintained by Skip, instead we use the osmosis-labs fork.
322322
// Direct block-sdk branch link: https://github.com/osmosis-labs/block-sdk/tree/release/v2.x.x, current branch: release/v2.x.x
323-
// Direct commit link: https://github.com/osmosis-labs/block-sdk/commit/a86e729f843d36392393a8ff6a14c9fbc15f2fcc
324-
// Direct tag link: https://github.com/osmosis-labs/block-sdk/releases/tag/v2.1.6
325-
github.com/skip-mev/block-sdk/v2 => github.com/osmosis-labs/block-sdk/v2 v2.1.6
323+
// Direct commit link: https://github.com/osmosis-labs/block-sdk/commit/4200fca089ca5112d390c6f107cbdd17d1642b8c
324+
// Direct tag link: https://github.com/osmosis-labs/block-sdk/releases/tag/v2.1.8-mempool
325+
github.com/skip-mev/block-sdk/v2 => github.com/osmosis-labs/block-sdk/v2 v2.1.8-mempool
326326

327327
// replace as directed by sdk upgrading.md https://github.com/cosmos/cosmos-sdk/blob/393de266c8675dc16cc037c1a15011b1e990975f/UPGRADING.md?plain=1#L713
328328
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,8 +953,8 @@ github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4
953953
github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs=
954954
github.com/ory/dockertest/v3 v3.11.0 h1:OiHcxKAvSDUwsEVh2BjxQQc/5EHz9n0va9awCtNGuyA=
955955
github.com/ory/dockertest/v3 v3.11.0/go.mod h1:VIPxS1gwT9NpPOrfD3rACs8Y9Z7yhzO4SB194iUDnUI=
956-
github.com/osmosis-labs/block-sdk/v2 v2.1.6 h1:zMZADGm5sUB45CJzf5Y24fY7jgGeQrwAjdXYKgYZnrA=
957-
github.com/osmosis-labs/block-sdk/v2 v2.1.6/go.mod h1:E8SvITZUdxkes3gI3+kgESZL+NLffkcLKnowUgYTOf4=
956+
github.com/osmosis-labs/block-sdk/v2 v2.1.8-mempool h1:9tAnEHjtwkYZQKTWPAc8RcR1N2QLPtW9Xyh+WZOctZw=
957+
github.com/osmosis-labs/block-sdk/v2 v2.1.8-mempool/go.mod h1:E8SvITZUdxkes3gI3+kgESZL+NLffkcLKnowUgYTOf4=
958958
github.com/osmosis-labs/cometbft v0.38.17-v28-osmo-1 h1:0xPd6S6mCsVT0IKP0xIUmg6sgo12iHMu5H6vxwrrIo0=
959959
github.com/osmosis-labs/cometbft v0.38.17-v28-osmo-1/go.mod h1:5l0SkgeLRXi6bBfQuevXjKqML1jjfJJlvI1Ulp02/o4=
960960
github.com/osmosis-labs/cosmos-sdk v0.50.14-v30-osmo h1:2SMqYSaLg07GcQf4ZLsG2kHDpnVoezzfJDWxEPkqJN4=

0 commit comments

Comments
 (0)