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
4e529855
Unverified
Commit
4e529855
authored
Dec 03, 2020
by
yann300
Committed by
GitHub
Dec 03, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #652 from ethereum/listenToOptimis
Listen to the optimism compiler
parents
0c6247dc
e966a40e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
compiler-artefacts.js
apps/remix-ide/src/app/compiler/compiler-artefacts.js
+5
-0
dropdownlogic.js
apps/remix-ide/src/app/tabs/runTab/model/dropdownlogic.js
+3
-0
No files found.
apps/remix-ide/src/app/compiler/compiler-artefacts.js
View file @
4e529855
...
@@ -46,6 +46,11 @@ module.exports = class CompilerArtefacts extends Plugin {
...
@@ -46,6 +46,11 @@ module.exports = class CompilerArtefacts extends Plugin {
this
.
compilersArtefacts
.
__last
=
new
CompilerAbstract
(
languageVersion
,
data
,
source
)
this
.
compilersArtefacts
.
__last
=
new
CompilerAbstract
(
languageVersion
,
data
,
source
)
saveCompilationPerFileResult
(
file
,
source
,
languageVersion
,
data
)
saveCompilationPerFileResult
(
file
,
source
,
languageVersion
,
data
)
})
})
this
.
on
(
'optimism-compiler'
,
'compilationFinished'
,
(
file
,
source
,
languageVersion
,
data
)
=>
{
this
.
compilersArtefacts
.
__last
=
new
CompilerAbstract
(
languageVersion
,
data
,
source
)
saveCompilationPerFileResult
(
file
,
source
,
languageVersion
,
data
)
})
}
}
getAllContractDatas
()
{
getAllContractDatas
()
{
...
...
apps/remix-ide/src/app/tabs/runTab/model/dropdownlogic.js
View file @
4e529855
...
@@ -37,6 +37,9 @@ class DropdownLogic {
...
@@ -37,6 +37,9 @@ class DropdownLogic {
this
.
runView
.
on
(
'yulp'
,
'compilationFinished'
,
(
file
,
source
,
languageVersion
,
data
)
=>
this
.
runView
.
on
(
'yulp'
,
'compilationFinished'
,
(
file
,
source
,
languageVersion
,
data
)
=>
broadcastCompilationResult
(
file
,
source
,
languageVersion
,
data
)
broadcastCompilationResult
(
file
,
source
,
languageVersion
,
data
)
)
)
this
.
runView
.
on
(
'optimism-compiler'
,
'compilationFinished'
,
(
file
,
source
,
languageVersion
,
data
)
=>
broadcastCompilationResult
(
file
,
source
,
languageVersion
,
data
)
)
}
}
loadContractFromAddress
(
address
,
confirmCb
,
cb
)
{
loadContractFromAddress
(
address
,
confirmCb
,
cb
)
{
...
...
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