Skip to content

Commit

Permalink
rust-toolchain.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Jan 31, 2025
1 parent 49ce88a commit 749ad88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "stable"
channel = "1.83"
components = ["rustfmt", "llvm-tools-preview", "rust-src", "clippy"]
profile = "minimal"
6 changes: 2 additions & 4 deletions sequencer/src/persistence/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,7 @@ async fn collect_garbage(
let mut tx = db.read().await?;
let mut vid_shares = tx
.fetch_all(
query("SELECT view, data from vid_share where view <= $1")
.bind(view.u64() as i64),
query("SELECT view, data from vid_share where view <= $1").bind(view.u64() as i64),
)
.await?
.into_iter()
Expand All @@ -714,8 +713,7 @@ async fn collect_garbage(
// Clean up and collect DA proposals.
let mut da_proposals = tx
.fetch_all(
query("SELECT view, data FROM da_proposal where view <= $1")
.bind(view.u64() as i64),
query("SELECT view, data FROM da_proposal where view <= $1").bind(view.u64() as i64),
)
.await?
.into_iter()
Expand Down

0 comments on commit 749ad88

Please sign in to comment.