Commit Graph

735 Commits

Author SHA1 Message Date
Valentin Khramtsov
a5a691d4aa chore: set checkout action for lint similar to compile and test 2025-03-31 12:19:41 +03:00
semantic-release-bot
b401358341 chore(release): 0.68.2 [skip ci]
## [0.68.2](https://github.com/propeller-heads/tycho-execution/compare/0.68.1...0.68.2) (2025-03-28)

### Bug Fixes

* fix for foundry tests external contributors ([a9ddb0e](a9ddb0e6e9))
2025-03-28 16:11:08 +00:00
tvinagre
7640d7e76a Merge pull request #139 from propeller-heads/fix/fix-foundry-tests
fix: fix for foundry tests external contributors
2025-03-28 17:08:26 +01:00
Valentin Khramtsov
a9ddb0e6e9 fix: fix for foundry tests external contributors 2025-03-28 17:20:10 +03:00
semantic-release-bot
16ade9d873 chore(release): 0.68.1 [skip ci]
## [0.68.1](https://github.com/propeller-heads/tycho-execution/compare/0.68.0...0.68.1) (2025-03-27)

### Bug Fixes

* Add crate metadata ([7e7fabf](7e7fabf51b))
2025-03-27 18:29:21 +00:00
Alan Höng
1534d3e512 Merge pull request #137 from propeller-heads/ah/switch-to-tycho-commons-II
fix: Add crate metadata
2025-03-27 19:27:26 +01:00
kayibal
7e7fabf51b fix: Add crate metadata 2025-03-27 19:21:43 +01:00
semantic-release-bot
b1bc98174c chore(release): 0.68.0 [skip ci]
## [0.68.0](https://github.com/propeller-heads/tycho-execution/compare/0.67.2...0.68.0) (2025-03-27)

### Features

* switch to tycho_commons ([0836bf7](0836bf7d53))

### Bug Fixes

* Handle unichain chain id ([379858b](379858bfca))
2025-03-27 16:02:59 +00:00
Alan Höng
f536eaffc1 Merge pull request #136 from propeller-heads/ah/switch-to-tycho-commons
feat: switch to tycho commons
2025-03-27 17:00:38 +01:00
kayibal
379858bfca fix: Handle unichain chain id 2025-03-27 16:58:34 +01:00
kayibal
0ff92c5da2 ci: Automatically publish to crates.io 2025-03-27 16:58:34 +01:00
kayibal
0836bf7d53 feat: switch to tycho_commons 2025-03-27 16:58:34 +01:00
semantic-release-bot
382fab0b46 chore(release): 0.67.2 [skip ci]
## [0.67.2](https://github.com/propeller-heads/tycho-execution/compare/0.67.1...0.67.2) (2025-03-27)

### Bug Fixes

* prepared lint workflow for external contributors ([9896f48](9896f48829))
* prepared lint workflow for external contributors ([5162b9e](5162b9e19e))
2025-03-27 14:08:30 +00:00
Khramtsov Valentin
8f9538c863 Merge pull request #135 from propeller-heads/fix/git-checkout-stage-fix
fix: git checkout stage fix
2025-03-27 17:06:25 +03:00
Valentin Khramtsov
818dc7a938 Merge branch 'main' into fix/git-checkout-stage-fix 2025-03-27 17:03:34 +03:00
Valentin Khramtsov
9896f48829 fix: prepared lint workflow for external contributors 2025-03-27 16:53:29 +03:00
Valentin Khramtsov
5162b9e19e fix: prepared lint workflow for external contributors 2025-03-27 16:52:00 +03:00
semantic-release-bot
fdb015118f chore(release): 0.67.1 [skip ci]
## [0.67.1](https://github.com/propeller-heads/tycho-execution/compare/0.67.0...0.67.1) (2025-03-27)

### Bug Fixes

