Commit Graph

1382 Commits

Author SHA1 Message Date
semantic-release-bot
2952e2153c chore(release): 0.101.0 [skip ci]
## [0.101.0](https://github.com/propeller-heads/tycho-execution/compare/0.100.1...0.101.0) (2025-06-23)

### Features

* **curve:** Support passing eth/weth instead of weth/eth in encoding ([525c16a](525c16a117))
2025-06-23 13:19:20 +00:00
greendianasaur
7dc5099927 Merge branch 'main' into cleanup/dc/ENG-4619-remove-unnecessary-clones 2025-06-23 14:18:35 +01:00
greendianasaur
78dddbda88 Merge pull request #222 from propeller-heads/encoding/dc/ENG-4614-curve-eth-weth-pools
feat(curve): Support passing eth/weth instead of weth/eth in encoding
2025-06-23 14:17:25 +01:00
Diana Carvalho
fa13f09d3e fix: Exclude foundry files from the rust crate
Took 26 seconds
2025-06-23 12:54:33 +01:00
Diana Carvalho
e704151404 fix: Remove unnecessary clones from encoding
Use references if possible

Took 3 minutes
2025-06-23 12:54:09 +01:00
Diana Carvalho
525c16a117 feat(curve): Support passing eth/weth instead of weth/eth in encoding
Took 2 minutes
2025-06-23 12:44:53 +01:00
dianacarvalho1
ce8e9faf32 Merge pull request #220 from propeller-heads/ci/dc/fix-nextest
ci: Fix nextest installation
2025-06-20 11:53:03 +01:00
Diana Carvalho
f7b89bcc59 ci: Fix nextest installation
Took 14 minutes
2025-06-20 11:50:54 +01:00
pedrobergamini
f0e2d04cc9 chore: test _getActualFilledTakerAmount edge cases 2025-06-18 14:51:59 -03:00
pedrobergamini
4c7f33d81b chore: fix _getActualFilledTakerAmount return value 2025-06-18 13:08:50 -03:00
die-herdplatte
b331a43392 forge fmt 2025-06-18 16:22:34 +02:00
pedrobergamini
033a4bfe9f chore: fix slither info warning 2025-06-17 23:30:48 -03:00
pedrobergamini
638ab73ea8 chore: fix cargo linting 2025-06-17 23:29:42 -03:00
pedrobergamini
90ac0a4c98 test: fix all aggregate order tests and a few executor bugs 2025-06-17 23:27:03 -03:00
pedrobergamini
a777ab6adc test: update generated calldata.txt 2025-06-17 21:40:13 -03:00
pedrobergamini
5b8de033de test: update encoder tests for aggregate orders 2025-06-17 21:39:47 -03:00
die-herdplatte
72553bf98d Fix slither issues 2025-06-17 11:34:31 +02:00
die-herdplatte
58ce241c63 Add support for Ekubo MEV-resist extension 2025-06-17 11:02:37 +02:00
pedrobergamini
5418846619 chore: refactor Aggregate orders, fix Single orders integration tests and calldata generation 2025-06-16 23:08:54 -03:00
pedrobergamini
689fdd6a58 chore: update Bebop test executor address 2025-06-16 15:34:56 -03:00
pedrobergamini
5d33a8ebca test: refactor Bebop tests for simplified order types 2025-06-16 15:34:05 -03:00
pedrobergamini
8259cefad9 test: add BebopSettlementMock and update test setup 2025-06-16 15:33:07 -03:00
pedrobergamini
84fbe0ded6 refactor: update Rust encoding to remove Multi order type 2025-06-16 15:32:42 -03:00
pedrobergamini
d527479037 refactor: simplify BebopExecutor by removing Multi order type, improve settlement flow 2025-06-16 15:32:07 -03:00
semantic-release-bot
1a7f29e69d chore(release): 0.100.1 [skip ci]
## [0.100.1](https://github.com/propeller-heads/tycho-execution/compare/0.100.0...0.100.1) (2025-06-13)

### Bug Fixes

* Correct misleading error message ([a6cf215](a6cf2159d0))
* When choosing strategy, check if the grouped solution has any split ([9599425](95994250b1))
2025-06-13 15:56:42 +00:00
dianacarvalhoo
03c2ab621b Merge pull request #216 from propeller-heads/decoding/dc/fix-choosing-strategy
fix: When choosing strategy, check if the grouped solution has any split
2025-06-13 16:54:52 +01:00
Diana Carvalho
a6cf2159d0 fix: Correct misleading error message
Took 3 minutes
2025-06-13 16:33:42 +01:00
Diana Carvalho
95994250b1 fix: When choosing strategy, check if the grouped solution has any split
This came from a reported bug where the single strategy was being chosen for a solution on a groupable protocol (univ4) but the solution was composed of 2 splits only. Like a trade from WETH to USDC through two different univ4 pools

Took 47 minutes


