Commit Graph

76 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
79d7ef7c33
chore: Default Process Proposal (#543)
* init

* nits
2024-06-25 10:48:18 -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
Dev Ojha
2ae5b146a6
Remove double sha hashing (#517) 2024-06-18 11:21:59 -04:00
Nikhil Vasan
6080de11e4
fix(check-tx): remove txs failing recheck from app-side mempool (#476)
* remove txs failing recheck from app-side mempool

* linting
2024-04-22 14:04:14 -07: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
Alex Johnson
a135d8f89d
fix (#348) 2024-01-03 14:22:16 -05: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
David Terpay
db58154795
feat: Lane Options (#272)
* init

* lint

* update mock

* cr

* readme nit
2023-12-06 15:58:07 -05:00
David Terpay
43d6b048ef
req size check (#269) 2023-12-06 12:25:52 -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
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
a73dbd20de format abci 2023-11-02 11:01:41 -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
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
6745a20e99
init (#9) 2023-08-21 16:20:07 -04:00
David Terpay
bf25872404
init 2023-08-17 16:40:59 -04:00
David Terpay
fe172ffba3
lint 2023-08-16 11:09:54 -04:00
David Terpay
4cfb76e4e9
readmes for all the lanes 2023-08-15 18:34:36 -04:00
David Terpay
af2b5226f3
rename of constructor to base 2023-08-15 18:01:49 -04:00
David Terpay
bf4e3b8af2
abci done 2023-08-15 17:46:05 -04:00
David Terpay
8b37a0a38c
more clean up 2023-08-15 16:42:44 -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
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
David Terpay
1ed1adc856
feat(ITS): [ENG-1627]: Moving ITS from release branch to main (#236)
Co-authored-by: Nikhil <nikhil@skip.money>
2023-08-11 18:22:39 +00:00
David Terpay
14f83b5e25
feat(BB): Update match function to include sdk.Context (#234) 2023-08-10 17:01:52 +00:00
David Terpay
5dd05d1afb
chore(v0.50.0): Migrating codebase to latest SDK version (#215) 2023-07-26 21:42:57 +00:00
David Terpay
b13f5e999d
feat(v2): Validate basic on the VEs (#200) 2023-07-24 16:04:15 +00:00
David Terpay
e873dfda31
fix(Audit): Audit issues (#190) 2023-07-03 17:01:40 +00:00
David Terpay
cee39a9eb7
feat(BB): Better proposal, better docs, better logging, papa johns (#172) 2023-06-09 14:50:49 +00:00
David Terpay
3d505edf31
feat(BB): Decoding Txs before ProcessLane + IgnoreList (#170) 2023-06-08 20:23:20 +00:00
David Terpay
b7780a3140
feat(bb): Defer in proposal handlers, more interfaces for lanes, clean up (#165) 2023-06-07 13:47:34 +00:00
Aleksandr Bezobchuk
957780d934
feat: Blockbuster MVP + TOB Lane (#145) 2023-05-30 20:03:48 +00:00
David Terpay
648a2f88d6
fix: CheckTx Handler (#141) 2023-05-23 22:09:37 +00:00
Aleksandr Bezobchuk
5fa7309ca5
refactor: separate v1 and v2 (VE) (#142) 2023-05-17 15:22:30 +00:00