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
f491e6ab
Commit
f491e6ab
authored
Jan 07, 2021
by
LianaHus
Committed by
yann300
Jan 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linter fix
parent
0e80908f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
compiler-artefacts.js
apps/remix-ide/src/app/compiler/compiler-artefacts.js
+1
-1
compiler-sourceVerifier-fetchAndCompile.js
...c/app/compiler/compiler-sourceVerifier-fetchAndCompile.js
+0
-2
contractDropdown.js
apps/remix-ide/src/app/tabs/runTab/contractDropdown.js
+1
-2
No files found.
apps/remix-ide/src/app/compiler/compiler-artefacts.js
View file @
f491e6ab
...
@@ -67,7 +67,7 @@ module.exports = class CompilerArtefacts extends Plugin {
...
@@ -67,7 +67,7 @@ module.exports = class CompilerArtefacts extends Plugin {
return
contractsData
return
contractsData
}
}
getCompilerAbstract
(
file
)
{
getCompilerAbstract
(
file
)
{
return
this
.
compilersArtefactsPerFile
[
file
]
return
this
.
compilersArtefactsPerFile
[
file
]
}
}
...
...
apps/remix-ide/src/app/compiler/compiler-sourceVerifier-fetchAndCompile.js
View file @
f491e6ab
...
@@ -35,7 +35,6 @@ export default class FetchAndCompile extends Plugin {
...
@@ -35,7 +35,6 @@ export default class FetchAndCompile extends Plugin {
const
localCompilation
=
()
=>
compilersartefacts
.
get
(
contractAddress
)
?
compilersartefacts
.
get
(
contractAddress
)
:
compilersartefacts
.
get
(
'__last'
)
?
compilersartefacts
.
get
(
'__last'
)
:
null
const
localCompilation
=
()
=>
compilersartefacts
.
get
(
contractAddress
)
?
compilersartefacts
.
get
(
contractAddress
)
:
compilersartefacts
.
get
(
'__last'
)
?
compilersartefacts
.
get
(
'__last'
)
:
null
console
.
log
(
"localCompilation - "
,
localCompilation
)
const
resolved
=
compilersartefacts
.
get
(
contractAddress
)
const
resolved
=
compilersartefacts
.
get
(
contractAddress
)
if
(
resolved
)
return
resolved
if
(
resolved
)
return
resolved
if
(
this
.
unresolvedAddresses
.
includes
(
contractAddress
))
return
localCompilation
()
if
(
this
.
unresolvedAddresses
.
includes
(
contractAddress
))
return
localCompilation
()
...
@@ -55,7 +54,6 @@ export default class FetchAndCompile extends Plugin {
...
@@ -55,7 +54,6 @@ export default class FetchAndCompile extends Plugin {
// check if the contract if part of the local compilation result
// check if the contract if part of the local compilation result
const
codeAtAddress
=
await
web3
.
eth
.
getCode
(
contractAddress
)
const
codeAtAddress
=
await
web3
.
eth
.
getCode
(
contractAddress
)
const
compilation
=
localCompilation
()
const
compilation
=
localCompilation
()
console
.
log
(
"compilationResult= "
,
compilation
)
if
(
compilation
)
{
if
(
compilation
)
{
let
found
=
false
let
found
=
false
compilation
.
visitContracts
((
contract
)
=>
{
compilation
.
visitContracts
((
contract
)
=>
{
...
...
apps/remix-ide/src/app/tabs/runTab/contractDropdown.js
View file @
f491e6ab
...
@@ -27,7 +27,6 @@ class ContractDropdownUI {
...
@@ -27,7 +27,6 @@ class ContractDropdownUI {
listenToEvents
()
{
listenToEvents
()
{
this
.
dropdownLogic
.
event
.
register
(
'newlyCompiled'
,
(
success
,
data
,
source
,
compiler
,
compilerFullName
,
file
)
=>
{
this
.
dropdownLogic
.
event
.
register
(
'newlyCompiled'
,
(
success
,
data
,
source
,
compiler
,
compilerFullName
,
file
)
=>
{
if
(
!
this
.
selectContractNames
)
return
if
(
!
this
.
selectContractNames
)
return
this
.
selectContractNames
.
innerHTML
=
''
this
.
selectContractNames
.
innerHTML
=
''
if
(
success
)
{
if
(
success
)
{
...
@@ -281,7 +280,7 @@ class ContractDropdownUI {
...
@@ -281,7 +280,7 @@ class ContractDropdownUI {
}
}
}
}
le
t
self
=
this
cons
t
self
=
this
var
promptCb
=
(
okCb
,
cancelCb
)
=>
{
var
promptCb
=
(
okCb
,
cancelCb
)
=>
{
modalDialogCustom
.
promptPassphrase
(
'Passphrase requested'
,
'Personal mode is enabled. Please provide passphrase of account'
,
''
,
okCb
,
cancelCb
)
modalDialogCustom
.
promptPassphrase
(
'Passphrase requested'
,
'Personal mode is enabled. Please provide passphrase of account'
,
''
,
okCb
,
cancelCb
)
...
...
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