Commit Graph

1395 Commits

Author SHA1 Message Date
dianacarvalho1
497c3bc337 Merge pull request #194 from propeller-heads/router/dc/ENG-4515-univ4-callback
feat: Remove special handling of the Univ4 callback
2025-05-14 08:51:24 +01:00
dianacarvalho1
c117cea8e7 Merge branch 'main' into router/dc/ENG-4515-univ4-callback 2025-05-13 17:11:34 +01:00
dianacarvalho1
71379db2c1 Merge pull request #196 from propeller-heads/ci/dc/fix-lint-ci
ci: fix cargo clippy command in CI
2025-05-13 15:02:14 +01:00
Diana Carvalho
37e9d2b712 ci: fix cargo clippy command in CI
Took 7 minutes


Took 4 minutes
2025-05-13 14:56:30 +01:00
Diana Carvalho
444fc2d7b0 docs: Add comment on receive() in CurveExecutor
Took 9 minutes
2025-05-12 10:48:07 +01:00
Diana Carvalho
f14c8ee29b feat: Remove special handling of the Univ4 callback
The problem was that the pool manager was expecting an ABI encoded result to be returned and we were not returning that (we were returning just a result)
Special thanks to Max for figuring this out

Took 31 minutes
2025-05-09 10:48:54 +01:00
dianacarvalho1
fb1737c1f5 Merge pull request #191 from propeller-heads/router/dc/ENG-4492-remove-self-maverick
chore: Remove unused self from MaverickV2Executor
2025-05-08 15:22:11 +01:00
dianacarvalho1
58047165f6 Merge branch 'main' into router/dc/ENG-4492-remove-self-maverick 2025-05-08 15:18:15 +01:00
Diana Carvalho
30b8f9dd19 chore: Add script to remove executor addresses from Tycho Router
--- don't change below this line ---
ENG-4454 Took 1 hour 6 minutes
2025-05-08 15:11:07 +01:00
semantic-release-bot
5ee9d79a15 chore(release): 0.88.0 [skip ci]
## [0.88.0](https://github.com/propeller-heads/tycho-execution/compare/0.87.0...0.88.0) (2025-05-06)

### Features

* Choose single strategy if it's a grouped swap of the same protocol ([079759a](079759a75b))
2025-05-06 12:55:48 +00:00
dianacarvalho1
d077929b6a Merge branch 'main' into router/dc/ENG-4492-remove-self-maverick 2025-05-06 13:53:12 +01:00
dianacarvalho1
ad860e3c8c Merge pull request #192 from propeller-heads/encoding/dc/ENG-4478-group-swaps-before-selecting-strategy
feat: Choose single strategy if it's a grouped swap of the same protocol
2025-05-06 13:52:58 +01:00
Diana Carvalho
079759a75b feat: Choose single strategy if it's a grouped swap of the same protocol
Add and update tests

--- don't change below this line ---
ENG-4478 Took 45 minutes


Took 10 seconds

Took 14 seconds
2025-05-05 12:15:33 +01:00
semantic-release-bot
d98c179c46 chore(release): 0.87.0 [skip ci]
## [0.87.0](https://github.com/propeller-heads/tycho-execution/compare/0.86.0...0.87.0) (2025-05-05)

### Features

* Update PancakeV2 executor addresses ([872aa57](872aa576e6))

### Bug Fixes

* pass permit2 in deployment scripts ([ba19b00](ba19b000dc))
2025-05-05 09:16:33 +00:00
dianacarvalho1
cb5c0f16ea Merge pull request #183 from propeller-heads/router/tnl/deploy-pancake-v2
feat: PancakeV2 redeployment
2025-05-05 10:14:25 +01:00
dianacarvalho1
b5cd53de11 Merge branch 'main' into router/tnl/deploy-pancake-v2 2025-05-05 10:11:28 +01:00
Diana Carvalho
0125118d22 chore: Remove unused self from MaverickV2Executor
--- don't change below this line ---
ENG-4492 Took 7 minutes
2025-05-05 10:06:10 +01:00
semantic-release-bot
aeaeff12fd chore(release): 0.86.0 [skip ci]
## [0.86.0](https://github.com/propeller-heads/tycho-execution/compare/0.85.1...0.86.0) (2025-05-02)

### Features

* Change revert condition in _wrapETH ([0400005](04000059e5))
* Propagate the entire result of the callback ([8a7c390](8a7c39052d))
2025-05-02 14:58:02 +00:00
dianacarvalho1
aa18ccb72a Merge pull request #189 from propeller-heads/router/dc/ENG-4476-generalize-callback-return
feat: Misc audit fixes (callback result and revert condition in _wrapETH)
2025-05-02 15:55:53 +01:00
Diana Carvalho
c4b9a1d769 docs: Mention audits in the README
--- don't change below this line ---
ENG-4476 Took 6 minutes
2025-05-02 12:55:04 +01:00
Diana Carvalho
04000059e5 feat: Change revert condition in _wrapETH
--- don't change below this line ---
ENG-4476 Took 1 minute
2025-05-02 12:48:03 +01:00
Diana Carvalho
8a7c39052d feat: Propagate the entire result of the callback
--- don't change below this line ---
ENG-4476 Took 41 minutes
2025-05-02 12:47:03 +01:00
semantic-release-bot
750382fc6f chore(release): 0.85.1 [skip ci]
## [0.85.1](https://github.com/propeller-heads/tycho-execution/compare/0.85.0...0.85.1) (2025-05-01)

### Bug Fixes

