Merge branch 'main' into ekubo
This commit is contained in:
4
.github/workflows/evm-foundry-ci.yml
vendored
4
.github/workflows/evm-foundry-ci.yml
vendored
@@ -13,12 +13,12 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RPC_URL: ${{ secrets.ETH_RPC_URL }}
|
RPC_URL: ${{ secrets.ETH_RPC_URL }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install Foundry
|
- name: Install Foundry
|
||||||
uses: foundry-rs/foundry-toolchain@v1
|
uses: foundry-rs/foundry-toolchain@de808b1eea699e761c404bda44ba8f21aba30b2c
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: forge fmt --check
|
run: forge fmt --check
|
||||||
|
|||||||
4
.github/workflows/slither.yml
vendored
4
.github/workflows/slither.yml
vendored
@@ -10,8 +10,8 @@ jobs:
|
|||||||
analyze:
|
analyze:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||||
- uses: crytic/slither-action@v0.4.0
|
- uses: crytic/slither-action@f197989dea5b53e986d0f88c60a034ddd77ec9a8
|
||||||
with:
|
with:
|
||||||
target: 'foundry/'
|
target: 'foundry/'
|
||||||
slither-args: '--filter-paths foundry/lib/'
|
slither-args: '--filter-paths foundry/lib/'
|
||||||
11
.github/workflows/tests-and-lints-template.yaml
vendored
11
.github/workflows/tests-and-lints-template.yaml
vendored
@@ -89,10 +89,17 @@ jobs:
|
|||||||
- name: Install git
|
- name: Install git
|
||||||
run: sudo apt update && sudo apt install -y git
|
run: sudo apt update && sudo apt install -y git
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout PR (from fork or branch)
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: refs/pull/${{ github.event.pull_request.number }}/head
|
||||||
|
|
||||||
|
- name: Checkout push branch (main or other)
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Setup git to use https
|
- name: Setup git to use https
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
19
CHANGELOG.md
19
CHANGELOG.md
@@ -1,3 +1,22 @@
|
|||||||
|
## [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](https://github.com/propeller-heads/tycho-execution/commit/9896f4882940517d61852300420c7c580138406f))
|
||||||
|
* prepared lint workflow for external contributors ([5162b9e](https://github.com/propeller-heads/tycho-execution/commit/5162b9e19efcaa5a2137f71a94f6f9e7f7d14da0))
|
||||||
|
|
||||||
|
## [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](https://github.com/propeller-heads/tycho-execution/commit/b3c4dbc293df758ff4cff949298a819436d83c38))
|
||||||
|
* fixed git checkout for codelint ([58e2ddd](https://github.com/propeller-heads/tycho-execution/commit/58e2ddd50e131c484ad53a6dca0b09e1d221d0e5))
|
||||||
|
* prepared lint workflow for external contributors ([9f7d605](https://github.com/propeller-heads/tycho-execution/commit/9f7d605ea5e76d230b5946c618ece76365fb4f02))
|
||||||
|
* removed empty line ([ae5d7de](https://github.com/propeller-heads/tycho-execution/commit/ae5d7deaccfc1ac527f88371bb3f055b01689801))
|
||||||
|
* test run outside a PR ([af01972](https://github.com/propeller-heads/tycho-execution/commit/af0197205adb3220673022b690f1d8aa6f6734aa))
|
||||||
|
|
||||||
## [0.67.0](https://github.com/propeller-heads/tycho-execution/compare/0.66.1...0.67.0) (2025-03-20)
|
## [0.67.0](https://github.com/propeller-heads/tycho-execution/compare/0.66.1...0.67.0) (2025-03-20)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -4340,7 +4340,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tycho-execution"
|
name = "tycho-execution"
|
||||||
version = "0.67.0"
|
version = "0.67.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alloy",
|
"alloy",
|
||||||
"alloy-primitives",
|
"alloy-primitives",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tycho-execution"
|
name = "tycho-execution"
|
||||||
version = "0.67.0"
|
version = "0.67.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ impl EVMTychoEncoder {
|
|||||||
/// swap's input is the chain's wrapped token.
|
/// swap's input is the chain's wrapped token.
|
||||||
/// * If the solution is unwrapping, the checked token is the chain's native token and the last
|
/// * If the solution is unwrapping, the checked token is the chain's native token and the last
|
||||||
/// swap's output is the chain's wrapped token.
|
/// swap's output is the chain's wrapped token.
|
||||||
|
/// * The token cannot appear more than once in the solution unless it is the first and last
|
||||||
|
/// token (i.e. a true cyclical swap).
|
||||||
fn validate_solution(&self, solution: &Solution) -> Result<(), EncodingError> {
|
fn validate_solution(&self, solution: &Solution) -> Result<(), EncodingError> {
|
||||||
if solution.exact_out {
|
if solution.exact_out {
|
||||||
return Err(EncodingError::FatalError(
|
return Err(EncodingError::FatalError(
|
||||||
|
|||||||
Reference in New Issue
Block a user