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
389d1141
Commit
389d1141
authored
Jul 06, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed linting
parent
c8cea2c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
txExecution.ts
libs/remix-lib/src/execution/txExecution.ts
+2
-2
No files found.
libs/remix-lib/src/execution/txExecution.ts
View file @
389d1141
...
...
@@ -114,7 +114,7 @@ export function checkVMError (execResult, abi, contract) {
const
functionSignature
=
Object
.
keys
(
fn
.
functions
)[
0
]
// we check in the 'devdoc' if there's a developer documentation for this error
try
{
devdoc
=
(
contract
.
object
.
devdoc
.
errors
&&
contract
.
object
.
devdoc
.
errors
[
functionSignature
][
0
])
||
{}
devdoc
=
(
contract
.
object
.
devdoc
.
errors
&&
contract
.
object
.
devdoc
.
errors
[
functionSignature
][
0
])
||
{}
}
catch
(
e
)
{
console
.
error
(
e
.
message
)
}
...
...
@@ -130,7 +130,7 @@ export function checkVMError (execResult, abi, contract) {
for
(
const
input
of
functionDesc
.
inputs
)
{
const
inputKey
=
input
.
name
||
inputIndex
const
v
=
decodedCustomErrorInputs
[
inputKey
]
decodedCustomErrorInputsClean
[
inputKey
]
=
{
value
:
v
.
toString
?
v
.
toString
()
:
v
}
...
...
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