Commit Graph

271 Commits

Author SHA1 Message Date
David Terpay
736b2d3997
fix: String representation of escrow address (#238)
* greedy approach to lane verification

* docs

* base lane testing

* mev lane testing nits

* abci top level testing done

* network spamming in E2E

* string rep of escrow address

* nit

* removing logs from testing

* query test
2023-11-27 17:10:43 -05:00
David Terpay
f7dfbda2b1
feat: Greedy Algorithm for Lane Verification (#236)
* greedy approach to lane verification

* docs

* base lane testing

* mev lane testing nits

* abci top level testing done

* network spamming in E2E

* removing logs from testing

* nit
2023-11-27 16:43:09 -05:00
David Terpay
f607439637
fix: Make lanes mutually exclusive by default (#206)
* lanes always mutually exclusive

* nit 1.0.0.0

* gg adding back interface

---------

Co-authored-by: Alex Johnson <alex@skip.money>
2023-11-20 13:17:56 -05:00
dependabot[bot]
f1beb215f7
chore(deps): bump cosmossdk.io/x/circuit (#229)
Bumps [cosmossdk.io/x/circuit](https://github.com/cosmos/cosmos-sdk) from 0.0.0-20230724130706-5442197d6bcd to 0.1.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/commits/api/v0.1.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/x/circuit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>
2023-11-20 09:37:52 -05:00
dependabot[bot]
6182de6f69
chore(deps): bump cosmossdk.io/x/upgrade (#231)
Bumps [cosmossdk.io/x/upgrade](https://github.com/cosmos/cosmos-sdk) from 0.0.0-20230724130706-5442197d6bcd to 0.1.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/commits/api/v0.1.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/x/upgrade
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>
2023-11-20 09:35:31 -05:00
dependabot[bot]
701dd4a25c
chore(deps): bump github.com/cometbft/cometbft from 0.38.0 to 0.38.1 (#230)
Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.38.0 to 0.38.1.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.38.0...v0.38.1)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 09:10:12 -05:00
Alex Johnson
b919670621
update README (#223) 2023-11-16 12:12:15 -05:00
Keefer Taylor | Tessellated
ce98978edc
chore: Add Ottersec Audit to Repo (#220)
* add ottersec audit

* fix date

* add release link

* placate markdown linter

* placate linter (again)
2023-11-16 09:57:46 -05:00
dependabot[bot]
ad505d53e0
chore(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0 (#207)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>
2023-11-14 08:53:58 -05:00
dependabot[bot]
7fb12b907d
chore(deps): bump cosmossdk.io/tools/confix (#208)
Bumps [cosmossdk.io/tools/confix](https://github.com/cosmos/cosmos-sdk) from 0.0.0-20230724130706-5442197d6bcd to 0.1.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/commits/api/v0.1.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/tools/confix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 08:35:46 -05:00
dependabot[bot]
d3c131de53
chore(deps): bump cosmossdk.io/x/feegrant (#209)
Bumps [cosmossdk.io/x/feegrant](https://github.com/cosmos/cosmos-sdk) from 0.0.0-20230724130706-5442197d6bcd to 0.1.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/commits/api/v0.1.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/x/feegrant
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 18:43:47 -05:00
Alex Johnson
2b2aba9b4e
chore: sdk-v50 (#204)
* update

* clean

* main go mod

* test go mod

* rm codeql
2023-11-08 16:34:19 -05:00
Alex Johnson
cb9b38a8d2
Merge pull request #202 from skip-mev/blocksdkmodule
feat: finalize `x/blocksdk`
2023-11-07 16:33:18 -05:00
Alex Johnson
41e85e9cfe
feat: x/blocksdk module integration (#201)
* module proto

* lane proto

* proto-gen

* proto-format

* regenerate

* genesis

* stub

* test

* comment

* new keeper functions

* finalize

* lint fix

* proto format

* encounteredLanes

* make protos

* generate

* generate

* msgs

* msgs test

* msg service

* grpc query

* add module

* add module assertions

* add client

* config

* app

* clean

* wip

* mocks

* integrate into mempool

* lane utils

* wip

* fix and test

* format

* debug logs

* add

* integrate

* format

* fix

* rm

* add

* fmt imports

* better error

* simplify

* simplify

* simplify

* format

* deep copy

* Update block/lane.go

Co-authored-by: Keefer Taylor | Tessellated <keefer@tessellated.io>

---------

Co-authored-by: aljo242 <alex@ingenuity.build>
Co-authored-by: Keefer Taylor | Tessellated <keefer@tessellated.io>
2023-11-07 16:22:17 -05:00
aljo242
f5457e3e54 Merge branch 'main' into blocksdkmodule 2023-11-06 08:44:40 -05:00
dependabot[bot]
53dc728aac
chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#198)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Johnson <alex@skip.money>
2023-11-06 08:16:12 -05:00
dependabot[bot]
8113f3a956
chore(deps): bump amannn/action-semantic-pull-request (#190)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v5.3.0...v5.4.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 08:00:29 -05:00
dependabot[bot]
587b4c707a
chore(deps): bump github.com/docker/docker in /tests/integration (#176)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.3+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v23.0.3...v24.0.7)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 07:55:08 -05:00
dependabot[bot]
87e7f8cbda
chore(deps): bump cosmossdk.io/x/tx from 0.11.0 to 0.12.0 (#188)
Bumps [cosmossdk.io/x/tx](https://github.com/cosmos/cosmos-sdk) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.12.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/x/tx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 07:54:33 -05:00
dependabot[bot]
6a4db57859
chore(deps): bump github.com/gorilla/mux from 1.8.0 to 1.8.1 (#199)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/mux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 07:53:15 -05:00
Alex Johnson
76dc25bf89
chore: codeql config (#193)
* add config

* add config

* LR

---------

Co-authored-by: aljo242 <alex@ingenuity.build>
2023-11-06 07:50:08 -05:00
Alex Johnson
79b9434615
feat: x/blocksdk full module (#192)
* module proto

* lane proto

* proto-gen

* proto-format

* regenerate

* genesis

* stub

* test

* comment

* new keeper functions

* finalize

* lint fix

* proto format

* encounteredLanes

* make protos

* generate

* generate

* msgs

* msgs test

* msg service

* grpc query

* add module

* add module assertions

* add client

* fix proto

* typo
2023-11-06 07:49:52 -05:00
Alex Johnson
a9540dac92
chore: module assertions for x/auction (#191)
* add assertions

* modify signature
2023-11-03 19:09:47 -04:00
Alex Johnson
ef654f5cbf
feat: x/blocksdk types and keeper outline (#187)
* module proto

* lane proto

* proto-gen

* proto-format

* regenerate

* genesis

* stub

* test

* comment

* new keeper functions

* finalize

* lint fix

* proto format

* encounteredLanes
2023-11-03 13:42:23 -04:00
Alex Johnson
db685372dc
update dependabot config (#185) 2023-11-03 12:41:10 -04:00
Alex Johnson
d451d7a167
feat: x/blocksdk inital proto (#183)
* module proto

* lane proto

* proto-gen

* proto-format

* regenerate

* update desc
2023-11-02 14:42:58 -04:00
aljo242
f539698cee Merge branch 'main' into blocksdkmodule 2023-11-02 14:28:01 -04:00
Alex Johnson
0346c07e86
chore: update all deps (#184)
* deps

* lint fix

* update proto and format

* proto update deps

* remove cmd
2023-11-02 14:27:10 -04:00
Alex Johnson
8681298dbc
chore: format (#182)
* format abci

* fmt all
2023-11-02 14:14:22 -04:00
dependabot[bot]
574562ca0e
chore(deps): bump cosmossdk.io/store from 1.0.0-rc.0 to 1.0.0 (#181)
Bumps [cosmossdk.io/store](https://github.com/cosmos/cosmos-sdk) from 1.0.0-rc.0 to 1.0.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/math/v1.0.0-rc.0...log/v1.0.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/store
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 11:49:50 -04:00
aljo242
6199f94338 fmt all 2023-11-02 11:01:54 -04:00
aljo242
a73dbd20de format abci 2023-11-02 11:01:41 -04:00
Alex Johnson
84b50ec1da
chore: add CODEOWNERS (#179)
* init

* add codeowners
2023-11-01 10:28:46 -04:00
dependabot[bot]
6e0ae7f5e6
chore(deps): bump cosmossdk.io/x/tx from 0.10.0 to 0.11.0 (#160)
Bumps [cosmossdk.io/x/tx](https://github.com/cosmos/cosmos-sdk) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.11.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/x/tx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 15:06:23 -04:00
dependabot[bot]
b508e72ae6
chore(deps): bump google.golang.org/grpc from 1.58.3 to 1.59.0 (#168)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.3 to 1.59.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.3...v1.59.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 15:44:15 -04:00
David Terpay
aff0e228a3
fix(compare): Adding Sequence Number check on Compare Priority (#159)
* adding seq num check on compare

* nit

* adding debug logging
2023-10-17 16:50:28 -04:00
David Terpay
339b927323
fix(auction): Adding extra check on bundler timeouts (#156)
* validate bundler txs

* nits

* lint
2023-10-13 12:50:25 -04:00
dependabot[bot]
96ed47c4dc
chore(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 (#155)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 10:11:38 -04:00
dependabot[bot]
86ddd40778
chore(deps): bump golang.org/x/net in /tests/integration (#154)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 10:11:15 -04:00
dependabot[bot]
93dbb8a0b1
chore(deps): bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#153)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.2 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.2...v1.58.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 10:59:02 -04:00
dependabot[bot]
9a35043cdb
chore(deps): bump github.com/spf13/viper from 1.16.0 to 1.17.0 (#149)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 10:27:09 -04:00
dependabot[bot]
878260f57b
chore(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 (#146)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-06 10:40:14 -04:00
David Terpay
cbc0483e9f
chore(verifytx): Updating VerifyTx to Cache between Transactions (#137)
* updating mev lane with cleaner impl

* nit

* lint

* updating anteverifytx to verify tx

* nit

* ignoring first height

* tidy
2023-10-04 22:36:07 -04:00
David Terpay
cb9376e2f3
chore(docs): Updating Build-Your-Own Lane docs (#136)
* moving bid extraction to antehandler

* lint

* fix

* no zero timeout

* reset integration tests

* updating docs with latest changes

* nit
2023-10-04 18:43:00 -04:00
David Terpay
3374203c39
chore(auction): Moving bid extraction to from msg handler to ante handler (#135)
* moving bid extraction to antehandler

* lint

* fix

* no zero timeout

* reset integration tests
2023-10-04 18:38:26 -04:00
David Terpay
d495b38954
feat(MEV): Updating MEV Lane with Testing + Cleaner Implementation (#134)
* updating mev lane with cleaner impl

* nit

* lint
2023-10-04 18:23:36 -04:00
David Terpay
b9d6761776
feat(ABCI): New Proposal Struct with Associated Metadata (#126)
* new proto types for proposal info

* new proposal type

* nits

* lane input

* lint

* feat(ABCI): Deprecating `CheckOrderHandler` with new Proposal MetaData (#127)

* refactor without checkorder

* nits

* more nits

* lint

* nits

* feat(ABCI): Updating MEV lane to have no `CheckOrder` handler + testing (#128)

* updating mev lane

* nits

* preventing adding multiple bid txs in prepare

* update
2023-09-28 11:10:13 -04:00
Nikhil Vasan
3abfde4f34
feat(adapters): Add SignerExtractionAdapter [ENG-1916] (#114)
* add a signer-extraction-adapter

* linting

* feat(adapters/mev-lane):  Use the SignerExtractionAdapter in the Mev-Lane [ENG-1917] (#115)

* use SignerExtractionAdapter in the Factory

* feat(e2e): block sdk integration updates (#122)

* cherry-pick from injective

* remove transactions from app-side mempool on failed re-checktx
2023-09-27 08:08:10 -07:00
dependabot[bot]
3e5fce9a54
chore(deps): bump google.golang.org/grpc from 1.58.1 to 1.58.2 (#118)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.1 to 1.58.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 18:09:24 -04:00
dependabot[bot]
6865dd0ffb
chore(deps): bump amannn/action-semantic-pull-request (#121)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 17:27:50 -04:00