Commit Graph

32 Commits

Author SHA1 Message Date
galactus 78167c7bd4
Print errors that we encounter while quoting swap, and list missing accounts (#46) 2024-11-28 11:46:23 +01:00
galactus 05f6125440
Adding config to support config and using env variable for tests and … (#45)
* Adding config to support config and using env variable for tests and value from file for others

* avoid passing enable compression everywhere

* avoiding adding environment variable everywhere
2024-11-25 22:11:43 +00:00
Maximilian Schneider 6608fc804a release executor v1.1.0 2024-11-06 23:26:10 +01:00
Maximilian Schneider ddee5464cb
Token 2022 support (#40)
* enable invariant dex

* enabling invariant on eclipse

* fix invariant token 2022

* fix test blanance for token 2022

* able to use custom autobahn executor to test spl2022

* remove env variable for vendored autobahn binary

* update executor to support token2022

* make executor fully compatible with token2022

* cleanup

* format & lint

* disable CI incompatible tests on github actions

* fix broken test

---------

Co-authored-by: Godmode Galactus <godmodegalactus@gmail.com>
Co-authored-by: none00y <mich_smyk@wp.pl>
2024-11-06 22:42:23 +01:00
galactus 44c791a274
fix cli and disable fair quote price on eclipse (#36)
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2024-11-06 17:43:36 +01:00
Michał Smykała 465a601600
Invariant integration (#30)
* add internal setup

* remove compression from getProgramAccounts

* add autobahn .so

* add working testnet

* update version to 0.29.0

* remove debug logs

* fix swap simulation

* fix dex

* use mainnet address

* add default tick and remove fee growth calculations

* add smaller tickmap
improve error handling
fix swap limits

* add find all tick indexes

* remove dbg logs

* update edge identifier

* remove unused imports

* improve error handling

* remove pool filtering

* add decimal as a package

* remove testnet fixture

* add token2022 support

* Revert "add autobahn .so"

This reverts commit 515d2ddc53.

* Revert "remove compression from getProgramAccounts"

This reverts commit ca7bf93787.
2024-11-06 16:43:49 +01:00
galactus fa5a08973f
Eclipse integration (#35)
* adding fixes to run autobahn on eclipse

* adding configuration files for eclipse

* add CONFIG_PATH build arg

* minor config changes and bugfixes

* increase acceptable slot lag, because eclipse is not so much active yet

---------

Co-authored-by: Riordan Panayides <riordan@panayid.es>
2024-11-06 13:57:40 +01:00
galactus 279aaf271f
removing unnecessary baching for account updates (#34)
* removing unnecessary baching for account updates

* increasing size of accounts broadcast channel

* Filtering updates which are not needed
2024-11-06 11:53:05 +01:00
riordanp 2a409c7327
Reduce log noise (#31) 2024-11-04 12:44:41 +00:00
galactus 65a7a822bc
Changes to activate all raydium pools on production (#15)
* Changes to activate all raydium pools on production

* chaning quic client and repanicking on lags

* fixing prometheus server

* Removing CORs from prometheus server

* removing unwanted error message from prometheus

* Adding region dfw for dallas

* updating name in config file
2024-11-04 13:25:37 +01:00
galactus 2d8ada1117
Improving performance of smoke tests (#29) 2024-10-29 11:47:28 +02:00
galactus a4dc9f19fd
Migrating testing to lib svm (#28)
* Using libSVM for simulation

* Some more fixes for invalid mint authority

* avoiding disabled lst mints

* performance improvements, reduced log-levels

* adding a todo for token extention program
2024-10-25 17:02:05 +02:00
galactus 6324916be7
Fixing issue with exact out dumping (#26)
* Fixing issue with exact out dumping

* Updating programs and loading all program related accounts

* Making simulator prinln debug logs, fmt

* fixing warnings and adding missing cargo file
2024-10-21 17:37:09 +02:00
Maximilian Schneider b39e098107
document dex interface (#27)
* document dex interface

* document swap instruction
2024-10-17 19:38:26 +03:00
galactus 7c481d1d8c
adding transaction execution errors in logs (#24) 2024-10-16 18:19:38 +03:00
Maximilian Schneider 53bc7c5937 release executor v1.0.1 2024-10-14 13:25:02 +03:00
riordanp f9e8f8bf7c
add CreateReferralLog (#18) 2024-10-14 13:23:38 +03:00
Maximilian Schneider 1bf5e6e2b6
use dos safe account creation code from spl-token (#20)
* use dos safe account creation code from spl-token

* format
2024-10-14 13:23:06 +03:00
riordanp cfac317b43
Fix compute budget instruction order, allow client to pass CU price to swap endpoints (#17)
* move compute budget ixs to beginning of transaction

* allow client to pass compute_unit_micro_lamports

* allow passing cu price on /swap-ix, return correct priorization_fee_lamports value
2024-10-11 18:09:08 +01:00
Serge Farny ea1c001918
Router: increase base CU again (comparator is still failing often) (#14) 2024-10-11 12:10:15 +02:00
Serge Farny ae2f5bfc5a
Router: increase base CU (#12) 2024-10-08 11:52:24 +02:00
Maximilian Schneider e7029e846e
Release executor 1.0.0 (#11)
* add security txt and policy
* set version number for autobahn executor
* add github workflow
2024-10-04 13:30:10 +01:00
Maximilian Schneider dd34dbf658
update program id (#1)
* update program id

* re-export autobahn id

* Executor: fix log discriminant

---------

Co-authored-by: Serge Farny <serge.farny@gmail.com>
2024-10-02 09:05:08 +02:00
galactus 20fd5e70c2
Adding configuration to make number of accounts fetched by gma (#8) 2024-10-01 14:54:34 +02:00
Serge Farny 1bd6d1aa1a
Router: add a liquidity endpoint (#2)
Fetch total liquidity (in US $) of a token reachable through autobahn
2024-10-01 10:23:40 +02:00
Serge Farny 9bd763fd2d
Router: more granularity when updating edges because of price change (#7) 2024-10-01 10:23:11 +02:00
Serge Farny c49de6ce0d
Router: make account write queue big enough for raydium (all pools) (#6) 2024-10-01 10:19:02 +02:00
galactus 520d6a74b3
Adding quic geyser source and making it work with all raydium pools (#5)
Adding quic geyser source and making it work with all raydium pools
2024-10-01 10:15:23 +02:00
Serge Farny 31b4f35d61
Router: move raydium 'frozen vault' check to quote (avoid double loading of the tokens accounts) (#4) 2024-09-30 14:50:54 +02:00
Serge Farny ba138ed4ea
Router: fix 'channel lagged by' for composite price feed (#3)
* Router: fix 'channel lagged by' for composite price feed

* Router: fix typo
2024-09-27 15:19:50 +02:00
Serge Farny dbcbd420dd Add missing file from initial import 2024-09-26 17:24:49 +02:00
Serge Farny ad94eca4bb Autobahn: initial public repository commit
Code imported from private repository with contribution from:

- Christian Kamm <mail@ckamm.de>
- Serge Farny <serge.farny@gmail.com>
- Microwavedcola1 <microwavedcola@gmail.com>
- Maximilian Schneider <mail@maximilianschneider.net>
- GroovieGermanikus <groovie@mango.markets>
- Godmode Galactus <godmodegalactus@gmail.com>
- Adrian Brzeziński <a.brzezinski94@gmail.com>
- Riordanp <riordan@panayid.es>
2024-09-25 20:12:39 +02:00