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
29e01b6f
Commit
29e01b6f
authored
Aug 18, 2021
by
davidzagi93@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: now passing resolveData and logs from knownTransaction in Deploy tab
parent
ffb8e4c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
remix-ui-terminal.tsx
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
+5
-5
No files found.
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
View file @
29e01b6f
...
...
@@ -1281,9 +1281,9 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
}
}
const
render
KnownTransactions
=
(
tx
,
receipt
,
index
)
=>
{
const
render
UnKnownTransactions
=
(
tx
,
receipt
,
resolvedData
,
logs
,
index
)
=>
{
const
from
=
tx
.
from
const
to
=
tx
.
to
const
to
=
tx
.
to
?
tx
.
to
:
resolvedData
.
contractName
+
'.'
+
resolvedData
.
fn
const
obj
=
{
from
,
to
}
const
showDetails
=
showTableDetails
===
tx
.
from
const
txType
=
'unknown'
+
(
tx
.
isCall
?
'Call'
:
'Tx'
)
...
...
@@ -1308,9 +1308,9 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
to
,
gas
:
tx
.
gas
,
input
:
tx
.
input
,
'decoded input'
:
tx
.
resolvedData
&&
tx
.
resolvedData
.
params
?
JSON
.
stringify
(
typeConversion
.
stringify
(
tx
.
reso
params
),
null
,
'
\
t'
)
:
' - '
,
'decoded output'
:
tx
.
resolvedData
&&
tx
.
resolvedData
.
decodedReturnValue
?
JSON
.
stringify
(
typeConversion
.
stringify
(
tx
.
resolvedData
.
decodedReturnValue
),
null
,
'
\
t'
)
:
' - '
,
logs
:
tx
.
logs
,
'decoded input'
:
resolvedData
&&
resolvedData
.
params
?
JSON
.
stringify
(
typeConversion
.
stringify
(
resolvedData
.
params
),
null
,
'
\
t'
)
:
' - '
,
'decoded output'
:
resolvedData
&&
resolvedData
.
decodedReturnValue
?
JSON
.
stringify
(
typeConversion
.
stringify
(
resolvedData
.
decodedReturnValue
),
null
,
'
\
t'
)
:
' - '
,
logs
:
logs
,
val
:
tx
.
value
,
transactionCost
:
tx
.
transactionCost
,
executionCost
:
tx
.
executionCost
...
...
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