Diana Carvalho
49aefc8c2a
fix: Remove unnecessary test method
...
--- don't change below this line ---
ENG-4305 Took 2 minutes
2025-04-04 09:13:36 +01:00
Diana Carvalho
8d75b372e6
ci: Fix slither action
...
--- don't change below this line ---
ENG-4305 Took 4 minutes
2025-04-04 09:11:43 +01:00
Diana Carvalho
9f2184258a
feat: Refactor Curve Executor not to use the router
...
We don't need to use all the functionalities of the Curve Router, only the swap type 1 (exchange). By bypassing the router we can save gas on 2 token transfers and with smaller calldata
A nice side effect is that the executor is much more readable and understandable now
--- don't change below this line ---
ENG-4305 Took 2 hours 25 minutes
Took 12 seconds
2025-04-03 18:18:16 +01:00
Diana Carvalho
f468a7831a
fix: Improve curve executor tests and docstrings
...
--- don't change below this line ---
ENG-4305 Took 34 minutes
Took 8 seconds
2025-04-03 18:17:45 +01:00
royvardhan
3a08c0d71d
test: test two more pool types
2025-04-03 18:17:45 +01:00
royvardhan
9e2a9f5329
fix: resolve pr comments
...
Took 2 seconds
2025-04-03 18:17:45 +01:00
royvardhan
42d1ab36fd
fix: fix slither CI action
...
Took 5 seconds
2025-04-03 18:17:45 +01:00
royvardhan
07d6323316
chore: fmt
2025-04-03 18:17:45 +01:00
royvardhan
826eca4a80
refactor: move swap params from interface to executor, add needsApproval
2025-04-03 18:17:45 +01:00
royvardhan
3054ca042b
chore: rename ethAddress to nativeToken, update tests
2025-04-03 18:17:45 +01:00
royvardhan
05ea2c7734
chore: cleanup
2025-04-03 18:17:45 +01:00
royvardhan
c3d36ae25f
test: add curve swap tests with pools from indexer
2025-04-03 18:17:45 +01:00
royvardhan
93bdc86dc6
feat: allow executor to do native swaps, add diff pool type tests
...
Took 4 seconds
2025-04-03 18:17:45 +01:00
royvardhan
7cde5130d6
feat: add curve executor with router tests
...
Took 36 minutes
Took 2 minutes
2025-04-03 18:17:45 +01:00
semantic-release-bot
6c679c0434
chore(release): 0.76.0 [skip ci]
...
## [0.76.0](https://github.com/propeller-heads/tycho-execution/compare/0.75.1...0.76.0 ) (2025-04-03)
### Features
* deploy Ekubo gas optimizations ([9012d7b ](9012d7b4d1 ))
2025-04-03 13:34:26 +00:00
Tamara
b8e56c2062
Merge pull request #152 from propeller-heads/router/tnl/ekubo-gas-improvements-deployment
...
feat: deploy Ekubo gas optimizations
2025-04-03 15:32:16 +02:00
TAMARA LIPOWSKI
9012d7b4d1
feat: deploy Ekubo gas optimizations
...
new executor and new router (since the executor is hardcoded for now).
2025-04-03 12:51:23 +02:00
Tamara
9c8e093588
Merge pull request #146 from die-herdplatte/remove-ekubo-balance-of-checks
...
feat: Remove balanceOf checks in EkuboExecutor & remove ICallback impl
2025-04-03 12:18:06 +02:00
Tamara
10ad95be69
Merge branch 'main' into remove-ekubo-balance-of-checks
2025-04-03 12:13:32 +02:00
semantic-release-bot
568b17f074
chore(release): 0.75.1 [skip ci]
...
## [0.75.1](https://github.com/propeller-heads/tycho-execution/compare/0.75.0...0.75.1 ) (2025-04-03)
### Bug Fixes
* Proper ekubo protocol name in GROUPABLE_PROTOCOLS ([b4c687b ](b4c687bc3f ))
2025-04-03 10:10:12 +00:00
Tamara
d03dd910d2
Merge branch 'main' into remove-ekubo-balance-of-checks
2025-04-03 12:08:26 +02:00
Tamara
5414b658fb
Merge pull request #151 from propeller-heads/encoding/tnl/fix-ekubo-grouping
...
fix: Proper ekubo protocol name in GROUPABLE_PROTOCOLS
2025-04-03 12:06:51 +02:00
Tamara
ae5b468485
Merge branch 'main' into encoding/tnl/fix-ekubo-grouping
2025-04-03 11:46:35 +02:00
semantic-release-bot
f2c29c2c7c
chore(release): 0.75.0 [skip ci]
...
## [0.75.0](https://github.com/propeller-heads/tycho-execution/compare/0.74.0...0.75.0 ) (2025-04-03)
### Features
* Unichain deployment ([d05e118 ](d05e1183d4 ))
### Bug Fixes
* Run foundry tests on PR branch (not main) ([43f1a07 ](43f1a07017 ))
* Set native and wrapped tokens for Unichain ([4878229 ](4878229e1d ))
2025-04-03 09:46:01 +00:00
Tamara
e2be13521b
Merge branch 'main' into encoding/tnl/fix-ekubo-grouping
2025-04-03 11:45:14 +02:00
dianacarvalho1
c0247de888
Merge pull request #150 from propeller-heads/router/tnl/deploy-unichain
...
feat: Unichain deployment
2025-04-03 10:43:37 +01:00
TAMARA LIPOWSKI
43f1a07017
fix: Run foundry tests on PR branch (not main)
2025-04-03 11:26:06 +02:00
TAMARA LIPOWSKI
b4c687bc3f
fix: Proper ekubo protocol name in GROUPABLE_PROTOCOLS
2025-04-03 11:09:31 +02:00
TAMARA LIPOWSKI
25cafa31e7
chore: forge fmt
2025-04-03 10:53:55 +02:00
Tamara
3a42059598
Merge branch 'main' into router/tnl/deploy-unichain
2025-04-03 10:53:31 +02:00
die-herdplatte
5540503a59
forge fmt
2025-04-03 00:42:10 +07:00
die-herdplatte
4e34f45bf4
Remove balanceOf checks in EkuboExecutor & remove ICallback impl
2025-04-03 00:36:38 +07:00
semantic-release-bot
f514871e61
chore(release): 0.74.0 [skip ci]
...
## [0.74.0](https://github.com/propeller-heads/tycho-execution/compare/0.73.0...0.74.0 ) (2025-04-02)
### Features
* Fix rollFork usage for Ekubo test ([6cdca83 ](6cdca8381e ))
### Bug Fixes
* Fix tests after cherry picking ([5336969 ](5336969df8 ))
2025-04-02 15:19:00 +00:00
dianacarvalho1
624700d614
Merge pull request #148 from propeller-heads/router/dc/refactor-tests
...
feat: Refactor router tests
2025-04-02 16:17:06 +01:00
Diana Carvalho
5336969df8
fix: Fix tests after cherry picking
...
--- don't change below this line ---
ENG-4411 Took 1 hour 9 minutes
Took 18 minutes
2025-04-02 16:13:58 +01:00
Diana Carvalho
6cdca8381e
feat: Fix rollFork usage for Ekubo test
...
- Created methods to deploy the router and the executors. Whenever we use rollFork we need to redeploy everything! Notice that the addresses will be different then!
- Created a test_executor_addresses.json to be used in the encoding tests, this way the calldata for the integration tests is already correct and we don't need to do any manual replacing (this was annoying). The addresses in this file match with the addresses used in the solidity tests
--- don't change below this line ---
ENG-4411 Took 1 hour 9 minutes
Took 28 minutes
Took 4 minutes
Took 45 minutes
2025-04-02 16:13:58 +01:00
TAMARA LIPOWSKI
4878229e1d
fix: Set native and wrapped tokens for Unichain
2025-04-02 16:06:26 +02:00
TAMARA LIPOWSKI
d05e1183d4
feat: Unichain deployment
2025-04-02 15:49:08 +02:00
semantic-release-bot
69f4e748b5
chore(release): 0.73.0 [skip ci]
...
## [0.73.0](https://github.com/propeller-heads/tycho-execution/compare/0.72.0...0.73.0 ) (2025-04-02)
### Features
* Add router_address to cli ([1f6f1a4 ](1f6f1a4236 ))
2025-04-02 10:08:01 +00:00
Tamara
b3ea015e9f
Merge pull request #149 from propeller-heads/encoding/tnl/configurable-router-address
...
feat: Add router_address to cli
2025-04-02 12:05:50 +02:00
TAMARA LIPOWSKI
1f6f1a4236
feat: Add router_address to cli
2025-04-02 12:02:56 +02:00
semantic-release-bot
4bcba64347
chore(release): 0.72.0 [skip ci]
...
## [0.72.0](https://github.com/propeller-heads/tycho-execution/compare/0.71.0...0.72.0 ) (2025-04-02)
### Features
* Make EncodingContext.router_address optional ([8865e22 ](8865e22116 ))
* Remove router_address from Solution, set default ([d5c589d ](d5c589d2c0 ))
* Support manual router address setting in builder ([c336a28 ](c336a28905 ))
### Bug Fixes
* fix Solution.router_address for Ekubo ([b397ddd ](b397ddd2be ))
2025-04-02 09:33:01 +00:00
Tamara
aeaab073b8
Merge pull request #147 from propeller-heads/encoding/tnl/default-router-address
...
feat: Remove router_address from Solution, set default
2025-04-02 11:30:22 +02:00
TAMARA LIPOWSKI
c336a28905
feat: Support manual router address setting in builder
2025-04-02 11:24:31 +02:00
TAMARA LIPOWSKI
99adaa9796
chore: Update latest router address in router_addresses.json
2025-04-02 11:24:23 +02:00
TAMARA LIPOWSKI
b397ddd2be
fix: fix Solution.router_address for Ekubo
2025-04-02 11:24:12 +02:00
TAMARA LIPOWSKI
8865e22116
feat: Make EncodingContext.router_address optional
2025-04-02 11:24:04 +02:00
TAMARA LIPOWSKI
d5c589d2c0
feat: Remove router_address from Solution, set default
...
- The router address can be set when creating the SplitSwapStrategy, which now takes an Option<Bytes> as input during initialization (another breaking interface change)
- This change allows us to change our router address in the future with minimal effect on the users. Users should only pass the router address in the split swap initialization if they intend to use their own router for execution.
- This change also means that the router address does not need to be passed with the solution, even when using the executor strategy (which was pointless).
- I thought of having a router_address() method to set this in the encoder builder - but it seemed too messy, since we don't need the router address for execution for example. We would then potentially unnecessarily load and set the default router address when not needed. It is also not even used at the highest level EVMTychoEncoder, so it makes more sense for it to be directly associated with the swap strategy instead.
- Users will now not be able to encode for different routers without re-initializing the strategy. We assumed this use case to be very rare and not worth supporting.
2025-04-02 11:18:30 +02:00
semantic-release-bot
3835842e88
chore(release): 0.71.0 [skip ci]
...
## [0.71.0](https://github.com/propeller-heads/tycho-execution/compare/0.70.0...0.71.0 ) (2025-04-01)
### Features
* Update ekubo router address ([e3d25fc ](e3d25fcd5e ))
### Bug Fixes
* update ekubo_v2 executor ([57aa1c3 ](57aa1c3402 ))
2025-04-01 22:55:10 +00:00
Tamara
8a0dd96743
Merge pull request #145 from propeller-heads/router/tnl/ekubo-executor
...
fix: update ekubo_v2 executor
2025-04-02 00:53:25 +02:00