Commit Graph
52 Commits
Author SHA1 Message Date
Eric Warehime acff9d0edf chore: Upgrade module path for v2 (#383) 2024-01-24 09:06:20 -08:00
Nikhil VasanandDavid Terpay 234e2ff719 fix: Remove Incorrect Ordering from DefaultTxPriority (#371)
* init

* replace existing tx_priorities with nop_tx_priority

* fix go.mod

---------

Co-authored-by: David Terpay <david.terpay@gmail.com>
2024-01-18 12:51:58 -08:00
Nikhil Vasan 47fc466129 fix: Improve performance in priority extraction [BLO-686] (#347)
* change DefaultTxPriority calculation

* benchmarks

* linting

* move to new file

* nits

* nits + testing

* explicit validity

* compareCoins -> Greater
2024-01-02 09:57:52 -08:00
Nikhil Vasan b5fe2a772c fix(mempool parity): Enforce comet / app-side mempool parity in CheckTx + integ. tests [BLO-584] [BLO-635] (#306)
* account setup for network tests

* Add Test case for app-mempool / cmt mempool parity

* add fix

* move check-tx handlers to wrap each other

* linting

* migrate to chaintestutils

* linting

* additional test-case

* lint

* remove paralell tests

* remove MEVLaneI

* fix(check_tx): Check error of GetAuctionBid in ValidateBidTx [BLO-461] (#312)

* add err check in ValidateBidTx

* add test-case for ValidateBidTx

* remove -race flag for integ
2023-12-18 18:29:06 -08:00
Alex Johnson 7e279c5daa chore: rename integration to e2e (#291) 2023-12-12 16:23:15 -08:00
David Terpay db58154795 feat: Lane Options (#272)
* init

* lint

* update mock

* cr

* readme nit
2023-12-06 15:58:07 -05:00
David Terpay 4bfb7ce525 chore: Update Lane Specific Readmes (#254)
* nits

* e2e shorter testing time
2023-12-01 16:13:57 -05:00
David TerpayandAlex Johnson b91cfb617c fix: Removing IgnoreList from Lane Interface (#245)
* 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

* nit

* nit v1.0.1

* removing logs from testing

* query test

* logging with tx info

* nits

* nit

* nit

* testing nit

* adding readmes which i will fill out l8r

* removing ignore list from convo, ur done

* removing logs in testing

* nits

* eh ig we dont need it rn

* removing ignore list from config

* nit test

---------

Co-authored-by: Alex Johnson <alex@skip.money>
2023-11-29 12:10:09 -05:00
David TerpayandAlex Johnson be4465ae95 feat: Lane's with custom tx adapters (#239)
* 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

* nit

* nit v1.0.1

* removing logs from testing

* query test

* logging with tx info

* nits

* nit

* nit

* testing nit

---------

Co-authored-by: Alex Johnson <alex@skip.money>
2023-11-28 13:51:42 -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 TerpayandAlex Johnson 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
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
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
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
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
Nikhil VasanandDavid Terpay 3c6f319ff1 feat(docs): rename x/builder -> x/auction (#55)
* rename x/builder -> x/auction

* update proto / etc.

* integratino fix

---------

Co-authored-by: David Terpay <david.terpay@gmail.com>
2023-09-12 14:37:25 -04:00
Alex Johnsonandaljo242 02b29290d1 chore: format (#38)
* setup

* tidy

* format

* final format

---------

Co-authored-by: aljo242 <alex@shmeeload.xyz>
2023-09-07 11:17:21 -04:00
Alex Johnson 96e2797adb docs: update minor typo (#32) 2023-08-30 17:40:59 -04:00
David Terpay 5e7b31f6be chore(docs): Release matrix for each lane (#31)
* adding release matrix

* adding version matrix for each lane

* updating stale URL
2023-08-25 16:25:16 -04:00
David Terpay c956e6cc1e chore(FS): Moving Types to Base Subdirectory (#19)
* init

* updating readme
2023-08-22 12:25:24 -04:00
David Terpay 6745a20e99 init (#9) 2023-08-21 16:20:07 -04:00
David Terpay dee2fc5d96 init (#6) 2023-08-21 12:47:19 -04:00
David Terpay ecdb7395e3 proto stuff 2023-08-17 16:51:12 -04:00
David Terpay bf25872404 init 2023-08-17 16:40:59 -04:00
David Terpay 16887dcce9 more nitz 2023-08-17 10:43:36 -04:00
MaghnusM 8bd3c76bea mag add changes 2023-08-16 19:14:19 -04:00
David Terpay 48ac218773 mev lane nit 2023-08-16 19:09:30 -04:00
David Terpay 935df43bfd done wit mev lane shi 2023-08-16 18:17:24 -04:00
David Terpay c789c730b1 readme for default gud 2023-08-16 17:59:52 -04:00
David Terpay e7d99a2948 dep old docs on mev 2023-08-16 11:38:47 -04:00
David Terpay eb880e5d2c nit 2023-08-16 11:15:11 -04:00
David Terpay fe172ffba3 lint 2023-08-16 11:09:54 -04:00
David Terpay 6529c39605 docs 2023-08-15 19:00:00 -04:00
David Terpay e6e8c077e9 mev lane update 2023-08-15 18:57:59 -04:00
David Terpay 4cfb76e4e9 readmes for all the lanes 2023-08-15 18:34:36 -04:00
David Terpay faa64a5415 lints 2023-08-15 18:04:35 -04:00
David Terpay af2b5226f3 rename of constructor to base 2023-08-15 18:01:49 -04:00
David Terpay 8b37a0a38c more clean up 2023-08-15 16:42:44 -04:00
David Terpay 51537eb4e3 more updates 2023-08-15 16:39:57 -04:00
David Terpay a9022fd3ca Merge branch 'main' into terpay/rename-to-block-sdk 2023-08-15 16:38:51 -04:00
David Terpay dbf4b6720c starting to add docs 2023-08-15 12:39:10 -04:00
David Terpay af85b86241 renaming mempool 2023-08-15 11:28:02 -04:00
David Terpay 80ac448d40 done wit bb 2023-08-15 11:24:18 -04:00