Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
de15b6e6
Commit
de15b6e6
authored
Nov 11, 2021
by
hezhengjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add test file
parent
c1cd62b7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
query_test.go
plugin/dapp/evm/executor/query_test.go
+0
-0
evmxgodb.go
plugin/dapp/evmxgo/executor/evmxgodb.go
+1
-1
parse.go
plugin/dapp/evmxgo/executor/parse.go
+1
-1
No files found.
plugin/dapp/evm/executor/query_test.go
0 → 100644
View file @
de15b6e6
This diff is collapsed.
Click to expand it.
plugin/dapp/evmxgo/executor/evmxgodb.go
View file @
de15b6e6
...
...
@@ -256,7 +256,7 @@ func (action *evmxgoAction) mint(mint *evmxgotypes.EvmxgoMint, tx2lock *types.Tr
return
nil
,
types
.
ErrInvalidParam
}
cfg
:=
action
.
api
.
GetConfig
()
if
err
:=
checkMin
e
Para
(
mint
,
tx2lock
);
nil
!=
err
{
if
err
:=
checkMin
t
Para
(
mint
,
tx2lock
);
nil
!=
err
{
return
nil
,
err
}
...
...
plugin/dapp/evmxgo/executor/parse.go
View file @
de15b6e6
...
...
@@ -16,7 +16,7 @@ const (
//solidity interface: function lock(address _recipient, address _token, uint256 _amount)
//铸币交易的接收人必须与发起lock交易时填写的接收地址一致
func
checkMin
e
Para
(
mint
*
evmxgotypes
.
EvmxgoMint
,
tx2lock
*
types
.
Transaction
)
error
{
func
checkMin
t
Para
(
mint
*
evmxgotypes
.
EvmxgoMint
,
tx2lock
*
types
.
Transaction
)
error
{
var
action
evmtypes
.
EVMContractAction
if
err
:=
types
.
Decode
(
tx2lock
.
Payload
,
&
action
);
nil
!=
err
{
return
err
...
...
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