Commit Graph

1294 Commits

Author SHA1 Message Date
Diana Carvalho
003ab7cea8 fix: After merging main fixes
Took 10 minutes
2025-08-08 14:54:40 +01:00
Diana Carvalho
42609df650 Merge branch 'refs/heads/main' into feat/bebop-rfq-encoder-and-executor
# Conflicts:
#	config/executor_addresses.json
#	foundry/scripts/deploy-executors.js
#	foundry/test/TychoRouterSequentialSwap.t.sol
#	foundry/test/assets/calldata.txt
#	src/encoding/models.rs
#	tests/common/mod.rs

Took 21 minutes
2025-08-08 14:40:03 +01:00
semantic-release-bot
616b588fc8 chore(release): 0.112.2 [skip ci]
## [0.112.2](https://github.com/propeller-heads/tycho-execution/compare/0.112.1...0.112.2) (2025-08-07)

### Bug Fixes

* Encode sequential swaps with unwrapping WETH correctly ([c42a5da](c42a5dae6a))
2025-08-07 08:21:10 +00:00
dianacarvalho1
48d527cce6 Merge pull request #248 from propeller-heads/encoding/dc/fix-sequential-unwrap-eth
fix: Encode sequential swaps with unwrapping WETH correctly
2025-08-07 09:18:35 +01:00
Diana Carvalho
c42a5dae6a fix: Encode sequential swaps with unwrapping WETH correctly
Took 24 minutes


Took 1 minute

Took 24 seconds
2025-08-06 18:02:24 +01:00
dianacarvalho1
93c4b5eb9a Merge pull request #247 from propeller-heads/router/dc/add-audit-report
docs: Add 2nd audit report for TychoRouter
2025-08-06 17:50:28 +01:00
Diana Carvalho
c5f3355935 docs: Add 2nd audit report for TychoRouter
Took 8 minutes
2025-08-06 09:54:14 +01:00
pedrobergamini
1336eb5f90 chore: start implementing test changes related to partialFillOffset and encoded receiver 2025-08-05 22:45:48 -03:00
pedrobergamini
2583e9239e chore: fix extract_aggregate_taker_amount and bebop unit tests 2025-08-05 22:44:32 -03:00
pedrobergamini
f065abbdc9 chore: add build_bebop_calldata helper and fix user_data building 2025-08-05 20:33:23 -03:00
pedrobergamini
504a4db702 chore: include partialFillOffset as part of user_data 2025-08-05 20:32:42 -03:00
pedrobergamini
4cb570edb1 chore: fix test filledTakerAmount extraction and decoding logic 2025-08-04 18:52:53 -03:00
pedrobergamini
d4df49a796 chore: strip selector from calldata to setup state for harness 2025-08-04 18:13:06 -03:00
pedrobergamini
49754e654e chore: fix filledTakerAmount calldata override logic 2025-08-04 18:12:31 -03:00
pedrobergamini
c0f675ff21 chore: fix selectors at encoder 2025-08-04 18:12:04 -03:00
pedrobergamini
7ef587575a chore: create internal _swap method for harness usage 2025-08-04 14:51:58 -03:00
pedrobergamini
3c7a846ff4 chore: update filledTakerAmount 0 logic 2025-08-04 14:23:20 -03:00
pedrobergamini
75ef134e73 chore: add filter / map loop for taker_amount calculation 2025-08-04 14:00:04 -03:00
pedrobergamini
fe5f72e278 chore: update swap_encoders.rs 2025-08-04 10:31:15 -03:00
pedrobergamini
276d611157 chore: update BebopExecutor 2025-08-04 10:25:00 -03:00
semantic-release-bot
8ecbed43aa chore(release): 0.112.1 [skip ci]
## [0.112.1](https://github.com/propeller-heads/tycho-execution/compare/0.112.0...0.112.1) (2025-07-31)

### Bug Fixes

* Rename mainnet to ethereum in txServiceUrls for Safe ([51d9484](51d9484de0))
2025-07-31 17:32:20 +00:00
dianacarvalho1
cf8fd849f2 Merge pull request #246 from propeller-heads/dc/fix-safe-urls
fix: Rename mainnet to ethereum in txServiceUrls for Safe
2025-07-31 18:30:35 +01:00
Diana Carvalho
51d9484de0 fix: Rename mainnet to ethereum in txServiceUrls for Safe
This is used the scripts that interact with TychoRouter

Took 7 minutes
2025-07-31 17:08:28 +01:00
semantic-release-bot
ca762b55b6 chore(release): 0.112.0 [skip ci]
## [0.112.0](https://github.com/propeller-heads/tycho-execution/compare/0.111.0...0.112.0) (2025-07-22)

### Features

* Add protocol state to Swap object ([c217702](c217702560))

### Bug Fixes

* Replace smart pointer with regular pointer ([95c5124](95c51247f7))
2025-07-22 19:56:14 +00:00
Tamara
65bb889663 Merge pull request #245 from propeller-heads/rfqs/tnl/ENG-4695-state-in-swap
feat: Add protocol state to Swap object
2025-07-22 15:54:30 -04:00
TAMARA LIPOWSKI
95c51247f7 fix: Replace smart pointer with regular pointer
Apparently was not necessary and was causing clippy warnings.

