Commit Graph

74 Commits

Author SHA1 Message Date
b9b7aeb2f8 Upgrade cosmos and cometbft dependencies (#1)
Some checks failed
Lint / govulncheck (push) Failing after 10m42s
Lint / golangci-lint (push) Failing after 10m45s
Lint / Lint markdown (push) Failing after 14m10s
Tests / Code Coverage / test-unit (push) Failing after 18m3s
Tests / Code Coverage / test-integration (push) Failing after 21m5s
Tests / Code Coverage / test-e2e (push) Failing after 24m32s
Part of https://plan.wireit.in/deepstack/browse/VUL-267/

- Upgrade dependencies as required by zenithd:
  - `cosmos/cosmos-sdk`: `v0.50.4` -> `v0.53.4`
  - `cometbft/cometbft`: `v0.38.5` -> `v0.38.19`
- Update CI workflows for this Gitea fork

Reviewed-on: #1
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2025-11-03 11:55:23 +00:00
Tyler
c76f1a9cd4
docs (#575) 2024-08-09 13:29:42 -07:00
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
dependabot[bot]
bc2a7b2e2d
chore(deps): bump github.com/cometbft/cometbft in /tests/e2e (#385)
Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft) from 0.38.2 to 0.38.5.
- [Release notes](https://github.com/cometbft/cometbft/releases)
- [Changelog](https://github.com/cometbft/cometbft/blob/v0.38.5/CHANGELOG.md)
- [Commits](https://github.com/cometbft/cometbft/compare/v0.38.2...v0.38.5)

---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Warehime <eric.warehime@gmail.com>
2024-01-24 13:48:48 -08:00
Eric Warehime
acff9d0edf
chore: Upgrade module path for v2 (#383) 2024-01-24 09:06:20 -08:00
dependabot[bot]
3bb8f378b9
chore(deps): bump github.com/dvsekhvalnov/jose2go in /tests/e2e (#341)
Bumps [github.com/dvsekhvalnov/jose2go](https://github.com/dvsekhvalnov/jose2go) from 1.5.0 to 1.6.0.
- [Commits](https://github.com/dvsekhvalnov/jose2go/compare/v1.5...v1.6.0)

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

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-12-27 12:50:33 -05:00
Eric Warehime
d522f4fc69
test: Add auction integ tests (#322) 2023-12-27 06:36:09 -08:00
Alex Johnson
0612051d51
chore: add govulncheck (#316)
* import

* add target

* workflow

* remove parallel

* fix with dummy
2023-12-20 14:52:33 -05:00
Eric Warehime
4e7e7acfbf
chore: Add e2e test readme (#319) 2023-12-20 09:49:11 -08:00
Eric Warehime
8d514000cf
test: Add test for free tx lane (#305) 2023-12-19 11:05:19 -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
af3bb52d57
refactor(tests): use grpc instead of cli for all network testing (#301)
* update

* use grpc
2023-12-13 15:49:50 -05:00
Alex Johnson
b48073d3eb
test: use chaintestutil (#296)
* rename

* fix

* format

* workflow

* add basic test

* add targetss

* use commit

* workflow

* basic setup

* add keeper

* fix

* fix?

* update

* update

* update

* fix

* fix

* go work inti
2023-12-13 09:01:14 -05: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
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
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
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
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
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
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]
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
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]
010ccbbb31
chore(deps): bump github.com/docker/docker in /tests/integration (#109)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.1+incompatible to 23.0.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v23.0.1...v23.0.3)

---
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-09-18 10:36:03 -04:00
dependabot[bot]
86952ba35a
chore(deps): bump github.com/docker/distribution in /tests/integration (#108)
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.1+incompatible to 2.8.2+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/compare/v2.8.1...v2.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:16:55 -04:00
Nikhil Vasan
454d2e5f3d
feat(e2e): add integration tests (#100)
* add integration tests

* add workflow

---------

Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
2023-09-18 10:03:11 -04: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
dependabot[bot]
21b9b6f882
chore(deps): bump github.com/cosmos/cosmos-sdk from 0.50.0-beta.0 to 0.50.0-rc.0 (#75)
* chore(deps): bump github.com/cosmos/cosmos-sdk

Bumps [github.com/cosmos/cosmos-sdk](https://github.com/cosmos/cosmos-sdk) from 0.50.0-beta.0 to 0.50.0-rc.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/v0.50.0-beta.0...v0.50.0-rc.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* mod fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Terpay <david.terpay@gmail.com>
2023-09-11 16:08:20 -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
6745a20e99
init (#9) 2023-08-21 16:20:07 -04:00
David Terpay
e9c31f621f
ITS migrated shippor 2023-08-17 17:51:39 -04:00
David Terpay
b191a6d3f7
generating new protos 2023-08-17 17:29:48 -04:00
David Terpay
b50fb816c8
its 2023-08-17 16:42:17 -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
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
a9022fd3ca
Merge branch 'main' into terpay/rename-to-block-sdk 2023-08-15 16:38:51 -04:00