Commit Graph

33 Commits

Author SHA1 Message Date
Alex Johnson
f1cde2acec
fix: mempool lane size check on CheckTx (#561)
* push

* init

* fix setup

* format

* fix test

* use lane

* ok

* finalize

* fix everything

* lint fix:

* Update abci/checktx/mempool_parity_check_tx.go

Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>

* lint fix

* tidy

* remove

* cleanup

---------

Co-authored-by: David Terpay <david.terpay@gmail.com>
Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
2024-07-02 19:19:22 -04:00
David Terpay
b8d9c22833
fix: Evict txs from mempool exceeding size limits (#550)
* init

* nit test case
2024-06-25 11:58:04 -04:00
David Terpay
3376dd3aa6
perf: Use Caching in Priority Nonce Mempool for Tx Look ups (#520)
* benchmark contains

* use sender/nonce when caching

* nit

* nits

* nit
2024-06-18 19:45:35 -04:00
Eric Warehime
acff9d0edf
chore: Upgrade module path for v2 (#383) 2024-01-24 09:06:20 -08:00
Nikhil Vasan
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
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 Terpay
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 Terpay
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 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
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
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
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
Alex Johnson
02b29290d1
chore: format (#38)
* setup

* tidy

* format

* final format

---------

Co-authored-by: aljo242 <alex@shmeeload.xyz>
2023-09-07 11:17:21 -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
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
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
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
fe172ffba3
lint 2023-08-16 11:09:54 -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
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
4cbf8d0f1a
deprecating blockbuster 2023-08-15 11:15:34 -04:00
David Terpay
9d349910d1
moving lanes to their own directory 2023-08-15 11:09:17 -04:00