Commit Graph

1391 Commits

Author SHA1 Message Date
Diana Carvalho
f95c74fbc6 feat: Deploy all executors
univ3, univ4 and balancer v2

--- don't change below this line ---
ENG-4260 Took 33 minutes
2025-02-27 09:44:53 +00:00
semantic-release-bot
6b57e81afc chore(release): 0.53.0 [skip ci]
## [0.53.0](https://github.com/propeller-heads/tycho-execution/compare/0.52.2...0.53.0) (2025-02-26)

### Features

* support base deployment ([7ca9120](7ca9120b7b))

### Bug Fixes

* (deployment) add tenderly keys to json files ([1bdcbb8](1bdcbb83e0))
* proper executor address json after merge ([adfcb3d](adfcb3da82))
* rename mainnet -> ethereum ([ac35256](ac35256c69))
* TENDERLY_RPC_URL -> RPC_URL ([e5759b9](e5759b9498))
2025-02-26 18:26:17 +00:00
Tamara
c12af6e3d2 Merge pull request #85 from propeller-heads/router/tnl/ENG-4269-base-deployment
feat: support base deployment
2025-02-26 13:24:32 -05:00
Tamara
503d7e0907 Merge branch 'main' into router/tnl/ENG-4269-base-deployment 2025-02-26 13:21:04 -05:00
TAMARA LIPOWSKI
ac35256c69 fix: rename mainnet -> ethereum
we must match what we have in the executors file (which is what tycho-indexer gives us)
2025-02-26 13:20:51 -05:00
TAMARA LIPOWSKI
e5759b9498 fix: TENDERLY_RPC_URL -> RPC_URL
for simplicity and consistency
2025-02-26 13:01:48 -05:00
semantic-release-bot
d7ddb27497 chore(release): 0.52.2 [skip ci]
## [0.52.2](https://github.com/propeller-heads/tycho-execution/compare/0.52.1...0.52.2) (2025-02-26)
2025-02-26 18:01:34 +00:00
Harsh Vardhan Roy
4e5776133b Merge pull request #88 from propeller-heads/router/hr/ENG-4279-check-leftover
refactor: check if amountIn was fully consumed based on balance changes
2025-02-26 23:29:24 +05:30
Harsh Vardhan Roy
5e175e295f Merge branch 'main' into router/hr/ENG-4279-check-leftover 2025-02-26 23:26:53 +05:30
royvardhan
7b0dd5872c chore: merge main 2025-02-26 23:26:27 +05:30
semantic-release-bot
09354b501a chore(release): 0.52.1 [skip ci]
## [0.52.1](https://github.com/propeller-heads/tycho-execution/compare/0.52.0...0.52.1) (2025-02-26)
2025-02-26 17:47:24 +00:00
Harsh Vardhan Roy
a3dcddaa37 Merge pull request #87 from propeller-heads/router/hr/ENG-4278-refactor-swap-functions
refactor: use swap core logic in swapPermit2
2025-02-26 23:15:34 +05:30
royvardhan
07987a3584 refactor: rm _executeSwap and move core logic back to swap, make swapPermit2 use swap 2025-02-26 23:12:46 +05:30
royvardhan
ff83693b28 refactor: move wrap operation and receiver check to _executeSwap 2025-02-26 23:12:46 +05:30
royvardhan
d1f7f6dde1 refactor: centralize swap logic to reduce duplication between swap and swapPermit2 2025-02-26 23:12:46 +05:30
Harsh Vardhan Roy
9ad7cd0fd5 Merge pull request #86 from propeller-heads/router/hr/ENG-4268-add-base-fork-tests
test: add simple base network tests in usv2 and router
2025-02-26 23:10:55 +05:30
TAMARA LIPOWSKI
adfcb3da82 fix: proper executor address json after merge 2025-02-26 12:39:54 -05:00
royvardhan
030505c497 test: add vm.rollFork with correct block in base network tests 2025-02-26 23:04:40 +05:30
royvardhan
ed2bc414d8 test: update asserts in base network test 2025-02-26 22:01:18 +05:30
royvardhan
2323ad3fd9 test: add simple base network tests in usv2 and router 2025-02-26 22:01:18 +05:30
TAMARA LIPOWSKI
1bdcbb83e0 fix: (deployment) add tenderly keys to json files 2025-02-26 10:59:35 -05:00
TAMARA LIPOWSKI
7ca9120b7b feat: support base deployment
gas limit had to be set when setting executors on base: kept getting UNPREDICTABLE_GAS_LIMIT error. It should definitely not cost more than 100000 gas to set limit... but this may be a problem on other chains in the future.
2025-02-26 10:59:25 -05:00
royvardhan
0be69c9aea refactor: check if amountIn was fully consumed based on balance changes 2025-02-26 19:04:26 +05:30
royvardhan
53d48f1bac refactor: centralize swap logic to reduce duplication between swap and swapPermit2 2025-02-26 18:05:29 +05:30
semantic-release-bot
22c48e80d2 chore(release): 0.52.0 [skip ci]
## [0.52.0](https://github.com/propeller-heads/tycho-execution/compare/0.51.2...0.52.0) (2025-02-26)

### Features

* Add deployment and fund wallet scripts ([cbea0bd](cbea0bdab3))
* Deploy executors and set them in router ([02a9da1](02a9da183e))
* Deploy on mainnet ([34563c3](34563c3eb7))
* Set roles script ([90cf194](90cf194869))
* Verify router contract on tenderly ([77ba949](77ba9498a7))

### Bug Fixes

