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
bcc9b867
Commit
bcc9b867
authored
Aug 27, 2021
by
davidzagi93@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolving lint errors
parent
9ef31a57
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
terminalAction.ts
libs/remix-ui/terminal/src/lib/actions/terminalAction.ts
+0
-17
remix-ui-terminal.tsx
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
+0
-2
No files found.
libs/remix-ui/terminal/src/lib/actions/terminalAction.ts
View file @
bcc9b867
...
@@ -138,23 +138,6 @@ export const initListeningOnNetwork = (props, dispatch) => {
...
@@ -138,23 +138,6 @@ export const initListeningOnNetwork = (props, dispatch) => {
props
.
txListener
.
event
.
register
(
'newBlock'
,
(
block
)
=>
{
props
.
txListener
.
event
.
register
(
'newBlock'
,
(
block
)
=>
{
if
(
!
block
.
transactions
||
(
block
.
transactions
&&
!
block
.
transactions
.
length
))
{
if
(
!
block
.
transactions
||
(
block
.
transactions
&&
!
block
.
transactions
.
length
))
{
dispatch
({
type
:
'emptyBlock'
,
payload
:
{
message
:
0
}
})
dispatch
({
type
:
'emptyBlock'
,
payload
:
{
message
:
0
}
})
// registerCommandAction('emptyBlock', (args, cmds, append) => {
// const data = args[0]
// // // var el = renderEmptyBlock(this, data)
// // // append(el)
// }, { activate: true }, dispatch)
}
else
{
registerCommandAction
(
'knownTransaction'
,
function
(
args
)
{
var
data
=
args
[
0
]
// let el
// if (data.tx.isCall) {
// // el = renderCall(this, data)
// } else {
// // el = renderKnownTransaction(this, data, blockchain)
// }
// this.seen[data.tx.hash] = el
// append(el)
},
{
activate
:
true
},
dispatch
)
}
}
})
})
props
.
txListener
.
event
.
register
(
'knownTransaction'
,
(
block
)
=>
{
props
.
txListener
.
event
.
register
(
'knownTransaction'
,
(
block
)
=>
{
...
...
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
View file @
bcc9b867
...
@@ -144,7 +144,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
...
@@ -144,7 +144,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
if
(
cb
)
cb
()
if
(
cb
)
cb
()
return
return
}
}
newstate
.
commands
.
script
(
content
)
newstate
.
commands
.
script
(
content
)
}
}
...
@@ -783,7 +782,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
...
@@ -783,7 +782,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
const
to
=
resolvedData
.
contractName
+
'.'
+
resolvedData
.
fn
const
to
=
resolvedData
.
contractName
+
'.'
+
resolvedData
.
fn
const
from
=
tx
.
from
?
tx
.
from
:
' - '
const
from
=
tx
.
from
?
tx
.
from
:
' - '
const
input
=
tx
.
input
?
helper
.
shortenHexData
(
tx
.
input
)
:
''
const
input
=
tx
.
input
?
helper
.
shortenHexData
(
tx
.
input
)
:
''
const
obj
=
{
from
,
to
}
const
txType
=
'call'
const
txType
=
'call'
return
(
return
(
...
...
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