Took 15 seconds
2025-06-13 09:52:06 +01:00
pedrobergamini
8a82dbfe34 chore: test multi and aggregate orders, support all signature types available 2025-06-08 02:58:52 -03:00
pedrobergamini
0106c5c425 chore: move BebopOrderType to models.rs 2025-06-08 01:01:51 -03:00
pedrobergamini
71a8401670 chore: address merge conflicts, implement user_data for Bebop 2025-06-08 00:36:23 -03:00
pedrobergamini
68d4d083c3 test: add uniswap v3 => bebop sequential swap 2025-06-07 18:36:01 -03:00
pedrobergamini
2bac529fc1 test: update calldata.txt 2025-06-07 18:07:10 -03:00
pedrobergamini
2124b49a68 test: bebop single encoding integration test 2025-06-07 17:46:08 -03:00
pedrobergamini
5282e2bc83 chore: fix breaking tests and start addressing PR review comments 2025-06-06 19:17:08 -03:00
semantic-release-bot
b4dd4025d4 chore(release): 0.100.0 [skip ci]
## [0.100.0](https://github.com/propeller-heads/tycho-execution/compare/0.99.0...0.100.0) (2025-06-06)

### Features

* Add balancer v3 to transfer optimization constants ([c03df8a](c03df8aa1e))
* Add BalancerV3Encoder ([06ce28c](06ce28c8fd))
* Add integration tests for balancer v3 ([269e328](269e328b5f))

### Bug Fixes

* **BalancerV3Executor:** Do data.length check at the beginning of swap ([4f58977](4f58977007))
* **BalancerV3Executor:** Slice callback data nicely ([941879d](941879d5d6))
2025-06-06 16:38:51 +00:00
dianacarvalho1
504f93600e Merge pull request #214 from propeller-heads/balancer-v3/dc/ENG-4423-encoder
feat: Add BalancerV3Encoder (+ integration tests)
2025-06-06 17:37:04 +01:00
Diana Carvalho
4f58977007 fix(BalancerV3Executor): Do data.length check at the beginning of swap
Took 16 minutes
2025-06-06 17:24:07 +01:00
Diana Carvalho
941879d5d6 fix(BalancerV3Executor): Slice callback data nicely
Make a stricter data validation

Took 35 minutes
2025-06-06 17:01:48 +01:00
Diana Carvalho
c03df8aa1e feat: Add balancer v3 to transfer optimization constants
Also added a getForkBlock() on TychoRouterTestSetup.
 Moved the router balancer test inside the Balancer file and created a TychoRouterForBalancerV3Test to wrap it

Took 1 hour 10 minutes


Took 21 seconds
2025-06-06 10:41:35 +01:00
Diana Carvalho
269e328b5f feat: Add integration tests for balancer v3
Refactor BalancerV3Executor to have an inner _swapCallback method with the real swapping logic. Then we have two external methods:
- handleCallback: called by the router. Here we need to remove the first 68 bytes (4 selector + 32 dataOffset + 32 dataLength)
- swapCallback: called by the Vault directly if we are swapping against the executor directly (no router involved)

Took 1 minute
2025-06-05 17:22:17 +01:00
Diana Carvalho
06ce28c8fd feat: Add BalancerV3Encoder
Took 1 hour 7 minutes


Took 2 minutes
2025-06-05 17:22:16 +01:00
semantic-release-bot
6ada7f2a51 chore(release): 0.99.0 [skip ci]
## [0.99.0](https://github.com/propeller-heads/tycho-execution/compare/0.98.0...0.99.0) (2025-06-05)

### Features

* Extend Swap to hold user_data: Option<Bytes> ([eec50f8](eec50f8822))
2025-06-05 14:55:23 +00:00
dianacarvalho1
fd2e7c4052 Merge pull request #213 from propeller-heads/encoding/dc/extend-swap-user-data
feat: Extend Swap to hold user_data: Option<Bytes>
2025-06-05 15:53:36 +01:00
Diana Carvalho
eec50f8822 feat: Extend Swap to hold user_data: Option<Bytes>
Took 25 minutes
2025-06-05 15:47:40 +01:00
semantic-release-bot
902c4cd4d2 chore(release): 0.98.0 [skip ci]
## [0.98.0](https://github.com/propeller-heads/tycho-execution/compare/0.97.0...0.98.0) (2025-06-05)

### Features

* Add balancer-v3-monorepo lib ([f173f9b](f173f9bed7))
* Implement BalancerV3Executor ([f34db52](f34db52f09))
* Make BalancerV3Executor inherit from ICallback ([806ce4e](806ce4e62c))
2025-06-05 14:19:52 +00:00
dianacarvalho1
fcb67764f1 Merge pull request #211 from propeller-heads/balancer-v3/dc/ENG-4422-executor
feat: Implement BalancerV3Executor
2025-06-05 15:18:07 +01:00
Diana Carvalho
806ce4e62c feat: Make BalancerV3Executor inherit from ICallback
Took 37 minutes
2025-06-05 14:59:22 +01:00
Diana Carvalho
f173f9bed7 feat: Add balancer-v3-monorepo lib
Took 6 minutes
2025-06-05 14:59:22 +01:00
Diana Carvalho
f34db52f09 feat: Implement BalancerV3Executor
Took 2 hours 32 minutes


Took 8 seconds

Took 13 minutes
2025-06-05 14:59:22 +01:00