Skip to content

Commit

Permalink
Update services to rust v1.72 (#598)
Browse files Browse the repository at this point in the history
* Update smart-contract-verifier to support rust-clippy v1.72

* Update eth-bytecode-db to support rust-clippy v1.72

* Update eth-bytecode-db-extractors to support rust-clippy v1.72

* Update libs to support rust-clippy v1.72

* Update multichain-search to support rust-clippy v1.72

* Update sig-provider to support rust-clippy v1.72

* Update stats to support rust-clippy v1.72

* Update visualizer to support rust-clippy v1.72
  • Loading branch information
rimrakhimov authored Aug 28, 2023
1 parent f158445 commit e6533e2
Show file tree
Hide file tree
Showing 14 changed files with 862 additions and 751 deletions.
1 change: 1 addition & 0 deletions eth-bytecode-db-extractors/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"smart-contract-fiesta",
"smart-contract-fiesta-entity",
Expand Down
1 change: 1 addition & 0 deletions eth-bytecode-db/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"eth-bytecode-db",
"eth-bytecode-db/entity",
Expand Down
9 changes: 3 additions & 6 deletions eth-bytecode-db/eth-bytecode-db/src/search/match_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ mod tests {
let remote = BytecodeRemote {
bytecode_type: BytecodeType::CreationInput,
data: DisplayBytes::from_str(
&vec![NUMBER_MAIN_PART, NUMBER_META_PART, NUMBER_ARGS_PART].join(""),
&[NUMBER_MAIN_PART, NUMBER_META_PART, NUMBER_ARGS_PART].join(""),
)
.unwrap()
.0,
Expand All @@ -188,10 +188,7 @@ mod tests {
assert_eq!(result.source_type, source.source_type.into());
assert_eq!(
result.source_files,
BTreeMap::from_iter(vec![(
"Number.sol".to_string(),
"contract Number {}".to_string()
)])
BTreeMap::from_iter([("Number.sol".to_string(), "contract Number {}".to_string())])
);
assert_eq!(result.abi, source.abi.map(|abi| abi.to_string()));
assert_eq!(
Expand All @@ -211,7 +208,7 @@ mod tests {
let remote = BytecodeRemote {
bytecode_type: BytecodeType::CreationInput,
data: DisplayBytes::from_str(
&vec![NUMBER_MAIN_PART, NUMBER_META_PART, invalid_args].join(""),
&[NUMBER_MAIN_PART, NUMBER_META_PART, invalid_args].join(""),
)
.unwrap()
.0,
Expand Down
1 change: 1 addition & 0 deletions libs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"blockscout-auth",
"blockscout-db",
Expand Down
1 change: 1 addition & 0 deletions multichain-search/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"backend"
]
Loading

0 comments on commit e6533e2

Please sign in to comment.