* Unify both executor addresses in one file ([57789a4](57789a40e4))
2025-02-26 10:15:40 +00:00
dianacarvalho1
dbd124c082 Merge pull request #81 from propeller-heads/router/dc/ENG-4101-deployment-script
feat: Add deployment scripts
2025-02-26 10:13:05 +00:00
Diana Carvalho
57789a40e4 fix: Unify both executor addresses in one file
- Move executor_addresses.json to a top level directory
- Delete executors.json
- Use the same file for both encoding and setting executors

--- don't change below this line ---
ENG-4260 Took 19 minutes


Took 11 seconds
2025-02-26 10:10:30 +00:00
Diana Carvalho
34563c3eb7 feat: Deploy on mainnet
Also update executors.json with uniswap v2 address on mainnet

--- don't change below this line ---
ENG-4101 Took 22 minutes


Took 7 seconds
2025-02-26 09:49:00 +00:00
Diana Carvalho
02a9da183e feat: Deploy executors and set them in router
--- don't change below this line ---
ENG-4101 Took 59 minutes


Took 10 seconds
2025-02-26 09:49:00 +00:00
Diana Carvalho
90cf194869 feat: Set roles script
Added a roles.json file where we can define all the addresses that need roles

--- don't change below this line ---
ENG-4101 Took 42 seconds
2025-02-26 09:49:00 +00:00
Diana Carvalho
77ba9498a7 feat: Verify router contract on tenderly
Fix package.json

--- don't change below this line ---
ENG-4101 Took 34 minutes
2025-02-26 09:49:00 +00:00
Diana Carvalho
cbea0bdab3 feat: Add deployment and fund wallet scripts
--- don't change below this line ---
ENG-4101 Took 1 hour 2 minutes


Took 2 minutes

Took 8 minutes

Took 4 minutes

Took 28 minutes
2025-02-26 09:49:00 +00:00
semantic-release-bot
08f72e7138 chore(release): 0.51.2 [skip ci]
## [0.51.2](https://github.com/propeller-heads/tycho-execution/compare/0.51.1...0.51.2) (2025-02-26)

### Bug Fixes

* Restrict receive callers to have code ([801976f](801976fafa))
2025-02-26 09:45:34 +00:00
dianacarvalho1
0b7e5a7caf Merge pull request #83 from propeller-heads/router/dc/ENG-4260-improve-receive
fix: Restrict receive callers to have code
2025-02-26 09:42:47 +00:00
dianacarvalho1
6008d5e836 Merge branch 'main' into router/dc/ENG-4260-improve-receive 2025-02-26 09:40:58 +00:00
semantic-release-bot
614af9ada7 chore(release): 0.51.1 [skip ci]
## [0.51.1](https://github.com/propeller-heads/tycho-execution/compare/0.51.0...0.51.1) (2025-02-25)
2025-02-25 18:35:20 +00:00
Tamara
419528a991 Merge pull request #84 from propeller-heads/router/tnl/ENG-4250-ascii-art
style: TychoRouter ascii art
2025-02-25 13:32:35 -05:00
TAMARA LIPOWSKI
857522134b chore: forge fmt
kill blank lines
2025-02-25 13:14:30 -05:00
TAMARA LIPOWSKI
abef1e062e style: TychoRouter ascii art 2025-02-25 13:10:29 -05:00
Diana Carvalho
801976fafa fix: Restrict receive callers to have code
--- don't change below this line ---
ENG-4260 Took 8 minutes
2025-02-25 09:36:04 +00:00
semantic-release-bot
dd6b1151b2 chore(release): 0.51.0 [skip ci]
## [0.51.0](https://github.com/propeller-heads/tycho-execution/compare/0.50.0...0.51.0) (2025-02-24)

### Features

* hardcode callback and swap selection in dispatcher ([58116e0](58116e074a))
* rm selector from usv3, usv4, update tests, and rename dispatcher file ([69745b1](69745b18fd))

### Bug Fixes

* usv4 integration tests and remove selector from swap/strategy encoder ([18efe03](18efe0305b))
2025-02-24 17:00:47 +00:00
Harsh Vardhan Roy
6276158af1 Merge pull request #82 from propeller-heads/router/hr/ENG-4262-hardcode-callback-swap-selector
feat: hardcode callback and swap selection in dispatcher
2025-02-24 22:27:55 +05:30
royvardhan
0e049b7c44 chore: rm selector from Transaction 2025-02-24 22:20:51 +05:30
royvardhan
892726e07b chore: cleanup 2025-02-24 21:41:19 +05:30
royvardhan
bfaa63a1a0 test: fix router tests with new integration calldata 2025-02-24 21:37:40 +05:30
royvardhan
570aa50497 test: fix encoder tests after removing the selector 2025-02-24 20:48:55 +05:30
royvardhan
18efe0305b fix: usv4 integration tests and remove selector from swap/strategy encoder 2025-02-24 19:48:25 +05:30
royvardhan
69745b18fd feat: rm selector from usv3, usv4, update tests, and rename dispatcher file 2025-02-24 17:16:27 +05:30
royvardhan
58116e074a feat: hardcode callback and swap selection in dispatcher 2025-02-24 10:56:17 +05:30
semantic-release-bot
d859a7ea97 chore(release): 0.50.0 [skip ci]
## [0.50.0](https://github.com/propeller-heads/tycho-execution/compare/0.49.0...0.50.0) (2025-02-22)

### Features

* add target verification for usv2 and usv3  using _computePairAddress ([7936ba1](7936ba1c94))
2025-02-22 03:35:19 +00:00