* Derive Clone in TychoEncoders ([f99bd29](f99bd296a1))
2025-05-01 00:46:56 +00:00
Tamara
229f9f5043 Merge pull request #187 from propeller-heads/encoding/tnl/derive-clone
fix: Derive Clone in TychoEncoders
2025-04-30 20:44:54 -04:00
Tamara
f021857b9f Merge branch 'main' into encoding/tnl/derive-clone 2025-04-30 20:41:06 -04:00
semantic-release-bot
b43d5cad96 chore(release): 0.85.0 [skip ci]
## [0.85.0](https://github.com/propeller-heads/tycho-execution/compare/0.84.0...0.85.0) (2025-05-01)

### Features

* add mav executor ([0ac722d](0ac722d91f))
* add swap encode ([72a651d](72a651d453))
* Transfer Optimizations in MaverickV2 ([bcef8f6](bcef8f69f6))

### Bug Fixes

* add maverick for build ([bab30e3](bab30e3958))
* maverick test fork block ([4c93830](4c938306bd))
* swap test ([d103ca9](d103ca9e33))
2025-05-01 00:39:21 +00:00
Tamara
5e60e09a13 Merge pull request #186 from propeller-heads/router/tnl/fix-maverick-execution
feat: Transfer Optimizations in MaverickV2
2025-04-30 20:37:11 -04:00
TAMARA LIPOWSKI
58e8e67494 chore: dummy commit
CI won't run
2025-04-30 20:24:21 -04:00
TAMARA LIPOWSKI
5f7ce7d5da chore: nightly fmt 2025-04-30 11:20:52 -04:00
TAMARA LIPOWSKI
d09497faca chore: Load maverick calldata from file
- Also remove irrelevant comment
2025-04-30 11:18:04 -04:00
TAMARA LIPOWSKI
f99bd296a1 fix: Derive Clone in TychoEncoders 2025-04-29 17:06:41 -04:00
TAMARA LIPOWSKI
bcef8f69f6 feat: Transfer Optimizations in MaverickV2
- Also added integration test to test the optimizations, where we can see the in and out transfers being optimized if we enable verbose foundry testing
- Fixed typo in swap encoder builder initialization
2025-04-29 15:46:19 -04:00
Tamara
b6a3ce624d Merge branch 'main' into feat/maverick-v2-executor 2025-04-29 12:01:20 -04:00
dianacarvalho1
df96303b90 Merge pull request #184 from propeller-heads/integration/dc/ENG-4453-file-for-integration-test
chore: Write encoding rust calldata to file and read in solidity test
2025-04-29 15:14:20 +01:00
Diana Carvalho
1746fd0e1d chore: Add "Report a vulnerability" to README
--- don't change below this line ---
ENG-4453 Took 8 minutes
2025-04-29 10:34:35 +01:00
Diana Carvalho
0ff4aef0c7 chore: Write encoding rust calldata to file and read in solidity test
This way we can automatically replace the calldata when something changes. We don't need to manually replace the string ourselves.

--- don't change below this line ---
ENG-4453 Took 3 hours 26 minutes
2025-04-29 10:23:47 +01:00
TAMARA LIPOWSKI
872aa576e6 feat: Update PancakeV2 executor addresses 2025-04-28 17:41:31 -04:00
TAMARA LIPOWSKI
ba19b000dc fix: pass permit2 in deployment scripts
- Also deploy PancakeV2 (update in config) on ethereum
2025-04-28 17:23:54 -04:00
semantic-release-bot
b03c58d833 chore(release): 0.84.0 [skip ci]
## [0.84.0](https://github.com/propeller-heads/tycho-execution/compare/0.83.0...0.84.0) (2025-04-28)

### Features

* Clear transient storage after swap call ([1b003dc](1b003dc483))
2025-04-28 14:25:10 +00:00
Tamara
ff14c8f144 Merge pull request #182 from propeller-heads/router/tnl/reset-transient-storage
feat: Clear transient storage after swap call
2025-04-28 10:23:15 -04:00
Tamara
b27e6c62ec Merge branch 'main' into router/tnl/reset-transient-storage 2025-04-28 09:32:35 -04:00
Tamara
94591339a1 Merge pull request #181 from propeller-heads/router/tnl/rename-dispatcher-methods
chore: rename dispatcher methods for clarity
2025-04-28 09:13:17 -04:00
Tamara
07fbc0ac10 Merge branch 'main' into router/tnl/rename-dispatcher-methods 2025-04-28 09:00:21 -04:00
semantic-release-bot
f141d2dda1 chore(release): 0.83.0 [skip ci]
## [0.83.0](https://github.com/propeller-heads/tycho-execution/compare/0.82.1...0.83.0) (2025-04-28)

### Features

* Add security check for callback selector ([4de1d10](4de1d10406))

### Bug Fixes

* Remove tload from executor ([3fb17c7](3fb17c71da))
2025-04-28 12:58:53 +00:00
Tamara
87d6ead4c7 Merge branch 'main' into router/tnl/rename-dispatcher-methods 2025-04-28 08:56:08 -04:00
Tamara
f6c62e2b0f Merge pull request #180 from propeller-heads/router/tnl/remove-tload-usv4
fix: Remove tload from executor
2025-04-28 08:55:54 -04:00
TAMARA LIPOWSKI
1b003dc483 feat: Clear transient storage after swap call
- This was originally remaining if no callback was performed, possible resulting in unexpected behaviour and an increased attack surface.
- Also specify nonzero slot for transient storage in order to reduce the risk of dangerous slot collision.
2025-04-25 21:39:09 -04:00
TAMARA LIPOWSKI
8b55d90608 chore: rename dispatcher methods for clarity 2025-04-25 21:07:48 -04:00
TAMARA LIPOWSKI
732450670f chore: remove outdated docstring 2025-04-25 18:33:14 -04:00
TAMARA LIPOWSKI
4de1d10406 feat: Add security check for callback selector
- Do not allow any callback to be chosen, for security and clarity purposes
2025-04-25 11:02:12 -04:00