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
c417f7f9
Commit
c417f7f9
authored
Aug 12, 2021
by
aniket-engg
Committed by
Aniket
Aug 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle contract with no console
parent
4ec137e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
blockchain.js
apps/remix-ide/src/blockchain/blockchain.js
+1
-1
transactions.ts
libs/remix-simulator/src/methods/transactions.ts
+1
-1
No files found.
apps/remix-ide/src/blockchain/blockchain.js
View file @
c417f7f9
...
...
@@ -500,7 +500,7 @@ class Blockchain extends Plugin {
if
(
isVM
)
{
const
hhlogs
=
await
this
.
web3
().
eth
.
getHHLogsForTx
(
txResult
.
transactionHash
)
if
(
hhlogs
&&
hhlogs
.
length
)
{
let
finalLogs
=
'
C
onsole.log:
\
n'
let
finalLogs
=
'
c
onsole.log:
\
n'
for
(
const
log
of
hhlogs
)
{
finalLogs
=
finalLogs
+
log
.
join
(
''
)
+
'
\
n'
}
...
...
libs/remix-simulator/src/methods/transactions.ts
View file @
c417f7f9
...
...
@@ -86,7 +86,7 @@ export class Transactions {
eth_getHHLogsForTx
(
payload
,
cb
)
{
const
txHash
=
payload
.
params
[
0
]
cb
(
null
,
this
.
vmContext
.
currentVm
.
web3vm
.
hhLogs
[
txHash
])
cb
(
null
,
this
.
vmContext
.
currentVm
.
web3vm
.
hhLogs
[
txHash
]
?
this
.
vmContext
.
currentVm
.
web3vm
.
hhLogs
[
txHash
]
:
[]
)
}
eth_getTransactionReceipt
(
payload
,
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