From 134c73e82be74fb5590e19c3d9b27304043bbbd8 Mon Sep 17 00:00:00 2001 From: Louise Poole Date: Fri, 18 Apr 2025 11:31:40 +0200 Subject: [PATCH 1/2] feat: update tycho-common version to 0.66.4 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5a81936..a84ff6c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4317,9 +4317,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tycho-common" -version = "0.64.1" +version = "0.66.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e318a43fab79199deaab2391c83c75724780151c0337b67914ed835ff04b52f" +checksum = "5131fdb21cbd754822b0947fc6c763494531837ba8bb34123f6c7f4f89cb69f7" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 455af9b..18cf38d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ clap = { version = "4.5.3", features = ["derive"] } alloy = { version = "0.9.2", features = ["providers", "rpc-types-eth", "eip712", "signer-local"], optional = true } alloy-sol-types = { version = "0.8.14", optional = true } alloy-primitives = { version = "0.8.9", optional = true } -tycho-common = "0.64.1" +tycho-common = "^0.66.4" once_cell = "1.20.2" [dev-dependencies] From 20573cbaf320ba99aa721e6e76a69447ab3f9694 Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Fri, 18 Apr 2025 08:46:32 -0400 Subject: [PATCH 2/2] fix: add slither disable after slither actions update - We have always been ok with risk here and ensured this won't happen for our use case, but slither actions version was recently updated so this fails in CI. --- foundry/src/Dispatcher.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundry/src/Dispatcher.sol b/foundry/src/Dispatcher.sol index 828d0b1..9af755d 100644 --- a/foundry/src/Dispatcher.sol +++ b/foundry/src/Dispatcher.sol @@ -62,7 +62,7 @@ contract Dispatcher { revert Dispatcher__UnapprovedExecutor(); } - // slither-disable-next-line controlled-delegatecall,low-level-calls + // slither-disable-next-line controlled-delegatecall,low-level-calls,calls-loop (bool success, bytes memory result) = executor.delegatecall( abi.encodeWithSelector(IExecutor.swap.selector, amount, data) );