Skip to content

Commit 7ab609c

Browse files
Merge pull request #285 from propeller-heads/rf1/dc/ENG-4759-request-quote-in-execution
feat: Change return of as_indicatively_priced to Result
2 parents a54e681 + 6512830 commit 7ab609c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ mini-moka = "0.10"
4848
lazy_static = "1.4.0"
4949

5050
# Tycho dependencies
51-
tycho-common = "0.80.0"
52-
tycho-client = "0.80.0"
51+
tycho-common = "0.81.0"
52+
tycho-client = "0.81.0"
5353

5454
# EVM dependencies
5555
foundry-config = { git = "https://github.com/foundry-rs/foundry", rev = "5a552bb0de7126fa35170fd84532bbd3d40cd348", optional = true }

src/rfq/protocols/bebop/state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ impl ProtocolSim for BebopState {
221221
}
222222
}
223223

224-
fn as_indicatively_priced(&self) -> Option<&dyn IndicativelyPriced> {
225-
Some(self)
224+
fn as_indicatively_priced(&self) -> Result<&dyn IndicativelyPriced, SimulationError> {
225+
Ok(self)
226226
}
227227
}
228228

0 commit comments

Comments
 (0)