Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
merge PR: #232 bug/231-osmium-slither-preformence-issue-staging
Browse files Browse the repository at this point in the history
231 - osmium-slither preformence issue
  • Loading branch information
0xSwapFeeder authored Feb 22, 2024
2 parents 3cfa144 + e84ce28 commit 4df85ae
Show file tree
Hide file tree
Showing 14 changed files with 490 additions and 113 deletions.
71 changes: 71 additions & 0 deletions toolchains/solidity/core/Cargo.lock

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

3 changes: 3 additions & 0 deletions toolchains/solidity/core/crates/slither-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ tokio = { version="1.34.0", features = ["full"] }
tower-lsp = "0.20.0"
colored = "2.0.4"
thiserror = "1.0.50"
glob = "0.3.1"
toml = "0.8.8"
tokio-util = "0.7.10"
6 changes: 4 additions & 2 deletions toolchains/solidity/core/crates/slither-server/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ use thiserror::Error;

#[derive(Error, Debug)]
pub enum SlitherError {
#[error("Error while runing slither")]
Unknown,
#[error("Error while runing slither: {0}")]
Unknown(String),
#[error("Error while runing the slither command: {0}")]
IoCommandError(#[from] std::io::Error),
#[error("Error while parsing slither output: {0}")]
ParsingFailed(#[from] serde_json::Error),
#[error("Error when trying to find the foundry.toml file")]
FoundryTomlNotFound,
}
Loading

0 comments on commit 4df85ae

Please sign in to comment.