suspicious as keywords #86

Open
opened 2026-04-09 16:37:28 +00:00 by CleverWild · 1 comment
Member

all places marked with #[expect()] and fixme! #86

warning: casting `i64` to `i32` may truncate the value
   --> crates\arbiter-server\src\evm\policies\ether_transfer\mod.rs:163:30
    |
163 |                 window_secs: grant.limit.window.num_seconds() as i32,
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
all places marked with #[expect()] and `fixme! #86` ``` warning: casting `i64` to `i32` may truncate the value --> crates\arbiter-server\src\evm\policies\ether_transfer\mod.rs:163:30 | 163 | window_secs: grant.limit.window.num_seconds() as i32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ```
CleverWild added the
Kind
Security
Reviewed
Pending
4
labels 2026-04-09 16:37:28 +00:00
CleverWild added reference feat-lints 2026-04-09 16:38:52 +00:00
Owner

I agree. The problem with those is that fucking sqlite dynamically sizes integers. So fucking diesel implement ToSql for sqlite only for i32.

I agree. The problem with those is that fucking sqlite dynamically sizes integers. So fucking diesel implement `ToSql` for sqlite only for `i32`.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MarketTakers/arbiter#86