Commit Graph

1404 Commits

Author SHA1 Message Date
die-herdplatte
5aaac2855e forge fmt 2025-06-24 17:42:28 +02:00
die-herdplatte
817aa35557 Merge remote-tracking branch 'upstream/main' into ekubo-mev-resist 2025-06-24 17:40:12 +02:00
Diana Carvalho
210d4fa604 fix: Fix test imports
I think the auto importer messed things up

Took 27 minutes
2025-06-24 16:35:47 +01:00
Diana Carvalho
266e30d1aa feat: Deploy Balancer V3 executor
Took 19 minutes
2025-06-24 11:52:12 +01:00
Diana Carvalho
01ab5d22b1 fix: Move Bebop tests according to new setup
Encoding: integration tests are now separate and inside their own test folder
Execution: the final integration test should be inside of the protocol test file now and not in TychoRouterProtocolIntegration.t.sol. For this I had to move the BebopExecutionHarness.t.sol outside of the Bebop test file (because of imports)

Took 24 minutes

# Commit time for manual adjustment:
# Took 2 minutes
2025-06-24 10:42:09 +01:00
Diana Carvalho
f1281eb703 Merge branch 'refs/heads/main' into feat/bebop-rfq-encoder-and-executor
# Conflicts:
#	foundry/test/TychoRouterProtocolIntegration.t.sol
#	foundry/test/TychoRouterTestSetup.sol
#	foundry/test/assets/calldata.txt
#	foundry/test/protocols/BebopExecutor.t.sol
#	src/encoding/evm/tycho_encoders.rs

Took 4 minutes
2025-06-24 10:17:33 +01:00
pedrobergamini
dcf992a25e chore: update calldata generation for testSingleBebopIntegration 2025-06-23 14:39:13 -03:00
pedrobergamini
80c2ef7881 chore: improve test assertion and function ordering 2025-06-23 14:38:57 -03:00
pedrobergamini
7cf3f268c1 chore: improve test harness 2025-06-23 12:46:41 -03:00
Diana Carvalho
1d952b19be fix: After rebase fixes
Took 5 minutes
2025-06-23 15:50:45 +01:00
Diana Carvalho
93678d9d19 feat(univ4): Pass user_data as hook_data in execution
Because we don't know the size of hook data, it needs to be at the end of the protocol data. But we also don't know the size of the intermediary swaps. To solve this, we are now ple encoding the intermediary swaps and only then appending the hook data

Took 2 hours 50 minutes

Took 40 seconds
2025-06-23 15:44:26 +01:00
Diana Carvalho
a0581773cd feat: Support hooks (without special calldata)
Add hook address to encoded data and then use it in execution
Add execution test for Euler

Took 1 hour 19 minutes

Took 2 hours 40 minutes

Took 3 minutes


Took 2 minutes
2025-06-23 15:44:26 +01:00
semantic-release-bot
7b48cab3cd chore(release): 0.101.3 [skip ci]
## [0.101.3](https://github.com/propeller-heads/tycho-execution/compare/0.101.2...0.101.3) (2025-06-23)

### Bug Fixes

* Add optimized_transfers_integration_tests.rs ([df63b87](df63b87569))
2025-06-23 14:41:48 +00:00
greendianasaur
cd643eef9b Merge pull request #226 from propeller-heads/cleanup/dc/bring-back-lost-tests
fix: Add optimized_transfers_integration_tests.rs
2025-06-23 15:40:01 +01:00
Diana Carvalho
df63b87569 fix: Add optimized_transfers_integration_tests.rs
I forgot these tests in the previous PR

Took 24 minutes
2025-06-23 15:34:11 +01:00
semantic-release-bot
d9d015635a chore(release): 0.101.2 [skip ci]
## [0.101.2](https://github.com/propeller-heads/tycho-execution/compare/0.101.1...0.101.2) (2025-06-23)

### Bug Fixes

* After rebase fixes ([1d263f8](1d263f8b4c))
2025-06-23 14:10:10 +00:00
greendianasaur
02dd7339e1 Merge pull request #225 from propeller-heads/cleanup/dc/ENG-4616-refactor-tests-2
fix: Refactor tests
2025-06-23 15:08:12 +01:00
Diana Carvalho
1d263f8b4c fix: After rebase fixes
Took 6 minutes
2025-06-23 15:02:21 +01:00
Diana Carvalho
e09789f347 test: Refactor tests
- Move encoding integration tests to integration test folder (in the rust project)
- Move protocol integration tests be inside the protocol file. This way we can change the block without any problems and it is easier for integrators

Took 6 minutes

Took 6 minutes


Took 17 minutes
2025-06-23 15:02:20 +01:00
semantic-release-bot
920b37cf96 chore(release): 0.101.1 [skip ci]
## [0.101.1](https://github.com/propeller-heads/tycho-execution/compare/0.101.0...0.101.1) (2025-06-23)

### Bug Fixes

* Exclude foundry files from the rust crate ([fa13f09](fa13f09d3e))
* Remove unnecessary clones from encoding ([e704151](e704151404))
2025-06-23 13:26:07 +00:00
greendianasaur
7dc75ef4de Merge pull request #224 from propeller-heads/cleanup/dc/ENG-4619-remove-unnecessary-clones
fix: Remove unnecessary clones
2025-06-23 14:24:06 +01:00
greendianasaur
b50d2e0285 Merge branch 'main' into cleanup/dc/ENG-4619-remove-unnecessary-clones 2025-06-23 14:20:17 +01:00
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