File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
crates/balancer-solver/src/infra Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -336,12 +336,15 @@ impl SolutionVerifier {
336336
337337 // Call querySwapExactIn
338338 // IMPORTANT: Must set .from() to make this a proper staticcall
339- let query = self . batch_router . methods ( ) . query_swap_exact_in (
340- vec ! [ path. clone( ) ] ,
341- self . batch_router . address ( ) , // sender (required for pools with hooks)
342- Bytes ( vec ! [ ] ) , // empty userData
343- )
344- . from ( Account :: Local ( H160 :: zero ( ) , None ) ) ; // Set from address for the eth_call
339+ let query = self
340+ . batch_router
341+ . methods ( )
342+ . query_swap_exact_in (
343+ vec ! [ path. clone( ) ] ,
344+ self . batch_router . address ( ) , // sender (required for pools with hooks)
345+ Bytes ( vec ! [ ] ) , // empty userData
346+ )
347+ . from ( Account :: Local ( H160 :: zero ( ) , None ) ) ; // Set from address for the eth_call
345348
346349 // Capture contract call details for debugging
347350 let calldata = query
You can’t perform that action at this time.
0 commit comments