Skip to content

Commit

Permalink
Revert "Bump borsh from 0.10.3 to 0.11.0 (#31964)" (#32145)
Browse files Browse the repository at this point in the history
This reverts commit 902d8b7.
  • Loading branch information
joncinque authored Jun 15, 2023
1 parent b60d124 commit bd4196b
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 39 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ bincode = "1.3.3"
bitflags = "1.3.1"
blake3 = "1.3.3"
block-buffer = "0.10.4"
borsh = "0.11.0"
borsh = "0.10.3"
bs58 = "0.4.0"
bv = "0.11.1"
byte-unit = "4.0.19"
Expand Down
28 changes: 14 additions & 14 deletions programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions sdk/src/compute_budget.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
//! The compute budget native program.
//!
//! WARNING: This file allows integer arithmetic. Borsh 0.11 performs safe integer
//! arithmetic at compile-time, but clippy cannot properly detect that currently.
//!
//! With the resolution of https://github.com/rust-lang/rust-clippy/issues/6365,
//! we can remove this `allow` statement.
//!
//! In the meantime, do not add any other logic to this file, to avoid adding
//! potentially harmful integer math.

#![cfg(feature = "full")]
#![allow(clippy::integer_arithmetic)]

use {
crate::instruction::Instruction,
Expand Down

0 comments on commit bd4196b

Please sign in to comment.