Skip to content

Commit

Permalink
fix: patch ruint with quantity fix (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Feb 22, 2023
1 parent fdff1b0 commit 0cf27ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 2 additions & 4 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ default-members = ["bin/reth"]
[patch.crates-io]
revm = { git = "https://github.com/bluealloy/revm" }
revm-primitives = { git = "https://github.com/bluealloy/revm" }
# patched for quantity U256 responses <https://github.com/recmo/uint/issues/224>
ruint = { git = "https://github.com/mattsse/uint", branch = "matt/skip-leading-zeros" }
5 changes: 1 addition & 4 deletions crates/primitives/src/jsonu256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ mod test {
let data = JsonU256(U256::from(16));
let serialized = serde_json::to_string(&data).unwrap();

assert_eq!(
serialized,
r#""0x0000000000000000000000000000000000000000000000000000000000000010""#
);
assert_eq!(serialized, r#""0x10""#);
}
}

0 comments on commit 0cf27ce

Please sign in to comment.