* added empty line ([b3c4dbc](b3c4dbc293))
* fixed git checkout for codelint ([58e2ddd](58e2ddd50e))
* prepared lint workflow for external contributors ([9f7d605](9f7d605ea5))
* removed empty line ([ae5d7de](ae5d7deacc))
* test run outside a PR ([af01972](af0197205a))
2025-03-27 13:35:43 +00:00
Khramtsov Valentin
8c7c977f4c Merge pull request #133 from propeller-heads/fix/git-checkout-stage-fix
fix: prepared lint workflow for external contributors
2025-03-27 16:33:45 +03:00
Valentin Khramtsov
ae5d7deacc fix: removed empty line 2025-03-27 16:29:53 +03:00
Valentin Khramtsov
b3c4dbc293 fix: added empty line 2025-03-27 16:27:32 +03:00
Valentin Khramtsov
9f7d605ea5 fix: prepared lint workflow for external contributors 2025-03-27 16:13:52 +03:00
Valentin Khramtsov
af0197205a fix: test run outside a PR 2025-03-27 16:10:14 +03:00
Valentin Khramtsov
58e2ddd50e fix: fixed git checkout for codelint 2025-03-27 15:42:58 +03:00
Tamara
a0c77149c2 Merge pull request #129 from propeller-heads/router/tnl/cyclical-swap-doc
docs: Clarify validation criteria for cyclical swaps
2025-03-26 10:02:07 +01:00
TAMARA LIPOWSKI
9accc84346 docs: Clarify validation criteria for cyclical swaps 2025-03-26 09:56:44 +01:00
Michał D
59a5a558f5 Merge pull request #128 from propeller-heads/chore/test-for-external-contributors
chore: updated ci test workflow
2025-03-25 14:21:33 +01:00
Valentin Khramtsov
15fed02348 chore: updated ci test workflow 2025-03-25 13:45:34 +03:00
semantic-release-bot
9ba78cf2d0 chore(release): 0.67.0 [skip ci]
## [0.67.0](https://github.com/propeller-heads/tycho-execution/compare/0.66.1...0.67.0) (2025-03-20)

### Features

* Set v2/v3 executor addresses on ethereum ([783712b](783712be5d))
* Support Pancakeswap v3 on ethereum ([2a4ee88](2a4ee88cad))
* Support sushiswap v2 and pancakeswap v2 on ethereum ([0a8a34b](0a8a34be03))

### Bug Fixes

* proper exchange name when deploying executors ([39bd9df](39bd9df4b6))
* Remove pancakeswap V3 from approved executor addresses ([1ed149a](1ed149a9b8))
2025-03-20 19:52:27 +00:00
Tamara
e7c267c0cd Merge pull request #123 from propeller-heads/router/tnl/ENG-4402-v2-v3-forks
feat: Support UniswapV2 forks + executor setup for PancakeV3 support
2025-03-20 15:49:14 -04:00
TAMARA LIPOWSKI
1ed149a9b8 fix: Remove pancakeswap V3 from approved executor addresses
- Our router does not properly support pancakeswap.
2025-03-20 12:40:03 -04:00
TAMARA LIPOWSKI
783712be5d feat: Set v2/v3 executor addresses on ethereum
- Also fix router address env name in readme
2025-03-20 12:40:03 -04:00
TAMARA LIPOWSKI
39bd9df4b6 fix: proper exchange name when deploying executors
- Also update base executors in json
2025-03-20 12:40:03 -04:00
TAMARA LIPOWSKI
2a4ee88cad feat: Support Pancakeswap v3 on ethereum
- Needed to take pool code init hash as input param for executors
- Added tests for ethereum. Will test base on-chain.
- Important note: Pancakeswap uses their deployer instead of their factory (this is a different address) for target verification.
2025-03-20 12:40:03 -04:00
TAMARA LIPOWSKI
0a8a34be03 feat: Support sushiswap v2 and pancakeswap v2 on ethereum
- Needed to take pool code init hash as input param for executors
- Added tests for ethereum. Will test base on-chain.
2025-03-19 14:27:34 -04:00
semantic-release-bot
5a6433caf1 chore(release): 0.66.1 [skip ci]
## [0.66.1](https://github.com/propeller-heads/tycho-execution/compare/0.66.0...0.66.1) (2025-03-19)

### Bug Fixes

