Skip to content

Commit 1ef2416

Browse files
joncinquewen-coding
authored andcommitted
Revert "Bump borsh from 0.10.3 to 0.11.0 (solana-labs#31964)" (solana-labs#32145)
This reverts commit 902d8b7.
1 parent bd4eadb commit 1ef2416

File tree

4 files changed

+29
-39
lines changed

4 files changed

+29
-39
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ bincode = "1.3.3"
144144
bitflags = "1.3.1"
145145
blake3 = "1.3.3"
146146
block-buffer = "0.10.4"
147-
borsh = "0.11.0"
147+
borsh = "0.10.3"
148148
bs58 = "0.4.0"
149149
bv = "0.11.1"
150150
byte-unit = "4.0.19"

programs/sbf/Cargo.lock

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

sdk/src/compute_budget.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
//! The compute budget native program.
2-
//!
3-
//! WARNING: This file allows integer arithmetic. Borsh 0.11 performs safe integer
4-
//! arithmetic at compile-time, but clippy cannot properly detect that currently.
5-
//!
6-
//! With the resolution of https://github.com/rust-lang/rust-clippy/issues/6365,
7-
//! we can remove this `allow` statement.
8-
//!
9-
//! In the meantime, do not add any other logic to this file, to avoid adding
10-
//! potentially harmful integer math.
112
123
#![cfg(feature = "full")]
13-
#![allow(clippy::integer_arithmetic)]
144

155
use {
166
crate::instruction::Instruction,

0 commit comments

Comments
 (0)