Skip to content

Commit 1daa25f

Browse files
committed
chore: remove cadd for now
1 parent 433ebdf commit 1daa25f

File tree

5 files changed

+127
-112
lines changed

5 files changed

+127
-112
lines changed

Cargo.lock

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

lazer/contracts/solana/Cargo.lock

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

lazer/sdk/rust/protocol/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ humantime-serde = "1.1.1"
1919
mry = { version = "0.13.0", features = ["serde"], optional = true }
2020
chrono = "0.4.41"
2121

22-
# tmp
23-
cadd = { path = "../../../../../../p/cadd" }
24-
2522
[dev-dependencies]
2623
bincode = "1.3.3"
2724
ed25519-dalek = { version = "2.1.1", features = ["rand_core"] }

lazer/sdk/rust/protocol/src/router.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use {
66
time::{DurationUs, TimestampUs},
77
},
88
anyhow::{bail, Context},
9-
cadd::convert::IntoType,
109
derive_more::derive::From,
1110
itertools::Itertools,
1211
protobuf::well_known_types::duration::Duration as ProtobufDuration,
@@ -312,7 +311,7 @@ impl FixedRate {
312311
pub fn from_millis(millis: u32) -> Option<Self> {
313312
Self::ALL
314313
.into_iter()
315-
.find(|v| v.rate.as_millis() == millis.into_type::<u64>())
314+
.find(|v| v.rate.as_millis() == u64::from(millis))
316315
}
317316

318317
pub fn duration(self) -> DurationUs {

0 commit comments

Comments
 (0)