Commit Graph

920 Commits

Author SHA1 Message Date
royvardhan
ec8d59eeae test: remove gas usage numbers from GasTest 2025-03-01 00:09:15 +05:30
dianacarvalho1
5a2474c0f4 Merge pull request #94 from propeller-heads/dc/ENG-4261-clean-up-read-me
docs: Clean up readme and rename quickstart->encoding example
2025-02-28 16:39:17 +00:00
dianacarvalho1
4028551ba3 Merge branch 'main' into dc/ENG-4261-clean-up-read-me 2025-02-28 16:37:08 +00:00
royvardhan
6f69748ba4 test: update gas usage numbers in GasTest 2025-02-28 22:02:21 +05:30
semantic-release-bot
b569a0ad85 chore(release): 0.56.0 [skip ci]
## [0.56.0](https://github.com/propeller-heads/tycho-execution/compare/0.55.0...0.56.0) (2025-02-28)

### Features

* update base executor addresses ([bc47c12](bc47c12a1a))

### Bug Fixes

* make USV2 factory configurable in Executor ([33973a6](33973a65b8))
2025-02-28 14:00:31 +00:00
Tamara
988df06331 Merge pull request #93 from propeller-heads/router/tnl/configurable-usv2-factory
fix: make USV2 factory configurable in Executor
2025-02-28 08:57:07 -05:00
Diana Carvalho
36d2f23fba docs: Clean up readme and rename quickstart->encoding example
--- don't change below this line ---
ENG-4261 Took 17 minutes
2025-02-28 09:57:06 +00:00
royvardhan
5db95781e5 test: add isPermit2 bool in GasTest for readability 2025-02-28 10:11:04 +05:30
TAMARA LIPOWSKI
bc47c12a1a feat: update base executor addresses 2025-02-27 23:31:38 -05:00
TAMARA LIPOWSKI
33973a65b8 fix: make USV2 factory configurable in Executor
- This factory is not the same for Ethereum and Base, so Base txs were failing when verifying pool addresses.
- I've double checked that we don't have this problem for Balancer V2 - the vault address in the same on Base and on Ethereum Mainnet.
2025-02-27 23:15:08 -05:00
royvardhan
9014fc7383 test: add permit2 tests for simple swaps in TychoRouter and GasTest 2025-02-28 00:40:56 +05:30
royvardhan
35e706d6ea test: add GasTest to compare with Universal Router gas usage 2025-02-28 00:40:56 +05:30
semantic-release-bot
4b08910344 chore(release): 0.55.0 [skip ci]
## [0.55.0](https://github.com/propeller-heads/tycho-execution/compare/0.54.0...0.55.0) (2025-02-27)

### Features

* Change license to SPDX-License-Identifier: UNLICENSED everywhere ([59eb219](59eb2195b6))
* Deploy to mainnet (again) ([fedc504](fedc5043db))
* Deploy to mainnet. Update all addresses ([3d65ac8](3d65ac8cd9))
* Verify contracts on etherscan ([79045e2](79045e2689))
2025-02-27 18:05:36 +00:00
dianacarvalho1
6a1e78ad8c Merge pull request #91 from propeller-heads/router/dc/ENG-4251-verify-on-etherscan
feat: Verify contracts on etherscan
2025-02-27 18:03:43 +00:00
Diana Carvalho
fedc5043db feat: Deploy to mainnet (again)
--- don't change below this line ---
ENG-4260 Took 22 minutes
2025-02-27 18:01:15 +00:00
Diana Carvalho
59eb2195b6 feat: Change license to SPDX-License-Identifier: UNLICENSED everywhere
Remove unnecessary files

--- don't change below this line ---
ENG-4260 Took 13 minutes
2025-02-27 17:38:53 +00:00
Diana Carvalho
3d65ac8cd9 feat: Deploy to mainnet. Update all addresses
--- don't change below this line ---
ENG-4260 Took 27 minutes


Took 10 seconds
2025-02-27 17:25:54 +00:00
Diana Carvalho
79045e2689 feat: Verify contracts on etherscan
--- don't change below this line ---
ENG-4260 Took 31 minutes
2025-02-27 15:52:32 +00:00
semantic-release-bot
87e7394b0a chore(release): 0.54.0 [skip ci]
## [0.54.0](https://github.com/propeller-heads/tycho-execution/compare/0.53.1...0.54.0) (2025-02-27)

### Features

* Deploy all executors ([f95c74f](f95c74fbc6))

### Bug Fixes

* Add a value to the Transaction if token in is ETH ([05a1843](05a1843f9c))
* Get correct runtime everywhere ([6a6f2d3](6a6f2d3221))
* the key for univ4 fee is key_lp_fee ([9eb4299](9eb4299ffe))
2025-02-27 15:04:59 +00:00
dianacarvalho1
28353fa5c5 Merge pull request #90 from propeller-heads/router/dc/deploy-executors
fix: Miscellaneous fixes
2025-02-27 15:02:58 +00:00
Diana Carvalho
d011c4b475 Merge branch 'refs/heads/main' into router/dc/deploy-executors 2025-02-27 15:00:17 +00:00
semantic-release-bot
ce14e7a52c chore(release): 0.53.1 [skip ci]
## [0.53.1](https://github.com/propeller-heads/tycho-execution/compare/0.53.0...0.53.1) (2025-02-27)

### Bug Fixes

* remove 0 amount check in _unwrapEth ([0273f58](0273f58274))
2025-02-27 14:47:13 +00:00
Harsh Vardhan Roy
7b06707d4a Merge pull request #89 from propeller-heads/router/hr/ENG-4277-refactor-unwrapeth
refactor: remove unnecessary checks from _unwrapEth
2025-02-27 20:14:31 +05:30
royvardhan
0273f58274 fix: remove 0 amount check in _unwrapEth 2025-02-27 20:08:49 +05:30
Harsh Vardhan Roy
393ed61595 docs: update _unwrapEth docs
Co-authored-by: Tamara <tamara@datarevenue.com>
2025-02-27 20:08:49 +05:30
royvardhan
353861f738 refactor: update unwrapEth to only check 0 amount 2025-02-27 20:08:49 +05:30
Diana Carvalho
05a1843f9c fix: Add a value to the Transaction if token in is ETH
not only if the action is unwrap

--- don't change below this line ---
ENG-4260 Took 11 minutes
2025-02-27 12:39:16 +00:00
Diana Carvalho
9eb4299ffe fix: the key for univ4 fee is key_lp_fee
Update tests with new executor addresses as well

--- don't change below this line ---
ENG-4260 Took 6 minutes
2025-02-27 11:49:03 +00:00
Diana Carvalho
6a6f2d3221 fix: Get correct runtime everywhere
Made an utils function for it to make sure it is used correctly

--- don't change below this line ---
ENG-4260 Took 9 minutes
2025-02-27 11:16:21 +00:00
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