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
be97492b
Unverified
Commit
be97492b
authored
Apr 30, 2021
by
yann300
Committed by
GitHub
Apr 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show message if debugging on kovan (#1149)
fix
https://github.com/ethereum/remix-project/issues/459
parent
2446e23c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
debugger-ui.tsx
libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx
+13
-0
No files found.
libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx
View file @
be97492b
...
@@ -166,6 +166,19 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
...
@@ -166,6 +166,19 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
}
}
const
web3
=
await
debuggerModule
.
getDebugWeb3
()
const
web3
=
await
debuggerModule
.
getDebugWeb3
()
try
{
if
(
await
web3
.
eth
.
net
.
getId
()
===
42
)
{
setState
(
prevState
=>
{
return
{
...
prevState
,
validationError
:
'The Kovan network is unfortunately not supported.'
}
})
return
}
}
catch
(
e
)
{
console
.
error
(
e
)
}
let
currentReceipt
let
currentReceipt
try
{
try
{
currentReceipt
=
await
web3
.
eth
.
getTransactionReceipt
(
txNumber
)
currentReceipt
=
await
web3
.
eth
.
getTransactionReceipt
(
txNumber
)
...
...
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