```
warning: you seem to be trying to use `&Box<T>`. Consider using just `&T`
  --> src/encoding/models.rs:91:32
   |
91 |     pub protocol_state: Option<&'a Box<dyn ProtocolSim>>,
   |                                ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&'a dyn ProtocolSim`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
   = note: `#[warn(clippy::borrowed_box)]` on by default
   ```
2025-07-22 12:18:54 -04:00
TAMARA LIPOWSKI
c217702560 feat: Add protocol state to Swap object
- This consists of lots of necessary battles with lifetimes.
2025-07-22 12:13:39 -04:00
semantic-release-bot
a057588270 chore(release): 0.111.0 [skip ci]
## [0.111.0](https://github.com/propeller-heads/tycho-execution/compare/0.110.0...0.111.0) (2025-07-15)

### Features

* Uniswap X deployment script ([efa6fae](efa6fae0e8))

### Bug Fixes

* Read Tycho Router addresses from file ([d2d8b29](d2d8b29056))
2025-07-15 16:34:12 +00:00
dianacarvalho1
38c28b2fcc Merge pull request #242 from propeller-heads/unix/dc/ENG-4675-deployment-script
feat: Uniswap X deployment script
2025-07-15 17:32:33 +01:00
Diana Carvalho
5bf5c8124b docs: Extend Uniswap X deployment docs
--- don't change below this line ---
ENG-4675 Took 4 minutes
2025-07-15 17:13:05 +01:00
Diana Carvalho
d2d8b29056 fix: Read Tycho Router addresses from file
--- don't change below this line ---
ENG-4675 Took 17 minutes
2025-07-15 17:08:26 +01:00
Diana Carvalho
efa6fae0e8 feat: Uniswap X deployment script
--- don't change below this line ---
ENG-4675 Took 23 minutes
2025-07-15 10:01:38 +01:00
semantic-release-bot
671a456ed7 chore(release): 0.110.0 [skip ci]
## [0.110.0](https://github.com/propeller-heads/tycho-execution/compare/0.109.0...0.110.0) (2025-07-14)

### Features

* UniswapX encoding example ([2d4b0b9](2d4b0b995b))
2025-07-14 15:46:37 +00:00
Tamara
44e35f8dcf Merge pull request #241 from propeller-heads/usx/tnl/ENG-4674-example
feat: UniswapX encoding example
2025-07-14 11:44:51 -04:00
Tamara
ffb7b0d3b5 Merge branch 'main' into usx/tnl/ENG-4674-example 2025-07-14 11:40:36 -04:00
semantic-release-bot
f702bf967e chore(release): 0.109.0 [skip ci]
## [0.109.0](https://github.com/propeller-heads/tycho-execution/compare/0.108.0...0.109.0) (2025-07-14)

### Features

* add testExecuteIntegration ([4ba5919](4ba59192fc))

### Bug Fixes

* chain id call after main update ([e775238](e775238b08))
* Replicate a real Uniswap X order in integration test ([96d0bf4](96d0bf4ba5))
2025-07-14 15:39:35 +00:00
Tamara
fa426df7ff Merge branch 'main' into usx/tnl/ENG-4674-example 2025-07-14 11:38:11 -04:00
Tamara
0d1da0693f Merge pull request #237 from propeller-heads/usx/dc/ENG-4673-integration-test
test: Add encoding test for a uniswap X integration test
2025-07-14 11:37:51 -04:00
TAMARA LIPOWSKI
e775238b08 fix: chain id call after main update 2025-07-14 11:29:03 -04:00
TAMARA LIPOWSKI
7aa292ef82 chore: small polishings to example
- Add note in readme that order will need to be encoded still
- Fix log
- Don't pass executors to builder
2025-07-14 11:24:05 -04:00
Tamara
f329d41b76 Merge branch 'main' into usx/dc/ENG-4673-integration-test 2025-07-14 09:06:31 -04:00
TAMARA LIPOWSKI
2d4b0b995b feat: UniswapX encoding example 2025-07-11 18:12:27 -04:00
TAMARA LIPOWSKI
a0531bdfad chore: typo fix 2025-07-11 17:18:32 -04:00
TAMARA LIPOWSKI
a53fa6502d test: rewrite testExecute without hack
- We can use the same transaction as the integration test, with a different low-fee USV3 pool.
- Don't need to roll the fork either.
2025-07-11 17:17:32 -04:00
TAMARA LIPOWSKI
4ba59192fc feat: add testExecuteIntegration
- Needed to change the integration test setup to use two USV3 pools instead of one V3 and V2, since the V2 pool was taking too much fees for the order to be fulfilled.
- Also needed to change the fork block to make this test work, which meant also needing to update the data for the existing testExecute.
2025-07-11 17:05:45 -04:00
semantic-release-bot
4c8d5f151a chore(release): 0.108.0 [skip ci]
## [0.108.0](https://github.com/propeller-heads/tycho-execution/compare/0.107.0...0.108.0) (2025-07-11)

### Features

* Upgrade tycho-common ([8458b46](8458b4628e))
* Upgrade tycho-common ([effc25c](effc25c2d7))
* Upgrade tycho-common ([cb6042e](cb6042ea79))
* Use Chain from tycho-core and remove current implementation ([2c25b5a](2c25b5a18f))
2025-07-11 15:41:55 +00:00
dianacarvalho1
b9232805de Merge pull request #239 from propeller-heads/cleanup/dc/ENG-4705-remove-duplicated-models
feat: Remove duplicated models
2025-07-11 16:40:01 +01:00
Diana Carvalho
8458b4628e feat: Upgrade tycho-common
--- don't change below this line ---
ENG-4679 Took 5 minutes


Took 10 seconds
2025-07-11 16:37:06 +01:00
Diana Carvalho
effc25c2d7 feat: Upgrade tycho-common
--- don't change below this line ---
ENG-4705 Took 14 minutes
2025-07-10 17:20:53 +01:00
Diana Carvalho
2c25b5a18f feat: Use Chain from tycho-core and remove current implementation
--- don't change below this line ---
ENG-4705 Took 29 minutes
2025-07-10 17:20:53 +01:00