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
c5955640
Unverified
Commit
c5955640
authored
Oct 05, 2019
by
yann300
Committed by
GitHub
Oct 05, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1310 from ethereum/fix/#1199
bytecode updated after library linking
parents
cc32ab7d
201fdeab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
txFormat.js
remix-lib/src/execution/txFormat.js
+4
-1
No files found.
remix-lib/src/execution/txFormat.js
View file @
c5955640
...
@@ -308,7 +308,10 @@ module.exports = {
...
@@ -308,7 +308,10 @@ module.exports = {
if
(
bytecode
.
indexOf
(
'_'
)
>=
0
)
{
if
(
bytecode
.
indexOf
(
'_'
)
>=
0
)
{
this
.
linkBytecode
(
library
,
contracts
,
(
err
,
bytecode
)
=>
{
this
.
linkBytecode
(
library
,
contracts
,
(
err
,
bytecode
)
=>
{
if
(
err
)
callback
(
err
)
if
(
err
)
callback
(
err
)
else
this
.
deployLibrary
(
libraryName
,
libraryShortName
,
library
,
contracts
,
callback
,
callbackStep
,
callbackDeployLibrary
)
else
{
library
.
evm
.
bytecode
.
object
=
bytecode
this
.
deployLibrary
(
libraryName
,
libraryShortName
,
library
,
contracts
,
callback
,
callbackStep
,
callbackDeployLibrary
)
}
},
callbackStep
,
callbackDeployLibrary
)
},
callbackStep
,
callbackDeployLibrary
)
}
else
{
}
else
{
callbackStep
(
`creation of library
${
libraryName
}
pending...`
)
callbackStep
(
`creation of library
${
libraryName
}
pending...`
)
...
...
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