Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
64c28220
Commit
64c28220
authored
Jul 01, 2021
by
Aniket-Engg
Committed by
Aniket
Jul 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slither plugin timeout increased
parent
03a477f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
remixEngine.js
apps/remix-ide/src/remixEngine.js
+1
-0
remix-ui-static-analyser.tsx
...x-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
+2
-1
No files found.
apps/remix-ide/src/remixEngine.js
View file @
64c28220
...
...
@@ -10,6 +10,7 @@ export class RemixEngine extends Engine {
setPluginOption
({
name
,
kind
})
{
if
(
kind
===
'provider'
)
return
{
queueTimeout
:
60000
*
2
}
if
(
name
===
'LearnEth'
)
return
{
queueTimeout
:
60000
}
if
(
name
===
'slither'
)
return
{
queueTimeout
:
60000
*
4
}
// Requires when a solc version is installed
return
{
queueTimeout
:
10000
}
}
...
...
libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
View file @
64c28220
...
...
@@ -263,7 +263,8 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
showWarningsByModule
(
'Slither Analysis'
)
}
}
}).
catch
(()
=>
{
}).
catch
((
error
)
=>
{
console
.
log
(
'Error found:'
,
error
)
// This should be removed once testing done
props
.
analysisModule
.
call
(
'terminal'
,
'log'
,
{
type
:
'error'
,
value
:
'[Slither Analysis]: Error occured! See remixd console for details.'
})
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment