Commit Graph

52 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
97e5731f52
rm (#530) 2024-06-24 12:56:06 -04:00
David Terpay
bfdd58411a
feat: Cache Tx Decoder (#528)
* init

* nit

* nits

* nit

* more nits

* go version bump

* image bump

* nit
2024-06-20 17:03:22 -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
Eric Warehime
d82fb33d1e
test: mempool select test (#360) 2024-01-16 13:14:20 -08:00
Eric Warehime
39f91b60a2
test: Add mempool comparison tests (#357) 2024-01-12 13:01:52 -08:00
Alex Johnson
a135d8f89d
fix (#348) 2024-01-03 14:22:16 -05: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
7d8a6956a7
feat: gRPC mempool service (#275)
* make file nit

* base app set up

* make file update

* makefile nit

* adding service test to e2e

* lint

* type fix

* nit

* unit test + readme
2023-12-08 13:33:58 -05: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
d2a7626464
feat: Adding READMEs throughout the codebase (#248)
* abci readme

* done wit example for abci.go

* SEA

* base lane done

* proposals

* block readme

* fixes

* proposals fix
2023-12-01 10:38:02 -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
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
6199f94338 fmt all 2023-11-02 11:01:54 -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
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
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 Vasan
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 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
c956e6cc1e
chore(FS): Moving Types to Base Subdirectory (#19)
* init

* updating readme
2023-08-22 12:25:24 -04:00
David Terpay
09f027d7ae
init (#12) 2023-08-21 19:23:05 -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
c789c730b1
readme for default gud 2023-08-16 17:59:52 -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
a550384569
more docs 2023-08-16 10:51:55 -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
f9b6b32ff1
emojify ser 2023-08-15 16:46:26 -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
0fc161e795
docs for constructor done 2023-08-15 16:31:36 -04:00
David Terpay
4072ad8cb8
init constructor docs 2023-08-15 15:03:50 -04:00
David Terpay
aecb504ae8
more docs 2023-08-15 12:54:27 -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