* Slippage precision calculation ([d644b63](d644b63851))
2025-03-19 14:15:07 +00:00
Tamara
b5e7a6c1cd Merge pull request #122 from propeller-heads/encoding/tnl/ENG-4373-fix-slippage-precision
fix: Slippage precision calculation
2025-03-19 10:12:00 -04:00
TAMARA LIPOWSKI
d644b63851 fix: Slippage precision calculation
- The resolution wasn't high enough before, so 0.1% slippage would round to 0% slippage. We should instead use basis point resolution to overcome this.
2025-03-18 21:29:38 -04:00
Tamara
0e5eac9aa3 Merge pull request #118 from propeller-heads/router/tnl/swap-docs
docs: Fix swap without permit2 doc
2025-03-17 09:43:20 -04:00
TAMARA LIPOWSKI
a75dfd02ab docs: Fix swap without permit2 doc
- We changed this to use a transferFrom
2025-03-16 00:18:37 -04:00
semantic-release-bot
8539b733db chore(release): 0.66.0 [skip ci]
## [0.66.0](https://github.com/propeller-heads/tycho-execution/compare/0.65.1...0.66.0) (2025-03-14)

### Features

* Add check to don't support cyclical swaps with native actions ([27c9c53](27c9c53889))
* Add validation for cyclical trades ([f62a9d2](f62a9d28c0))

### Bug Fixes

* Add individual tests for each case ([e96bcdf](e96bcdfd0f))
* In test asset, use 0 for the last split, and not 0.5 ([0aba7ed](0aba7edf83))
2025-03-14 11:35:17 +00:00
dianacarvalho1
7124ed4f18 Merge pull request #114 from propeller-heads/encoding/dc/ENG-4331-cyclical-swap-validation
feat: Add validation for cyclical trades
2025-03-14 11:32:29 +00:00
Diana Carvalho
e96bcdfd0f fix: Add individual tests for each case
(split output and native action)

--- don't change below this line ---
ENG-4331 Took 6 minutes
2025-03-14 11:30:19 +00:00
Diana Carvalho
27c9c53889 feat: Add check to don't support cyclical swaps with native actions
Remove unnecessary tests and improve comments

--- don't change below this line ---
ENG-4331 Took 30 minutes
2025-03-13 17:34:50 +00:00
Diana Carvalho
0aba7edf83 fix: In test asset, use 0 for the last split, and not 0.5
--- don't change below this line ---
ENG-4331 Took 5 minutes
2025-03-13 16:50:39 +00:00
Diana Carvalho
f62a9d28c0 feat: Add validation for cyclical trades
We only support cyclical trades when the repeated token is the first and the last token in the swap. We don't support cycles in between

--- don't change below this line ---
ENG-4331 Took 2 hours 4 minutes

(cherry picked from commit 55ffa4eb45)

Took 5 minutes


Took 2 minutes
2025-03-13 16:30:54 +00:00
semantic-release-bot
c7c46ba671 chore(release): 0.65.1 [skip ci]
## [0.65.1](https://github.com/propeller-heads/tycho-execution/compare/0.65.0...0.65.1) (2025-03-13)

### Reverts

* Revert "feat: Add validation for cyclical trades" ([3d7dcef](3d7dcef1bd))
2025-03-13 16:28:34 +00:00
Diana Carvalho
3d7dcef1bd Revert "feat: Add validation for cyclical trades"
This reverts commit 55ffa4eb45.

Took 5 minutes

Took 2 minutes

# Commit time for manual adjustment:
# Took 2 minutes
2025-03-13 16:26:06 +00:00
semantic-release-bot
61eda0f25d chore(release): 0.65.0 [skip ci]
## [0.65.0](https://github.com/propeller-heads/tycho-execution/compare/0.64.0...0.65.0) (2025-03-13)

### Features

* Add validation for cyclical trades ([55ffa4e](55ffa4eb45))
2025-03-13 16:15:25 +00:00
Diana Carvalho
55ffa4eb45 feat: Add validation for cyclical trades
We only support cyclical trades when the repeated token is the first and the last token in the swap. We don't support cycles in between

--- don't change below this line ---
ENG-4331 Took 2 hours 4 minutes
2025-03-13 16:13:28 +00:00